|ARM Technical Support Knowledge Articles|
Sometimes it is desirable to halt execution immediately after the core exits reset. This can be particularly important if your memory system does not contain valid code (executing instructions can result in random memory access leading to bus lock up).
To connect to (and halt) a target at the reset vector: Connect to the target in RVD using the No Reset / No Halt mode. Place a Hardware breakpoint at the reset vector and issue a reset command from the RVD CLI.
An example sequence is shown below:
> connect ,noreset ,nohalt "@ARM926EJ-S_0@RealView-ICE"
> bexec 0x0
Stopped on Reset of Target
Stopped at 0x00000000: _ENTRY_<entry point>
To reset a target once connected: Place a Hardware breakpoint at the reset vector and issue a reset command from the RVD CLI.
Note: The debugger relies on being able to independently assert the system reset line to the core via the JTAG connector to reset the core.
Article last edited on: 2011-08-16 16:55:43
Did you find this article helpful? Yes No
How can we improve this article?