885
On-Chip Debug Unit
Chapter 28
Preliminary User’s Manual U17566EE1V2UM00
Figure 28-2
Start with N-Wire activation
28.3.3
N-Wire activation by RESET pin
The N-Wire interface can also be activated after power up by keeping RESET
active for at least 2 sec after RESPOC release. By this OCDM.OCDM0 is set
to "1", thus the N-Wire interface is enabled.
With this method the user's program does not need to perform
OCDM.OCDM0 = 1.
Figure 28-3
N-Wire activation by RESET pin
normal operation
Debug
RESET
Application software
sets OCDM.OCDM0=1
Debugger starts
PC = 0
XXXXXXXXXXXXXX
RESPOC
OCDM0
P05/DRST
reset
“0”
“1”
>= 2000ms
“0”
“1”
reset
debug
normal operation
RESET
RESPOC
OCDM0
P05/DRST
XXXXXXXXX
Debugger starts
PC = 0
electronic components distributor