1.3.3 Finishing Bootloader Setup
Finally, go back to the bootloader settings menu and disable the checksum command but leave the RESET and READ commands enabled for the bootloader for this example. This will allow the bootloader to reset the part after programming and will allow the 16 bit unified bootloader app at https://microchip.com/16-bit-bootloader to verify the contents of the flash after programming.
It's also advisable to disable the IOL1WAY Configuration Bit in the system mode (Config4 Register) as this could cause issues in the application. Otherwise, a warning will be asserted. Now generate and compile the project. This project will forward all interrupts to the application.