An example bootloader using the 16-bit MCC bootloader and the CAN or CAN-FD peripheral.
https://www.microchip.com/16-bit-bootloader
See the README files associated with each folder that describe the required hardware, software, and setup instructions.