arm7_9_debug_entry() function
Handle an ARM7/9 target's entry into debug mode. The halt is cleared on the ARM. The JTAG queue is then executed and the reason for debug entry is examined. Once done, the target is verified to be halted and the processor is forced into ARM mode. The core registers are saved for the current core mode and the program counter (register 15) is updated as needed. The core registers and CPSR and SPSR are saved for restoration later.
Arguments
target
Pointer to target that is entering debug mode
Return value
Error code if anything fails, otherwise ERROR_OK
Functions calling arm7_9_debug_entry()
Functions called by arm7_9_debug_entry()
arm7_9_debug_entry()
Data read by arm7_9_debug_entry()
Data written by arm7_9_debug_entry()
arm7_9_debug_entry()
Type of arm7_9_debug_entry()
arm7_9_debug_entry()
uint32_t all items filtered out