Skip to content

microchip-pic-avr-examples/dspic33-dsc-bootloader-code-examples

Repository files navigation

Microchip Logo.

Overview

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.

dsPIC33 CAN/CAN-FD Bootloader Demo

Summary

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

Related Documentation

Setup And Operation

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.

Trademark

MPLAB is a registered trademark of Microchip Technology Inc.

About

dsPIC33 DSC Bootloader Code Examples

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5