User Guide

Table Of Contents
Boot Loader Commands
Command Set 47
Erase Flash Sector (07h)
The Erase Flash Sector command erases the sector specified by the sector number. as
defined by
Flash Memory Sector Mapping.
The following example shows the command to erase sector 2 of the flash.
Verify Image CRC (08h)
After uploading a new application firmware image, the application CRC can be checked
with the Verify Image CRC command. The application CRC is already embedded in the
firmware image, so this command calculates the firmware’s CRC in flash and compares it
to the pre-stored value. It returns a fault code if the application firmware fails the CRC
checks. A failed CRC means that the application cannot run, and needs to be
downloaded again.
The boot loader runs this command automatically before loading the application the first
time it is l run. If the CRC check fails, the boot loader does not run the application to
prevent corrupted code from executing on the Microprocessor. Subsequent invocations
will not verify the CRC since the flash is locked.
Start Bootloader (09h)
The Start Bootloader command shuts off the analog board and starts the boot loader
while inside the application. This is necessary to perform an upgrade of the firmware
while the system is running.
FF 05 07 08 95 91 21 02 7F 91
SOH Length OpCode Password Sector CRC
FF 00 08 1D 07
SOH Length OpCode CRC
FF 00 09 1D 06
SOH Length OpCode CRC