Datasheet

Table Of Contents
PICkit™ Serial Analyzer User’s Guide
DS51647C-page 92 © 2009 Microchip Technology Inc.
TABLE 11-5: TAG BYTE 0x01 COMMAND CODES
TABLE 11-6: EXEC STATUS PACKET
Tag byte 0x02 writes the 24-byte CONTROL_BLOCK (the Exec portion of the control
block appears in Table 11-7).
CMD Description
0x00 Master Reset: Exec Reset, Comm Reset (idled)
0x01 Comm initialization: Comm is initialized as defined by CONTROL_BLOCK
0x02 Request EXEC_STATUS_PACKET (Ref. Table 11-6)
0x03 Save CONTROL_BLOCK to EEPROM
0x04 Restore CONTROL_BLOCK from EEPROM
0x05 Flush CBUF2
0x06 Comm Reset: rest buffers, clear status block (Comm hardware is not re-initialized)
Byte LEN Type Description
0 1 2 0x88 Packet ID = 0x01
2 4 3 0x81 Firmware Version
5 29 25 0x82 Control Block
30 50 21 0x83 Status Block
51 57 7 0x84 CBUF Status
TABLE 11-7: EXEC CONTROL BLOCK
Byte Bit Description
0 7:0 Exec control bits
0
1
2
3
4 1 = Disable default behavior – LED2
5 1 = Disable default behavior – LED1
6 1 = Flush CBUF2 on count (e.g., CBUF2 >= N bytes then flush)
7 1 = Flush CBUF2 on time intervals
17:0
0 1 = Enable switch test
1n/a
2n/a
3n/a
4n/a
5n/a
6n/a
7n/a
27:0
3 7:0 CBUF2 flush count threshold (e.g., CBUF2 > N bytes then
flush)
4 7:0 CBUF2 flush interval [res: 409 μs, min: 409 μs, max:
104 msec] a value of ‘0’ defaults to ‘1’, (i.e., the minimum)
57:0
67:0
77:0