reset

Resets the target hardware.

Syntax
reset [h/ard|s/oft] [run]
Options
h/ard|s/oft

The type of reset, either hard or soft. If unspecified, the default depends on the hardware support. If soft is supported, then that is the default. Otherwise, if hard is supported, then that is the default.

run

Let's the target run after the reset, also called "reset to user". Otherwise, the target is halted at the reset vector.

Examples

The following table lists and defines examples of the reset command.

Table 1. reset Command-line debugger command - Examples
Command Description
reset Issues a soft reset if supported, otherwise a hard reset.
reset s Issues a soft reset.
reset hard Issues a hard reset.
reset run Issues a soft reset if supported, otherwise a hard reset. The target is allowed to run after the reset.