ARM Technical Support Knowledge Articles

How do I halt execution at the reset vector ?

Applies to: RealView Development Suite (RVDS), RealView ICE and Trace (RVI / RVT)

Answer

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
> reset
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

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