User Guide

Table Of Contents
Boot Loader Commands
42 Command Set
Boot Loader Commands
The BootLoader is automatically started upon power up, and allows access to the on-
board flash memory along with other commands. The program exits only when the Boot
Firmware command is received. Once that occurs, the firmware image starts executing
and sends back a reply to the Boot Firmware command. The BootLoader can also be
started using command 0x09, Start BootLoader.
The following table shows which commands are supported by the Boot loader and in
some cases the application.
Boot Loader Commands
OpCode Command Name Arguments Return BL App
0x02
Flash Read Sector (02h)
Address, Sector,
bytes
Data Y N
0x03
Get Boot Loader/Firmware
Version (03h)
none Acknowledge Y N
0x04
Boot Firmware (04h)
none Acknowledge Y N
0x06
Set Baud Rate (06h)
Baud Rate Acknowledge Y Y
0x07
Erase Flash Sector (07h)
Sector Number,
password
Ack Y N
0x08
Verify Image CRC (08h)
none Acknowledge Y N
0x09
Start Bootloader (09h)
none Acknowledge N Y
0x0C
Get Current Program (0Ch)
none 1 Byte indicating
program currently
running
YY
0x0D
Write Flash Sector (0Dh)
Sector enum, memory
offset, length, data to
write
none Y N
0x0E
Get Sector Size (0Eh)
Sector enum Size of sector in
bytes
YN
0x0F
Modify Flash Sector (0Fh)
Sector enum, memory
offset, length to read
Data in flash Y N