| Documentation |
|---|
| Related products |
|---|
| USB-I2C/SPI/GPIO Adapter - U2C-12 |
| USB-IO Interface Adapter - GPIO-12 |
BOOT_WRITE_ID command is used to write data into ID Locations of PIC microcontroller.
Eight memory locations (200000h-200007h) are designated as ID locations, where the you can store checksum or other code identification numbers.
Before sending the given command you have to fill in boot_cmd_write_id structure:
Fields assignment:
Command code; the given field must be initialized by BOOT_WRITE_ID constant value.
Package ID. Its value is selected arbitrarily before the command is sent. In the simplest case it is a counter value, increased by one while sending every new command. Bootloader does not analyze this field value. It simply copies it into response. Therefore, when response received, PC program can connect this response to previously sent command.
Not used
Data to be written into the PIC microcontroller ID locations.