µVISION DEBUGGER: IMPORTING HEX FILE INTO XDATA MEMORY
Information in this article applies to:
I have an Intel HEX file that contains an image for xdata memory. Is there a way to load the HEX file into xdata memory in the µVision debugger?
Yes, the µVision simulator can load Intel HEX file contents into xdata memory. You must add the following extended Intel HEX-386 address record as first line to the Intel HEX file so the µVision debugger "knows" to load the file into xdata memory.
The SAVE command may be used to save xdata memory contents in a HEX-386 file. For example, the following command saves the xdata contents from X:0x0000-0x7FFF into a file. This file may be loaded in subsequent debug sessions to restore the xdata contents.
SAVE MyXdata.HEX X:0, X:0x7FFF
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Wednesday, June 21, 2006
of your data.