Hi,
is it possible (working with MDK version 3.4) to tell the debugger, if a part of the code (e.g. sdram addr 0x20000100) will be written by the program code, the debugger should stop at this command?
best regards Alan
Breakpoints on memory access or so called watchpoints can be used to stop the program execution after the memory access occurred. Number and types of watchpoints depends on the core (ARM7/9, Cortex-M).
Breakpoints/watchpoints can be configured in the debugger from the command window with BS command (http://www.keil.com/support/man/docs/uv3/uv3_cm_breakset.htm) or from the Debug\Breakpoints dialog. Debug symbols can be used or memory addresses can be specified directly.
Example: To configure the debugger that the program stops when address 0x20000000 was written: just enter "BS WRITE 0x20000000" into the command window.
thank you for your help. It's working!