Keil Logo

GENERAL: DEBUGGING PROGRAMS IN FLASH USING A MONITOR


Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.02
  • C251 Version 2.14
  • C51 Version 5.50

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.

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Wednesday, June 9, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.