Datasheet

Table Of Contents
PICkit™ Serial Analyzer Firmware
© 2009 Microchip Technology Inc. DS51647C-page 91
TABLE 11-3: STATUS BLOCK
11.4 EXEC
The Exec module will directly decode the data stream from the host. The list of different
commands is shown in Table 11-4. Every data stream from the software to the PICkit™
Serial Analyzer begins with one of the following Exec command Tag bytes.
TABLE 11-4: EXEC COMMAND (ECMD) TAG BYTES
Tag byte 0x01 signifies that the following byte is one of the commands listed in
Table 11-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 Ta g
0x01 1 COMMAND Executive command
0 Ta g
1 Command byte (see
Table 11-5)
0x02 25 CONTROL_BLOCK_WRITE Write control block to PIC
®
MCU
0 Ta g
1:24 Control block
0x03 N+2 CBUF1_WRITE Write data to circular buffer 1
0 Ta g
1 Byte count (N)
2 : N+1 Data
0x04 N+2 CBUF2_WRITE Write data to circular buffer 2
0 Ta g
1 Byte count (N)
2 : N+1 Data
0x05 N+2 CBUF3_WRITE Write data to circular buffer 3
0 Ta g
1 Byte count (N)
2 : N+1 Data
0x06 2 LED1_CONFIG Configure LED 1
0 Ta g
1 Configuration Byte
0x07 2 LED2_CONFIG Configure LED 2
0 Ta g
1 Configuration byte