ULINK: SAVE MEMORY CONTENTS TO A FILE
Information in this article applies to:
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.
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:
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Tuesday, March 23, 2010
of your data.