Send a firmware image

After invoking the bootloader, a menu is sent out the UART at 115200 baud. To upload a firmware image through the UART interface:

  1. Look for the bootloader prompt BL > to ensure the bootloader is active.
  2. Send an ASCII 1 character to initiate a firmware update.
  3. After sending a 1, the device waits for an XModem CRC upload of a .gbl image over the serial line at 115200 baud. Send the .gbl file to the device using standard XMODEM-CRC.

If the firmware image is successfully loaded, the bootloader outputs a “complete” string. Invoke the newly loaded firmware by sending a 2 to the device.

If the firmware image is not successfully loaded, the bootloader outputs an "aborted string". It returns to the main bootloader menu. Some causes for failure are:

Error

Cause

Workaround

0x18

This error is observed when a serial upload attempt has been abruptly discontinued by invoking Ctrl+C and subsequently another attempt is made to upload a gbl by pressing 1 on the bootloader menu.

Press 2 on the bootloader menu. The bootloader performs a reboot and the menu gets displayed again. Now press 1 and begin uploading the gbl.