# Vault 7: Projects

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

### Protego

# MLA -- USB Library

20 December, 2013

- 1
- 2
…
- 22
- 23
- 24
- 25
- 26
…
- 311
- 312

• Stack files affected: usb_device_msd.c, usb_device_msd.h
15. Change to CDC device driver to allow handling of terminated transfers.
• Stack files affected: usb_device_cdc.c
1.3.1.13 v2.8
1. Fixed issue with SetFeature(ENDPOINT_HALT) handling in the device stack. Error could cause one packet of data to get
lost per endpoint after clearing a ENDPOINT_HALT event on an endpoint. Issue could also cause the user to lose control
of endpoints that may not have been enabled before the SetFeature(ENDPOINT_HALT) was received. Parts of the issue
described in the following forum thread: http://www.microchip.com/forums/tm.aspx?m=503200.
• Stack files affected: usb_device.c
2. Fixed stability issue in device stack when interrupts enabled related to the improper enabling of the interrupt control bits in
an interrupt context.
• Stack files affected: usb_device.c
3. Fixed issue STALLs were not handled correctly when event transfers are enabled. This could result in the attached device
remaining in a non-responsive state where their endpoints are STALLed.
• Stack files affected: usb_host_msd.c
4. Fixed issue where MSD function driver could not always reinitialize itself to a known state.
• Stack files affected: usb_function_msd.c
5. Added USBCtrlEPAllowStatusStage(), USBDeferStatusStage(), USBCtrlEPAllowDataStage(),
USBDeferOUTDataStage(), USBOUTDataStageDeffered(), USBDeferInDataStage(), and USBINDataStageDeferred()
functions. These functions allow users to defer the handling of control transfers received in interrupt context until a later
point of time.
• Stack files affected: usb_device.c, usb_device.h
6. Fixed issue in PIC18F starter kit SD-card bootloader issue. Bootloader could have errors loading hex files if there was an
hex entry starting at an odd address with an even number of bytes in the payload.
• Stack files affected: none
7. Reorganization of many of the definitions and data types.
• Stack files affected: usb_hal_pic18.h, usb_hal_pic24.h, usb_hal_pic32.h, usb_device_local.h, usb_device.c,
usb_device.h
8. Changed the behavior of the PIC24F HID bootloader linker scripts. The remapping.s file is no longer required. Interrupt
vector remapping is now handled by the provided linker scripts (no customization required). Applications should be able to
run with the bootloader linker script when either programmed or loaded through the bootloader allowing for more easy
development and debugging. Interrupt latency should also be the same when using the bootloader or the debugger. For
more information about usage, please refer to the HID bootloader documentation.
9. Changed the behavior of the PIC32 HID bootloader linker scripts. The dual-linker script requirement has been replaced by
a single required linker script that should be attached to the application project. Applications should be able to run with the
bootloader linker script when either programmed or loaded through the bootloader allowing for more easy development
and debugging. Interrupt latency should also be the same when using the bootloader or the debugger. For more
information about usage, please refer to the HID bootloader documentation.
10. Added files for the PIC18F starter kit contest winners. Located in “<INSTALL_DIRECTORY>/PIC18F Starter Kit
1/Demos/Customer Submissions/Contest 1”
11. Added initial support for the PIC24FJ256DA210 development board.
12. Added initial support for the PIC24FJ256GB210 Plug-in module.
1.3 Release Notes MLA - USB Library Help Revision History
24

- 1
- 2
…
- 22
- 23
- 24
- 25
- 26
…
- 311
- 312