Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

1.6.3 Device - Boot Loader - HID
An example boot loader using the HID device class.
Description
Supported Demo Boards
The matrix of which demos are supported on a specific board can be found in the Release Notes demo board support
section. Verify that the board you wish to use will work with this demo. This table also describes some of the limitations that
the board might have while running this demo.
Demo Operation
Included with the MCHPFSUSB HID Bootloader firmware is a simple PC-side host application. This application implements a
basic set of commands, allowing a user to invoke the bootloader on an appropriately-programmed PIC microcontroller and
program new application code. The bootloader host application interface looks as shown in figure below:
Using the application is straightforward. After launching the host application, connect the hardware containing a PIC
microcontroller with the bootloader already programmed to the host PC with a USB cable. The host responds by
enumerating the hardware as a HID class device; the host application responds with the message ‘Device Attached’ and
enabling several options.
NOTE: The host application, like the rest of the HID bootloader, is an example application; it should be thought of as a
framework for development. Users may want to consider modifying the interface or its functions to suit their own purpose.
The host application supports the following functions:
Import Firmware Image: selects a HEX image file on the PC to be loaded onto the microcontroller, using the standard
Windows File Open dialog. The file is stored in the host’s internal buffer.
1.6 Demos MLA - USB Library Help Device - Boot Loader - HID
239

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh