This repository covers boot loading and firmware update solutions using the Universal Host Bootloading Application (UBHA) protocol/tool. For many dsPIC devices, this is supported through the MPLAB(R) Code Configurator (MCC). MCC can be used to generate code examples for various supported devices and provide customization and configuration options not present in the examples on this site.
NOTE: For dsPIC33A family boot loading and firmware update solutions, refer to dspic-bootloader-mdfu repository.
NOTE: For dsPIC Microchip Device Firmware Update (MDFU) based solutions, refer to dspic-bootloader-mdfu repository.
An example bootloader using the 16-bit MCC bootloader and the CAN or CAN-FD peripheral on the dsPIC33 Touch CAN LIN Curiosity Development board demonstrating the following:
- Immutable secure boot via CodeGuard
- A/B type boot loading with Flash partitioning to support two firmware images and anti-roll back
- Secure boot authentication via ECDSA signature verification
- Secure firmware update via CAN-FD
- Crypto acceleration via TA100
- (Optional) Permanent flash memory locking via ICSP inhibit
See secure_boot_and_secure_firmware_upgrade_over_canfd and the associated README.md files for details on the required hardware, software, setup, and how to run the demo.
MPLAB is a registered trademark of Microchip Technology Inc.