5-2
MC9328MX1 Reference Manual
MOTOROLA
Embedded Trace Macrocell (ETM)
5.2 Programming and Reading ETM Registers
All registers in the ETM9 are programmed through a JTAG interface. The interface is an extension of the
ARM920T processor’s TAP controller, and is assigned scan chain 6. The scan chain consists of a 40-bit
shift register comprising:
•
32-bit data field
•
7-bit address field
•
A read/write bit
The data to be written is scanned into the 32-bit data field, the address of the register into the 7-bit address
field, and 1 into the read/write bit.
A register is read by scanning its address into the address field and a 0 into the read/write bit. The 32-bit
data field is ignored. A read or a write takes place when the TAP controller enters the UPDATE-DR state.
For further details of ETM registers, see the Embedded Trace Macrocell specification.
5.3 Pin Configuration for ETM
The ETM module uses 13 pins on the MC9328MX1. These pins are multiplexed with other functions on
the device, and must be configured for ETM operation. Table 5-1 identifies the pin configuration, however,
only the 5 pins of the 13 that are multiplexed are shown.
NOTE:
The user must ensure that the data direction bits in the GPIO are set to the
correct direction for proper operation. See Section 32.5.1, “Data Direction
Registers,” on page 32-9 for details.
Table 5-1. ETM Pin Configuration
Pin
Setting
Configuration Procedure
ETMTRACESYNC
Alternate function of
GPIO Port A [0]
1. Clear bit 0 of Port A GPIO In Use Register (GIUS_A)
2. Set bit 0 of Port A General Purpose Register (GPR_A)
ETMTRACECLK
Alternate function of
GPIO Port A [31]
1. Clear bit 31 of Port A GPIO In Use Register (GIUS_A)
2. Set bit 31 of Port A General Purpose Register (GPR_A)
ETMPIPESTAT
[2:0]
Alternate function of
GPIO Port A [30:28]
1. Clear bits [30:28] of Port A GPIO In Use Register (GIUS_A)
2. Set bits [30:28] of Port A General Purpose Register (GPR_A)
ETMTRACEPKT
[7:4]
Alternate function of
GPIO Port A [20:17]
1. Clear bits [20:17] of Port A GPIO In Use Register (GIUS_A)
2. Set bits [20:17] of Port A General Purpose Register (GPR_A)
ETMTRACEPKT
[3:0]
Alternate function of
GPIO Port A [27:24]
1. Clear bits [27:24] of Port A GPIO In Use Register (GIUS_A)
2. Set bits [27:24] of Port A General Purpose Register (GPR_A)
Содержание DragonBall MC9328MX1
Страница 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Страница 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Страница 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Страница 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Страница 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Страница 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Страница 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Страница 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Страница 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Страница 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Страница 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Страница 542: ...20 64 MC9328MX1 Reference Manual MOTOROLA Multimedia Card Secure Digital Host Controller Module MMC SD ...
Страница 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Страница 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Страница 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Страница 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Страница 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Страница 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Страница 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Страница 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...