USB Library
Adding a boot loader to your project

The boot loader implementations available in the USB Library take a two application approach. What this means is that the boot loader and the application are development, compiled, and loaded separately. 

With this approach there are two separate linker scripts that are required, one for the boot loader, and one for the application. 

For the PIC24F applications intended to be used with a boot loader, all that is required is to attach the specific linker file designed for the applications of that boot loader to the project.

  • No modifications are required to the linker file. Just attach the provided application linker file to the application project without modification.
  • No modifications are required to the application code. Just write your code as you always would and attach the provided application linker file to the application project without modification.
The required application linker files are found in the folders that contain the targeted boot loaders. These linker files can be referenced directly from the application projects, or can be copied locally to the project folder. 

These provided linker files generate the required code to handle the reset and interrupt remapping sections that are required. 

 

MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla