
PICkit? Serial Analyzer Firmware
TABLE 9-3:
STATUS BLOCK
0-3
4-11
12-19
TAG Bytes
Definition
EXEC section
Generic COMM section
Protocol specific communication section
9.4
EXEC
The EXEC module will directly decode the data stream from the host. The list of differ-
ent commands is shown in Table 9-4. Every data stream from the software to the
PICkit? Serial Analyzer begins with one of the following EXEC command TAG bytes.
TABLE 9-4:
EXEC COMMAND (ECMD) TAG BYTES
TAG/ECMD
0x00
0x01
LEN
1
1
Name
END OF DATA
COMMAND
Description
Marks the end of valid data
TAG
0
Executive command
TAG
0
Command byte (see
1
0x02
25
CONTROL_BLOCK_WRITE Write control block to PIC ? MCU
TAG
0
1:24
Control block
0x03
N+2
CBUF1_WRITE
Write data to circular buffer 1
TAG
0
Byte count (N)
1
2 : N+1 Data
0x04
N+2
CBUF2_WRITE
Write data to circular buffer 2
TAG
0
Byte count (N)
1
2 : N+1 Data
0x05
N+2
CBUF3_WRITE
Write data to circular buffer 3
TAG
0
Byte count (N)
1
2 : N+1 Data
0x06
0x07
2
2
LED1_CONFIG
LED2_CONFIG
Configure LED 1
TAG
0
Configuration Byte
1
Configure LED 2
TAG
0
Configuration byte
1
TAG byte 0x01 signifies that the following byte is one of the commands listed in
? 2007 Microchip Technology Inc.
DS51647A-page 75