ARM Technical Support Knowledge Articles

DEBUGGING AN EXISTING HEX FILE

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

I have an existing HEX file that I want to simulate using the uVision Debugger.

  1. Will the uVision Debugger let me do this?
  2. If so, how do I start the debugger for a HEX file?

ANSWER

Yes, the uVision Debugger allows you to simulate the code in an Intel HEX file. To do this, you must perform the following steps:

  1. Start the uVision IDE and create a new project.
  2. When you are prompted to select a chip from the device database, select the chip that you use on the actual hardware. This chip is used to select the simulation driver used by the debugger.
  3. You do not need to add any files to the project.
  4. Select Options for Target from the Project menu.
  5. Click on the Debug tab.
  6. On the left side of the dialog box (under simulation) uncheck Load Application at Startup. Click OK.
  7. Select Start Debug Session from the Debug menu.
  8. In the Command Window, enter load myfile.hex where myfile.hex is the name of the HEX file you want to test.

SEE ALSO

Article last edited on: 2004-11-08 11:07:47

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