One of the advantages of Microchipís PIC
Æ
micro-
controllers with self-programmable enhanced Flash
memory is the ability to implement a bootloader. This
allows designers to implement applications that can be
updated many times over, potentially extending the
applicationís useful lifetime.
This application note describes a serial bootloader for
16-bit PIC24F devices using the UART module as a
communication channel. The bootloader application
uses the communication protocols originally outlined in
Microchip Application Note AN851, ìA Flash Bootloader
for PIC16 and PIC18 Devicesî . Some modifications to
the original protocol have been made to maintain
compatibility with the PIC24 architecture. It has also
been redesigned to accommodate the current genera-
tion of PIC24FJ Flash microcontrollers, as well as the
next generation of PIC24F devices. AN1157
A Serial Bootloader for PIC24F Devices
Author: Brant Ivey FIGURE 1: BOOTLOADER FUNCTIONAL
Microchip Technology Inc. BLOCK DIAGRAM
Bootloader
Firmware
INTRODUCTION UxRX UxTX
One of the advantages of Microchip’s PIC micro-
controllers with self-programma……