6.1 Operation Sequences
Following is the SW-DP sequence:
- Perform a line Reset (refer to Device Reset).
- Enter into the SW-DP mode by following initialization (see SW-DP section).
Once access to SW-DP is enabled, the debugger can access the MEM-AP.
Following is the MEM-AP sequence:
- Get Device ID.
- Get code protection and secure device status.
- Read memory (each area of memory (SRAM, peripheral registers, Flash, eFuse) requires programming operations to access).
- Write memory (each area of memory (SRAM, peripheral registers, Flash, eFuse) requires programming operations to access).
- Read Debug Halting Control and Status Register (DHCRS).