This example application shows how to use the Bootloader Library to bootload an application using UART protocol.
Bootloader Application
-
This is a bootloader application which resides from
-
The starting location of the flash memory region for SAM devices
-
The start of Program Flash memory for PIC32MX devices with 3KB bootflash memory
-
The starting location of the Boot flash memory region for PIC32MK, PIC32MX and PIC32MZ devices
-
-
It uses the Virtual Com port of the device (EDBG port or External USB to UART converters) to receive application binary from host PC
-
It calls the bootloader_Tasks() function which receives application to be programmed into flash memory over UART channel
-
Trigger Methods
-
It uses the On board Switch as bootloader trigger pin to force enter the bootloader at reset of device
-
It checks for bootloader request pattern (0x5048434D) from the starting 16 Bytes of RAM to force enter bootloader at reset of device
-
Test Application
-
This is a test application which resides from
-
The end of bootloader size in device flash memory for SAM devices
-
The end of bootloader size in Program Flash memory for PIC32MX devices with 3KB bootflash memory
-
The start of Program Flash memory for PIC32MK, PIC32MX and PIC32MZ devices
-
-
It will be loaded into flash memory by bootloader application
-
It blinks an LED and provides console output
-
It uses the On board Switch to trigger the bootloader from firmware (May not be supported on all devices)
- Once the switch is pressed it loads first 16 bytes of RAM with bootloader request pattern (0x5048434D) and resets the device
Development Kits
The following list provides links to documentation on how to build and run UART bootloader on different development kits
-
PIC32CM MC00 Curiosity Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
PIC32CZ-CA80 Curiosity Ultra board: Building and Running the UART Bootloader applications
-
PIC32MK GP Development Kit: Building and Running the UART Bootloader applications
-
PIC32MK MCJ Curiosity Pro: Building and Running the UART Bootloader applications
-
PIC32MK MCM Curiosity Pro Development Board: Building and Running the UART Bootloader applications
-
PIC32MM USB Curiosity Development Board: Building and Running the UART Bootloader applications
-
PIC32MX 1/2/5 Starter Kit: Building and Running the UART Bootloader applications
-
PIC32MX Curiosity Development Board: Building and Running the UART Bootloader applications
-
PIC32 WFI32E Curiosity Board: Building and Running the UART Bootloader applications
-
SAM C21N Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM D11 Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM D20 Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM D21 Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM DA1 Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM E54 Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM E70 Xplained Ultra Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM G55 Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM HA1G16A Xplained Pro: Building and Running the UART Bootloader applications
-
SAM L10 Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM L21 Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
SAM L22 Xplained Pro Evaluation Kit: Building and Running the UART Bootloader applications
-
PIC32CX WBZ451 Curiosity Board: Building and Running the UART Bootloader applications
Parent topic:MPLAB® Harmony Bootloader Application Examples for UART