The HID Bootloader for PIC24F has been reworked for the v2.6a release. The change involve how interrupt remapping is handled and how applications relocate their code to make room for the bootloader. Applications built with the v2.6 or earlier PIC24F compiler should continue using the v2.6 bootloader and support files. It is recommended for new projects that new bootloader and support files should be used.
In previous revisions of the stack there was a “PIC24F HID Bootloader Remapping.s” file that was added to any PIC24F project to relocate the application code out of the bootloader space. These files have been deprecated and should not be used with the new revision of the bootloader. Instead there is a custom linker script (boot_hid_p24fjxxxGBxxx.gld) file in the HID bootloader folder specifically designed for the application. These are located in the “Application Files” folder in each of the respective bootloader folders. Copy this file from this folder into the application folder and add it to the target project. All of the possible interrupts should already be remapped. To use an interrupt, merely define the interrupt handler as you normally would if you weren’t using a bootloader.
The bootloader for PIC18 and PIC32 devices were not modified.