arm7_9_soft_reset_halt() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDarm7_9_soft_reset_halt()

arm7_9_soft_reset_halt() function

Issue a software reset and halt to an ARM7/9 target. The target is halted and then there is a wait until the processor shows the halt. This wait can timeout and results in an error being returned. The software reset involves clearing the halt, updating the debug control register, changing to ARM mode, reset of the program counter, and reset of all of the registers.

Syntax

int arm7_9_soft_reset_halt(struct target *target);
Implemented in arm7_9_common.c:1062

Arguments

target

Pointer to the ARM7/9 target to be reset and halted by software

Return value

Error status if any of the commands fail, otherwise ERROR_OK

References

LocationText
arm7_9_common.c:1062
int arm7_9_soft_reset_halt(struct target *target)
arm7_9_common.h:145
int arm7_9_soft_reset_halt(struct target *target);
arm7tdmi.c:698
.soft_reset_halt = arm7_9_soft_reset_halt,
arm946e.c:752
.soft_reset_halt = arm7_9_soft_reset_halt,
arm966e.c:259
.soft_reset_halt = arm7_9_soft_reset_halt,
arm9tdmi.c:902
.soft_reset_halt = arm7_9_soft_reset_halt,
feroceon.c:744
.soft_reset_halt = arm7_9_soft_reset_halt,

Call Tree

Data read by arm7_9_soft_reset_halt()
Data written by arm7_9_soft_reset_halt()
arm7_9_soft_reset_halt()::arm7_9
arm7_9_soft_reset_halt()::arm
arm7_9_soft_reset_halt()::dbg_stat
arm7_9_soft_reset_halt()::dbg_ctrl
arm7_9_soft_reset_halt()::i
arm7_9_soft_reset_halt()::retval
arm7_9_soft_reset_halt()::then
arm7_9_soft_reset_halt()::timeout
arm7_9_soft_reset_halt()::cpsr
arm7_9_soft_reset_halt()::r
all items filtered out
arm7_9_soft_reset_halt()
arm7_9_soft_reset_halt()::i
arm7_9_soft_reset_halt()::retval
arm7_9_soft_reset_halt()::timeout
arm7_9_soft_reset_halt()::cpsr
all items filtered out
Implementations
arm7_9_soft_reset_halt()
all items filtered out
Type of arm7_9_soft_reset_halt()
arm7_9_soft_reset_halt()
uint32_t
all items filtered out