10.1 Four-Wire Interface
The following steps are required to enter Serial Execution mode:
Note: The assumption is that the MCLR pin
has been driven low from the previous check device status step (see Figure 8-1).
SendCommand (MTAP_SW_MTAP)
.- SetMode
(6’b011111).
SendCommand (MTAP_COMMAND)
.- statusVal = XferData
(MCHP_STATUS)
. - If CPS (statusVal[7]) is not
‘
1
’, first, erase the device. SendCommand (MTAP_SW_ETAP)
.- SetMode
(6’b011111)
. SendCommand (ETAP_EJTAGBOOT)
.- Set the MCLR pin high.