Vault 7: Projects

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

1.7 Appendix (FAQs, Important Information,
Reference Material, etc.)
This section contains other useful information about various topics and more detailed information about topics already
presented in the help document.
Description
1.7.1 Using breakpoints in USB host applications
This section describes how to use breakpoints when running a USB host application without causing communication issues.
Description
This section describes how to use breakpoints when running a USB host application without causing communication issues.
USB has a periodic packet that is sent on the bus once every millisecond, called the start of frame (SOF) packet, that is used
to keep the bus from going into an idle/suspended state. When a the microcontroller hits a breakpoint, both the CPU and the
modules on the device stop operation. This will cause the attached USB device to enter the suspend mode. Some
programmers implement a method that allows specified peripherals to continue to run even after a breakpoint occurs. This
section describes how to enable this feature for the USB peripheral on PIC24F and PIC32 devices.
MPLAB v8.x
1) Select the desired debugger from the debugger menu
2) Go to the “Debugger->Settings” menu option
3) Go to the Freeze on Halt tab. For PIC24F devices, uncheck the UCNFG1 box. For PIC32 devices, uncheck the “All other
peripherals” box located below the scrolling menu.
1.7 Appendix (FAQs, Important MLA - USB Library Help Using breakpoints in USB host
290

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh