10.2 Two-Wire Interface
The following steps are required to enter Serial Execution mode:
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. - XferData
(MCHP_ASSERT_RST)
. SendCommand (MTAP_SW_ETAP)
.- SetMode
(6’b011111)
. SendCommand (ETAP_EJTAGBOOT)
.SendCommand (MTAP_SW_MTAP)
.- SetMode
(6’b011111)
. SendCommand (MTAP_COMMAND)
.- XferData
(MCHP_DE_ASSERT_RST)
. - XferData
(MCHP_FLASH_ENABLE)
.Note: This step is required for the PIC32MX family devices. SendCommand (MTAP_SW_ETAP)
.- SetMode
(6’b011111)
.