ARM Technical Support Knowledge Articles

DEBUGGING PROGRAMS IN FLASH USING A MONITOR

Applies to: General Topics

Answer


Information in this article applies to:


QUESTION

Is it possible for me to use the Monitor to debug my program stored in Flash memory?

ANSWER

No it isn't. In order to use the Monitor, your program must be stored in writeable, executable memory. The reason is the Monitor needs to treat your code as data in order to implement such things as breakpoints.

With the 8051, you can turn your RAM into executable memory by combining the /WR /RD and /PSEN signals appropriately into a chip select signal.

Article last edited on: 2004-06-09 18:36: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