8.10.00 J-TRACE ARM Segger Microcontroller Systems, 8.10.00 J-TRACE ARM Datasheet - Page 163

JTAG EMULATOR ARM7/ARM9 ETM

8.10.00 J-TRACE ARM

Manufacturer Part Number
8.10.00 J-TRACE ARM
Description
JTAG EMULATOR ARM7/ARM9 ETM
Manufacturer
Segger Microcontroller Systems
Type
Emulatorr

Specifications of 8.10.00 J-TRACE ARM

Contents
Emulation Module
For Use With/related Products
ARM7, ARM9
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
899-1006
7.5.1
7.5.1.1 Fast GPIO bug
J-Link / J-Trace (UM08001)
If you experience problems with a particular device, do not hesitate to contact Seg-
ger.
The values of the fast GPIO registers can not be read direct via JTAG from a debug-
ger. The direct access to the registers corrupts the returned values. This means that
the values in the fast GPIO registers normally can not be checked or changed from a
debugger.
Solution / Workaround
J-Link supports command strings which can be used to read a memory area indirect.
Indirectly reading means that a small code snippet will be written into RAM of the
target device, which reads and transfers the data of the specified memory area to the
debugger. Indirectly reading solves the fast GPIO problem, because only direct regis-
ter access corrupts the register contents.
Define a 256 byte aligned area in RAM of the LPC target device with the J-Link com-
mand map ram and define afterwards the memory area which should be read indirect
with the command map indirectread to use the indirectly reading feature of J-Link.
Note that the data in the defined RAM area is saved and will be restored after using
the RAM area.
This information is applicable to the following devices:
Example
J-Link commands line options can be used for example with the C-SPY debugger of
the IAR Embedded Workbench. Open the Project options dialog and select Debug-
ger. Select Use command line options in the Extra Options tap and enter in the
textfield --jlink_exec_command "map ram 0x40000000-0x40003fff; map indirec-
tread 0x3fffc000-0x3fffcfff; map exclude 0x3fffd000-0x3fffffff;" as shown
in the screenshot below.
LPC2101
LPC2102
LPC2103
LPC213x/01
LPC214x (all devices)
LPC23xx (all devices)
LPC24xx (all devices)
LPC
© 2004-2011 SEGGER Microcontroller GmbH & Co. KG
163

Related parts for 8.10.00 J-TRACE ARM