Jun 10
MyUSB 1.5.0 has been released onto the project page, including the new documentation. I completed the migration information I posted about a few hours ago - it is now a page in the online and downloadable documentation. Please notify me of any problems found with the new version.
Previous 1.5.0 BETAs have been removed in the wake of the new release and are no longer available for download. The full changelog for the new version is:
- Fixed MIDI demo, now correctly waits for the endpoint to be ready between multiple note messages
- Added CDC Host demo application
- Added KeyboardFullInt demo application
- Endpoint and Pipe creation routines now mask endpoint/pipe size with the size mask, to remove transaction size bits not required for the routines (improves compatibility with devices)
- Fixed AudioInput demo - now correctly sends sampled audio to the host PC
- Fixed AudioOutput demo oncemore — apparently Windows requires endpoint packets to be >=192 bytes
- Shrunk round-robbin scheduler code slightly via the use of struct pointers rather than array indexes
- Fixed off-by-one error when determining if the Usage Stack is full inside the HID Report parser
- Renamed Magstripe.h to MagstripeHW.h and moved driver out of the library and into the MagStripe demo folder
- Added preprocessor checks to enable C linkage on the library components when used with a C++ compiler
- Added Still Image Host demo application
- The USB device task now restores the previously selected endpoint, allowing control requests to be transparently handled via interrupts while other endpoints are serviced through polling
- Fixed device signature being sent in reverse order in the CDC bootloader
- Host demos now have a seperate ConfigDescriptor.c/.h file for configuration descriptor processing
- HostWithParser demos now have a seperate HIDReport.c/.h file for HID report processing and dumping
- Removed non-mandatory commands from MassStorage demo to save space, fixed SENSE ResponseCode value
- CDC demos now send empty packets after sending a full one to prevent buffering issues on the host
- Updated demo descriptors to use VID/PID values donated by Atmel
- Added DoxyGen documentation to the source files
- Fixed Serial_IsCharRecieved() definition, was previously reversed
- Removed seperate USB_Descriptor_Language_t descriptor, USB_Descriptor_String_t is used instead
- Removed unused Device Qualifier descriptor structure
- Renamed the USB_CreateEndpoints event to the more appropriate USB_ConfigurationChanged
- Fixed MassStorageHost demo reading in the block data in reverse
- Removed outdated typedefs in StdRequestType.h, superceeded by the macro masks
- Corrected OTG.h is now included when the AVR supports both Host and Device modes, for creating OTG products
- USB_DeviceEnumerationComplete event is now also fired when in device mode and the host has finished its enumeration
- Interrupt driven demos now properly restore previously selected endpoint when ISR is complete
- USB_HOST_TIMEOUT_MS is now overridable in the user project makefile to a custom fixed timeout value
- Renamed USB_Host_SOFGeneration_* macros to more friendly USB_Host_SuspendBus(), USB_Host_ResumeBus() and USB_Host_IsBusSuspended()
- Renamed *_*_Is* macros to *_Is* to make all flag checking macros consistant, Pipe_SetInterruptFreq() is now Pipe_SetInterruptPeriod() to use the correct terminology
- UnicodeString member of USB_Descriptor_String_t struct changed to an ordinary int array type, so that the GCC Unicode strings (prefixed with an L before the opening quotation mark) can be used instead of explicit arrays of ASCII characters
- Fixed Endpoint/Pipes being configured incorrectly if the maximum endpoint/pipe size for the selected USB AVR model was given as the bank size
- HID device demos now use a true raw array for the HID report descriptor rather than a struct wrapped array
- Added VERSION_BCD() macro, fixed reported HID and USB version numbers in demo descriptors
- Cleaned up GetDescriptor device chapter 9 handler function
- Added GET_REPORT class specific request to HID demos to make them complaint to the HID class
- Cleaned up setting of USB_IsInitialized and USB_IsConnected values to only when needed
- Removed Atomic.c and ISRMacro.h; the library was already only compatible with recent avr-lib-c for other reasons
- All demos and library functions now use USB standardized names for the USB data (bRequest, wLength, etc.)
- Added USE_NONSTANDARD_DESCRIPTOR_NAMES token to switch back to the non-standard descriptor element names
June 12th, 2008 at 8:31 am
Dean,
I cant get the 1.5 usb2 serial sample code to run on the 90usb162. (Nor could I get I get my own freshly ported code to run)
I am sorry I have been too busy looking at the hardware and the spi capabilities of the usart to actually try to port it to the new rev until last weekend.
I am pretty sure that its in the endpoint handling around the full/verses partial controller macros. Seems to send but not recieve. I would like to dig around in the nuts and bolts but I need to focus on getting some forward movement so I am stuck with my working code on 1.4.1. Is there a mailing list or preferred avrfreaks thread for the developers?
The documentation BTW looks great.
Don.