reset ['run'|'halt'|'init'|'run_and_halt'|'run_and_init']
Do a hard-reset. The optional parameter specifies what should happen after the reset. This optional parameter overwrites the setting specified in the configuration file, making the new behaviour the default for the 'reset' command.
What is meant by a "hard-reset"? In the AT91SAM7_, the reset pin (which is typically connected to the JTAG SRST line) is disabled by default. If the processor's reset line is disabled, there must be some other instruction telling the core to halt and reset.
This may explain what I am seeing: The core halts, but since the rest of the processor never gets the reset signal, none of the peripherals are reset. The soft_reset_halt doesn't reset the peripherals either.
What I would like to achieve with OpenOCD is a "reset" that is identical to a power-on reset, with the processeor in it's default startup mode, halted, waiting to run the first instruction at 0x0. Must I have the reset pin enabled to do this sort of reset over JTAG?
- Joe