User manual
PICkit™ Serial Analyzer Firmware
© 2007 Microchip Technology Inc. DS51647A-page 75
TABLE 9-3: STATUS BLOCK
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 byte 0x01 signifies that the following byte is one of the commands listed in
Table 9-5.
TAG Bytes Definition
0-3 EXEC section
4-11 Generic COMM section
12-19 Protocol specific communication section
TAG/ECMD LEN Name Description
0x00 1 END OF DATA Marks the end of valid data
0 TAG
0x01 1 COMMAND Executive command
0 TAG
1 Command byte (see
Table 9-5)
0x02 25 CONTROL_BLOCK_WRITE Write control block to PIC
®
MCU
0 TAG
1:24 Control block
0x03 N+2 CBUF1_WRITE Write data to circular buffer 1
0 TAG
1 Byte count (N)
2 : N+1 Data
0x04 N+2 CBUF2_WRITE Write data to circular buffer 2
0 TAG
1 Byte count (N)
2 : N+1 Data
0x05 N+2 CBUF3_WRITE Write data to circular buffer 3
0 TAG
1 Byte count (N)
2 : N+1 Data
0x06 2 LED1_CONFIG Configure LED 1
0 TAG
1 Configuration Byte
0x07 2 LED2_CONFIG Configure LED 2
0 TAG
1 Configuration byte