24.10.2012 Views

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

J-Link / J-Trace User Guide (UM08001) - Microcontrollers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

210 CHAPTER 11 Support and FAQs<br />

A: J-<strong>Link</strong> / J-<strong>Trace</strong> handles cache cleaning directly through JTAG commands. Unlike<br />

other emulators, it does not have to download code to the target system. This<br />

makes setting up J-<strong>Link</strong> / J-<strong>Trace</strong> easier. Therefore, a cache clean area is not<br />

required.<br />

Registers on ARM 7 / ARM 9 targets<br />

Q: I’m running J-<strong>Link</strong>.exe in parallel to my debugger, on an ARM 7 target. I can read<br />

memory okay, but the processor registers are different. Is this normal?<br />

A: If memory on an ARM 7/9 target is read or written the processor registers are<br />

modified. When memory read or write operations are performed, J-<strong>Link</strong> preserves<br />

the register values before they are modified. The register values shown in the<br />

debugger’s register window are the preserved ones. If now a second instance, in<br />

this case J-<strong>Link</strong>.exe, reads the processor registers, it reads the values from the<br />

hardware, which are the modified ones. This is why it shows different register values.<br />

J-<strong>Link</strong> / J-<strong>Trace</strong> (<strong>UM08001</strong>) © 2004-2010 SEGGER Microcontroller GmbH & Co. KG

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!