Preprogrammed Firmware
©
2009 Microchip Technology Inc.
DS51806A-page 20
MPLAB IDE can be used to create these firmware image files by:
1.
Building a firmware project and using a modified linker script necessary for the
bootloader.
2.
Selecting File>Export and specifying the file format, INHX32.
By default, the precompiled demo
.hex
files included in the MCHPFSUSB Framework
distribution can be programmed using the USB bootloader application. The demo’s
firmware projects were created using the appropriately modified linker script, so the
demos should work directly with the bootloader.
Programming a new firmware image using the bootloader does not erase or overwrite
the bootloader firmware inside the microcontroller. To execute newly programmed firm-
ware with the bootloader application, reset the microcontroller by pressing the MCLR
push button.
For more details on using the HID USB bootloader, see the getting started guide for the
bootloader in the MCHPFSUSB Framework documentation directory. If the default
installation was used, that document is in the following directory:
C:\Microchip Solutions\Microchip\Usb\Documentation\Getting Started