ARM Technical Support Knowledge Articles

SAVE MEMORY CONTENTS TO A FILE

Applies to: ULINK USB-JTAG Debugger

Answer


Information in this article applies to:


QUESTION

Is it possible to dump or save the contents of target memory using the ULINK with µVision? I have an application that modifies pieces of the memory and I need to verify if the modifications are done correctly by reading out the memory of my application.

ANSWER

Yes, it is possible using ULINK. To ensure that ULINK reads the memory contents of the target system, you need to disable all Cache Options under Project — Options for Target — ULINK Settings.

If you wish to check the memory contents before the program runs (its state after reset), under Project — Options for Target — 'Settings' tab uncheck Run to main().

To prevent the debugger from overwriting the program currently on the device, under Project — Options for Target — 'Utilities' tab make sure Update Target before Debugging is unchecked.

Make sure your ULINK settings are correctly configured, and start the debugger.

Depending on the type of output file desired, you may use the following µVision commands:

MORE INFORMATION

SEE ALSO

Article last edited on: 2010-03-23 10:14:30

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential