# 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
…
- 24
- 25
- 26
- 27
- 28
…
- 311
- 312

7. Fixed error in the part support list of the variables section where the address of the CDC variables are defined. The
PIC18F2553 was incorrectly named PIC18F2453 and the PIC18F4558 was incorrectly named PIC18F4458
(http://www.microchip.com/forums/fb.aspx?m=487397).
• Stack files affected: usb_function_cdc.c
8. Fixed an error where the USBHostClearEndpointErrors() function didn't properly return USB_SUCCESS if the errors were
successfully cleared (http://www.microchip.com/forums/fb.aspx?m=490651).
• Stack files affected: usb_host.c
9. Fixed issue where deviceInfoHID[i].rptDescriptor was incorrectly freed twice. The second free results in possible issues in
future malloc() calls in the C32 compiler.
• Stack files affected: usb_host_hid.c
10. Fixed an issue where the MSD client driver would issue a transfer events to an incorrect/invalid client driver number
when transfer events are enabled.
• Stack files affected: usb_host_msd.c
11. Fixed issue where a device that is already connected to the embedded host when the system is initialized may not
enumerate.
• Stack files affected: usb_host.c
12. Fixed issue where the embedded host or OTG device did not properly check bmRequestType when it thinks that a
HALT_ENDPOINT request was sent to the device. This resulted in the DTS bits for the attached device getting reset
causing possible communication issues.
• Stack files affected: usb_host.c
13. Changed how the bus sensing works. In previous revisions it was impossible to use the USBDeviceDetach to detach
from the bus if the bus voltage was still present. This is now possible. It was also possible to move the device to the
ATTACHED state in interrupt mode even if the bus voltage wasn't available. This is now prohibited unless VBUS is
present.
• Stack files affected: usb_device.c
14. Added USBSleepOnSuspend() function. This function shows how to put the PIC24F to sleep while the USB module is in
suspend and have the USB module wake up the device on activity on the bus.
• Stack files affected: usb_hal_pic24.h, usb_hal_pic24.c
15. Modified the code to allow connection of USB-RS232 dongles that do not fully comply with CDC specifications.
• Stack files affected: usb_host_cdc.h, usb_host_cdc.c, usb_host_cdc_interface.c, usb_host_interface.h
16. Modified API USBHostCDC_Api_Send_OUT_Data to allow data transfers more than 256 bytes.
• Stack files affected: usb_host_cdc.h, usb_host_cdc.c, usb_host_cdc_interface.c, usb_host_interface.h
17. Improved error case handling when the host sends more OUT bytes in a control transfer than the firmware was
expecting to receive (based on the size parameter when calling USBEP0Receive()).
• Stack files affected: usb_device.c
18. Added CCID (Circuit Cards Interface Device) class device/function support.
• Stack Files affected: usb_function_ccid.h, usb_function_ccid.c
19. Added Audio v1 class embedded host support.
• Stack files affected: usb_host_audio_v1.h, usb_host_audio_v1.c
1.3.2 What's Next
Find out what the USB development team is working on and what will be out in the near future.
Description
The following are the projects that are being worked on. These may not be released in the next release but are in
1.3 Release Notes MLA - USB Library Help What's Next
26

- 1
- 2
…
- 24
- 25
- 26
- 27
- 28
…
- 311
- 312