English
Language : 

PIC32MX795F512L-80IPT Datasheet, PDF (16/68 Pages) Microchip Technology – PIC32 Flash Programming Specification
PIC32
6.2 SendCommand Pseudo Operation
Format:
SendCommand (command)
Purpose:
To send a command to select a specific TAP register.
Description (in sequence):
1. The TMS Header is clocked into the device to
select the Shift IR state
2. The command is clocked into the device on
TDI while holding signal TMS low.
3. The last Most Significant bit (MSb) of the
command is clocked in while setting TMS
high.
4. The TMS Footer is clocked in on TMS to return
the TAP controller to the Run/Test Idle state.
Restrictions:
None.
Example:
SendCommand (5’h0x07)
FIGURE 6-3:
SendCommand 4-WIRE
TMS Header = 1100
Command (MSb)
Command = 5’h0x07 + TMS = 1
TMS Footer = 10
TCK
TMS
‘1’
‘1’
‘0’
‘0’
‘1’
‘1’
‘0’
TDI
iLSb
iMSb
TDO
1
x
FIGURE 6-4:
SendCommand 2-WIRE (4-PHASE)
TMS Header = 1100 Command (5’h0x07) + TMS = 0 Command (MSb) + TMS = 1
TMS Footer = 10
PGECx
PGEDx TDI = 0 TMS = 1
TDO = x
TDI = iLSb TMS = 0
TDO = x TDI = iMSb TMS = 1
TDO = x
TDI = 0 TMS = 1
TDO = x
DS61145L-page 16
 2007-2013 Microchip Technology Inc.