Jump to main content

##

# 1.6.1 How the USB Device HID Bootloader library works

The USB Device HID Bootloader firmware communicates with the Unified Host application running on Host PC by using a predefined communication protocol.

The USB Device HID Bootloader works in two different modes

Basic Mode

- This mode is supported for all the devices

- Resides from

  - The starting location of the flash memory region for CORTEX-M based MCUs

  - The starting location of the Boot flash memory region or Program flash memory region for MIPS based MCUs devices

- The Bootloader performs flash erase/program/verify operations with the application hex sent from host PC using the Unified Bootloader Host Application while in the firmware upgrade mode

  - Bootloader always performs flash operation from the address received via hex record

  - The application can use the entire flash memory region starting from the end of bootloader space

- Jumps to the application once programming is completed

Live Update Mode

- This mode is supported for the devices which have a Dual Bank flash memory

- Resides from

  - The starting location of the flash memory region of both the banks on CORTEX-M based MCUs along with application code

  - The starting location of the Program flash memory region of both the banks for MIPS based MCUs devices along with application code

- The Bootloader task performs flash erase/program/verify operations with the application hex sent from host PC using the Unified Bootloader Host Application in the Inactive bank

- Performs a bank swap and reset to run the application programmed in inactive bank on application task request