ARM Technical Support Knowledge Articles

SOURCE LEVEL DEBUG DOES NOT WORK IN FLASH

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

My application is downloaded to Flash before I start debugging. When I start the debugging mode, I can only work in the disassembly window. It is not possible to set breakpoints in the source modules or see any variable in the watch window.

ANSWER

Most likely you have not loaded the application into the µVision debugger. If the application is not loaded, there is no debugging information available. To enable it, go to Options for Target — Debug and check the box Load Application at Startup below your target driver's name. After restarting the debugger, you should be able to see a dark gray coloring to the left of each downloaded source line.

Note: The option Load Application at Startup does not handle the flashing process.

If you want the application to be downloaded to flash automatically before debugging, go to Options for Target — Utilities and check Update Target before Debugging.

MORE INFORMATION

Article last edited on: 2007-01-16 11:53:06

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