Mar 19
I’ve just released 1.3.1 of MyUSB, which (as the version number indicates) is just a minor point release. However, it does include a whole boatload of fixes, and one or two convenient new things too. Newly added is the DFU bootloader (the only one outside Atmel, to the best of my knowledge) as well as endpoint interrupt Keyboard and Mouse device demos.
The changelog is as follows:
- Fixed USB to Serial demo - class value in the descriptors was incorrect
- Control endpoint size changed from 64 bytes to 8 bytes to save on USB FIFO RAM and to allow low speed mode devices to enumerate properly
- USB to Serial demo data endpoints changed to dual-banked 16 byte to allow the demo to work on USB AVRs with limited USB FIFO RAM
- Changed demo endpoint numbers to use endpoints 3 and 4 for double banking, to allow limited USB device controller AVRs (AT90USB162, AT90USB82) to function correctly
- Updated Audio Out demo to use timer 1 for AVRs lacking a timer 3 for the PWM output
- Fixed incorrect USB_DEV_OPT_HIGHSPEED entry in the Mass Storage device demo makefile
- Optimized Mass Storage demo for a little extra transfer speed
- Added LED indicators to the Keyboard demo for Caps Lock, Num Lock and Scroll Lock
- Added Endpoint_Read_Stream, Endpoint_Write_Stream, Pipe_Read_Stream and Pipe_Write_Stream functions (including Big and Little Endian variants)
- Made Dataflash functions inline for speed, removed now empty Dataflash.c driver file
- Added new SetSystemClockPrescaler() macro - thanks to Joerg Wunsch
- Fixed Endpoint_ClearStall() to function correctly on full USB controller AVRs (AT90USBXXX6/7)
- Endpoint_Setup_In_Clear() and Endpoint_Setup_Out_Clear() no longer set FIFOCON, in line with the directives in the datasheet
- Fixed PLL prescaler defines for all AVR models and frequencies
- Fixed ENDPOINT_INT_IN and ENDPOINT_INT_OUT definitions
- Added interrupt driven keyboard and mouse device demos
- Combined USB_Device_ClearFeature and USB_Device_SetFeature requests into a single routine for code size savings
- Added missing Pipe_GetCurrentPipe() macro to Pipe.h
This is a bug-fix release, and all current users should update. No migration issues are present in the new library version.
Wiki updates to reflect on the minor changes to follow.
Leave a Reply
Recent Comments