Keil Logo

µVISION DEBUGGER: MODIFYING MEMORY WHILE USING THE MONITOR


Information in this article applies to:

  • C166 Version 4.03

QUESTION

When debugging with the Monitor, is it possible to stop execution, modify a memory location, then resume execution?

ANSWER

Yes.

For example you may have declared the global char variable 'foo' and by looking at the symbol table in the map file you see it was located at 21000H. You can stop execution and type something like the following into the Command window:

ENTER CHAR 0x21000 = 0xAA

then resume execution. The value of foo would be changed to AAH.

MORE INFORMATION

  • Refer to page 219 in the dScope for Windows manual (01.97) for more information on the ENTER command.

Last Reviewed: Tuesday, July 19, 2005


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.