ARM Technical Support Knowledge Articles

MODIFYING MEMORY WHILE USING THE MONITOR

Applies to: uVision Debugger

Answer


Information in this article applies to:


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

Article last edited on: 2005-07-19 10:22: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