MyUSB 1.5.1 Released

I’ve decided to release MyUSB 1.5.1 today. This new version is a very minor update, mainly fixing errors in the demos — in fact, there are no migration issues at all from the previous 1.5.0 version. Other small enhancements to the library itself (including one or two fixes to long standing bugs) are present in the new version, but these are invisible other than flash code size savings.

Without further ado, the changelog for the new version:

  • Changed host demos to enable the host function task on the firing of the USB_DeviceEnumerationComplete event rather than the USB_DeviceAttached event
  • HID Usage Stack now forcefully cleared after an IN/OUT/FEATURE item has been completely processed to remove any referenced but not created usages
  • Changed USB_INT_DisableAllInterrupts() and USB_INT_ClearAllInterrupts(), USB_Host_GetNextDescriptorOfType(), USB_Host_GetNextDescriptorOfTypeBefore(), USB_Host_GetNextDescriptorOfTypeAfter() to normal functions (from inline)
  • Fixed USBtoSerial demo not sending data, only receiving
  • Fixed main makefile to make all by default, fixed MagStripe directory case to prevent case-sensitive path problems
  • ConfigDescriptor functions made normal, instead of static inline
  • Pipe/Endpoint *_Ignore_* functions changed to *_Discard_*, old names still present as aliases
  • Fixed ENDPOINT_MAX_SIZE define to be correct on limited USB controller AVRs
  • Changed endpoint and pipe size translation routines to use previous IF/ELSE IF cascade code, new algorithmic approach was buggy and caused problems
  • Bootloaders now compile with -fno-inline-small-functions option to reduce code size
  • Audio demos now use correct endpoint sizes for full and limited controller USB AVRs, double banking in all cases to be in line with the specification (isochronous endpoints MUST be double banked)
  • Added Interface Association descriptor to StdDescriptors.h, based on the relevant USB2.0 ECN
  • Fixed MIDI demo, corrected Audio Streaming descriptor to follow the MIDI-specific AS structure
  • Fixed HID class demo descriptors so that the HID interface’s protocol is 0x00 (required for non-boot protocol HID devices) to prevent problems on hosts expecting the boot protocol functions to be supported
  • Added read/write control stream functions to Endpoint.h
  • Fixed AudioOut demo not setting port pins to inputs on USB disconnect properly
  • Added RNDISEthernet demo application

As always, email me if you have any suggestions or bug reports. Download the new library code from the project page. Also on that page is the latest library documentation, in downloadable or online HTML form.

 

Comments: 1

Leave a reply »

 
 
 

Thank you 🙂

 

Leave a Reply

 
(will not be published)
 
 
Comment
 
 

 

Vital Stats

  • 35 Years Old
  • Australian
  • Lover of embedded systems
  • Firmware engineer
  • Self-Proclaimed Geek

Latest Blog Posts

RSS