X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/e611b250c170c9e830f8212ca5d49e505e3f4af1..253deb996f321c59c102a64e17f95d0b5b0a0e6d:/LUFA/ChangeLog.txt diff --git a/LUFA/ChangeLog.txt b/LUFA/ChangeLog.txt index 58bd9d233..2c40ba8e3 100644 --- a/LUFA/ChangeLog.txt +++ b/LUFA/ChangeLog.txt @@ -8,16 +8,84 @@ * * \section Sec_ChangeLogXXXXXX Version XXXXXX * - * - Added new incomplete BluetoothHost demo - * - Changed AVRISP Programmer descriptors to use a newly allocated 0x204F PID value + * - Added new GenericHIDHost demo + * - Corrections to the KeyboardHost and MouseHost demos' pipe handling to freeze and unfreeze the data pipes at the point of use + * - KeyboardHost, MouseHost and GenericHIDHost demos now save and restore the currently selected pipe inside the pipe ISR + * - Changed GenericHID device demo to use the LUFA scheduler, added INTERRUPT_DATA_ENDPOINT and INTERRUPT_CONTROL_ENDPOINT compile + * time options + * - All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected + * - Added new PIMA_DATA_SIZE() define to the Still Image Host demo + * - Add call to MassStore_WaitForDataReceived() in MassStore_GetReturnedStatus() to ensure that the CSW has been received in the + * extended MSC timeout period before continuing, to prevent long processing delays from causing the MassStore_GetReturnedStatus() + * to early-abort (thanks to Dmitry Maksimov) + * - Move StdRequestType.h, StreamCallbacks.h, USBMode.h from the LowLevel USB driver directory to the HighLevel USB driver directory, + * where they are more suited + * - Removed all binary constants and replaced with decimal or hexadecimal constants so that unpatched GCC compilers can still build the + * code without having to be itself patched and recompiled first + * - Added preprocessor checks and documentation to the bootloaders giving information about missing SIGNATURE_x defines due to + * outdated avr-libc versions. + * - Added support to the CDCHost demo for devices with multiple CDC interfaces which are not the correct ACM type preceding the desired + * ACM CDC interface + * - Fixed GenericHID demo not starting USB and HID management tasks when not using interrupt driven modes (thanks to Carl Kjeldsen) + * - Fixed RNDISEthenet demo checking the incorrect message field for packet size constraints (thanks to Jonathan Oakley) + * - Fixed WriteNextReport code in the GenericHIDHost demo using incorrect parameter types and not selecting the correct endpoint + * - Adjusted sample CTC timer calculations in the AudioOutput and AudioInput demos to match the CTC calculations in the AVR datasheet, + * and to fix instances where rounding caused the endpoint to underflow (thanks to Robin Theunis) + * - The USB_Host_SendControlRequest() function no longer automatically selects the Control pipe (pipe 0), so that other control type + * pipes can be used with the function + * - The USB Host management task now saves and restores the currently selected pipe before and after the task completes + * - Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev) + * - Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), + * Pipe_ClearIN() and Pipe_ClearOUT() macros (done to allow for the detection of packets of zero length) + * - Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API + * - Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been + * renamed to Endpoint_ClearSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the + * Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe + * bank management API + * - Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel from Curetis AG) + * - Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity + * - Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity + * - Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway + * - Renamed the main Drivers/AT90USBXXX directory to Drivers/Peripheral, renamed the Serial_Stream driver to SerialStream + * - Fixed CDC and USBtoSerial demos freezing where buffers were full while still transmitting or receiving (thanks to Peter Hand) + * - Removed "Host_" section of the function names in ConfigDescriptor.h, as most of the routines can now be used in device mode on the + * device descriptor + * - Renamed functions in the HID parser to have a "USB_" prefix and the acronym "HID" in the name + * - Fixed incorrect HID interface class and subclass values in the Mouse and KeyboardMouse demos (thanks to Brian Dickman) + * - Capitalised the "Descriptor_Search" and "Descriptor_Search_Comp" prefixes of the values in the DSearch_Return_ErrorCodes_t and + * DSearch_Comp_Return_ErrorCodes_t enums + * - Removed "ERROR" from the enum names in the endpoint and pipe stream error code enums + * - Renamed the USB_PowerOnErrorCodes_t enum to USB_InitErrorCodes_t, renamed the POWERON_ERROR_NoUSBModeSpecified enum value to + * USB_INITERROR_NoUSBModeSpecified + * - Renamed USB_PowerOnFail event to USB_InitFailure + * - Renamed OTG.h header functions to be more consistent with the rest of the library API + * - Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander) + * - USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode + * rather than having the library pass only partially read header data to the application + * - The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure + * - The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent + * - Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature request was not being handled) + * - Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE + * - Endpoint configuration is now refined to give better output when all configurations have static inputs - removed the now useless + * STATIC_ENDPOINT_CONFIGURATION compile time token + * - Fixed SPI driver init function not clearing SPI2X bit when not needed + * - Fixed PREVENT ALLOW MEDIUM REMOVAL command issuing in the MassStorageHost demo using incorrect parameters (thanks to Mike Alex) + * - Fixed MassStorageHost demo broken due to an incorrect if statement test in MassStore_GetReturnedStatus() + * - Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes Raschke) + * - Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with faulty devices which do not respect the given + * wLength value when reading in the device descriptor + * + * + * \section Sec_ChangeLog090401 Version 090401 + * * - Fixed MagStripe project configuration descriptor containing an unused (blank) endpoint descriptor * - Incorporated makefile changes by Denver Gingerich to retain compatibility with stock (non-WinAVR) AVR-GCC installations * - Fixed makefile EEPROM programming targets programming FLASH data in addition to EEPROM data * - LUFA devices now enumerate correctly with LUFA hosts - * - Fixed Configuration Descriptor search routine freezing when a comparitor returned a failure + * - Fixed Configuration Descriptor search routine freezing when a comparator returned a failure * - Removed HID report item serial dump in the MouseHostWithParser and KeyboardHostWithParser - useful only for debugging, and * slowed down the enumeration of HID devices too much - * - Increased the number of bits per track which can be read in the MagStripe project to 20480 when compiled for the AT90USBXXX6/7 + * - Increased the number of bits per track which can be read in the MagStripe project to 8192 when compiled for the AT90USBXXX6/7 * - Fixed KeyboardMouse demo discarding the wIndex value in the REQ_GetReport request * - USBtoSerial demo now discards all Rx data when not connected to a USB host, rather than buffering characters for transmission * next time the device is attached to a host. @@ -30,9 +98,25 @@ * - Added ATTR_ALWAYS_INLINE attribute to several key inlined library components, to ensure they are inlined in all circumstances * - Removed SetSystemClockPrescaler() macro, the clock_prescale_set() avr-libc macro has been corrected in recent avr-libc versions * - Fixed incorrect/missing control status stage transfers on demos, bootloaders and applications (thanks to Nate Lawson) - * - The NO_CLEARSET_FEATURE_REQUEST compile time token has been renamed to NO_FEATURELESS_CONTROL_ONLY_DEVICE, and its function expanded + * - The NO_CLEARSET_FEATURE_REQUEST compile time token has been renamed to FEATURELESS_CONTROL_ONLY_DEVICE, and its function expanded * to also remove parts of the Get Status chapter 9 request to further reduce code usage * - Makefile updated to include output giving the currently selected BOARD parameter value + * - Board Dataflash driver now allows for dataflash ICs which use different shifts for setting the current page/byte address (thanks + * to Kenneth Clubb) + * - Added DataflashManager_WriteBlocks_RAM() and DataflashManager_ReadBlocks_RAM() functions to the MassStorage demo, to allow for easy + * interfacing with a FAT library for dataflash file level access + * - Corrected CDC class bootloader to fix a few bugs, changed address counter to store x2 addresses for convenience + * - Fixed typos in the SPI driver SPI_SPEED_FCPU_DIV_64 and SPI_SPEED_FCPU_DIV_128 masks (thanks to Markus Zocholl) + * - Keyboard and Mouse device demos (normal, data interrupt and fully interrupt driven) combined into unified keyboard and mouse demos + * - Keyboard and Mouse host demos (normal and data interrupt driven) combined into unified keyboard and mouse demos + * - Removed AVRISP_Programmer project due to code quality concerns + * - Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incoming data + * - Fixed documentation typos and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg) + * - Fixed USBTask.h not conditionally including HostChapter9.h only when USB_CAN_BE_HOST is defined (thanks to Ian Gregg) + * - Fixed incorrect ADC driver init register manipulation (thanks to Tobias) + * - Added new GenericHID device demo application + * - Fixed Still Image Host SImage_SendData() function not clearing the pipe bank after sending data + * * * \section Sec_ChangeLog090209 Version 090209 * @@ -68,7 +152,7 @@ * - Added SetProtocol request to HID class non-parser Mouse and Keyboard demos to force devices to use the correct Boot Protocol * - Added new "dfu" and "flip" programming targets to project makefiles * - HID_PARSE_Sucessful enum member typo corrected to HID_PARSE_Successful - * - Changed COLLECTION item strucutres in the HID descriptor parser to include the collection's Usage Page value + * - Changed COLLECTION item structures in the HID descriptor parser to include the collection's Usage Page value * - Serial driver now sets Tx line as output, enables pullup on Rx line * - Fixed smaller USB AVRs raising multiple connection and disconnection events when NO_LIMITED_CONTROLLER_CONNECT is disabled * - Added HOST_DEVICE_SETTLE_DELAY_MS to give the host delay after a device is connected before it is enumerated @@ -88,6 +172,7 @@ * - Fixed CDC Host demo not searching through both CDC interfaces for endpoints * - Fixed incorrect Product String descriptor length in the DFU class bootloader * + * * \section Sec_ChangeLog081224 Version 081224 * * - MyUSB name changed to LUFA, the Lightweight USB Framework for AVRs @@ -123,7 +208,7 @@ * easily be altered to show different LED combinations (or do something else entirely) as the demo's status changes * - Removed LED commands from the CDC bootloader, unused by most AVR910 programming software * - Fixed RNDIS demo ICMP ping requests echoing back incorrect data - * - Added DHCP server code to RNDIS demo, allowing for hands-free autoconfiguration on any PC + * - Added DHCP server code to RNDIS demo, allowing for hands-free auto configuration on any PC * - Fixed DFU bootloader PID value for the ATMEGA16U4 AVR * - Endpoint and Pipe configuration functions now return an error code indicating success or failure * - USB Reset in device mode now resets and disables all device endpoints @@ -131,20 +216,21 @@ * invocation when in host mode * - Added support for the ATMEGA32U6 microcontroller * - Added STATIC_ENDPOINT_CONFIGURATION compile time option, enabled in the bootloaders to minimize space usage - * - Removed redudant code from the USB device GetStatus() chapter 9 processing routine + * - Removed redundant code from the USB device GetStatus() chapter 9 processing routine * - Added new TeensyHID bootloader, compatible with the Teensy HID protocol (http://www.pjrc.com/teensy/) * - Versions are now numbered by release dates, rather than arbitrary major/minor revision numbers * - USB_RemoteWakeupEnabled is now correctly set and cleared by SetFeature and ClearFeature requests from the host * - Changed prototype of GetDescriptor, so that it now returns the descriptor size (or zero if the descriptor doesn't exist) * rather than passing the size back to the caller through a parameter and returning a boolean * + * * \section Sec_ChangeLog153 Version 1.5.3 - Released 2nd October, 2008 * * - Fixed CDC bootloader using pgmspace macros for some descriptors inappropriately * - Updated all Mouse and Keyboard device demos to include boot protocol support (now works in BIOS) * - Renamed bootloader directories to remove spaces, which were causing build problems on several OSes * - Removed serial number strings from all but the MassStore demo where it is required - users were not - * modifing the code to either ommit the descriptor or use a unique serial per device causing problems + * modifying the code to either omit the descriptor or use a unique serial per device causing problems * when multiple units of the same device were plugged in at the same time * - AudioOutput and AudioInput demos now correctly silence endpoints when not enabled by the host * - Added KeyboardMouse demo (Keyboard and Mouse functionality combined into a single demo) @@ -222,7 +308,7 @@ * - 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 + * - Fixed AudioOutput demo once more -- 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 @@ -231,25 +317,25 @@ * - 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 + * - Host demos now have a separate ConfigDescriptor.c/.h file for configuration descriptor processing + * - HostWithParser demos now have a separate 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 separate 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 + * - Removed outdated typedefs in StdRequestType.h, superseded 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 + * - Renamed *_*_Is* macros to *_Is* to make all flag checking macros consistent, 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 @@ -294,7 +380,7 @@ * new comparator API * - Fixed MassStorageHost demo capacity printout, and changed data read/write mode from little-endian to the correct * big-endian for SCSI devices - * - Fixed macro/function naming consistancy; USB_HOST is now USB_Host, USB_DEV is now USB_Device + * - Fixed macro/function naming consistency; USB_HOST is now USB_Host, USB_DEV is now USB_Device * - Added better error reporting to host demos * - Added 10 microsecond delay after addressing devices in host mode, to prevent control stalls * @@ -307,7 +393,7 @@ * GetLineCoding request had an incorrect RequestType mask preventing it from being processed * - Improved reliability of the USBtoSerial demo, adding a busy wait while the buffer is full * - Device control endpoint size is now determined from the device's descriptors rather than being fixed - * - Seperated out SPI code into new SPI driver in AT90USBXXX driver directory + * - Separated out SPI code into new SPI driver in AT90USBXXX driver directory * - Bootloader now returns correct PID for the selected USB AVR model, not just the AT90USB128X PID * - Added support for the RZUSBSTICK board * - Bicolour driver removed in favour of generic LEDs driver @@ -345,7 +431,7 @@ * * \section Sec_ChangeLog130 Version 1.3.0 - Released March 7th 2008 * - * - Unneccesary control endpoint config removed from device mode + * - Unnecessary control endpoint config removed from device mode * - Fixed device standard request interpreter accidentally processing some class-specific requests * - Added USE_RAM_DESCRIPTORS and USE_EEPROM_DESCRIPTORS compile time options to instruct the library * to use descriptors stored in RAM or EEPROM rather than flash memory @@ -364,7 +450,7 @@ * - Added support for the STK525 and STK526 boards * - Added support for custom board drivers to be supplied by selecting the board type as BOARD_USER, and * placing board drivers in {Application Directory}/Board/ - * - PLL is now stopped and USB clock is frozen when detatched from host in device mode, to save power + * - PLL is now stopped and USB clock is frozen when detached from host in device mode, to save power * - Joystick defines are now in synch with the schematics - orientation will be rotated for the USBKEY * - Fixed USB_DEV_IsUSBSuspended() - now checks the correct register * - Fixed data transfers to devices when in host mode @@ -412,4 +498,4 @@ * - Added ability to disable ANSI terminal codes by the defining of DISABLE_TERMINAL_CODES in makefile * - Removed return from ConfigurePipe and ConfigureEndpoint functions - use Pipe_IsConfigured() and * Endpoint_IsConfigured() after calling the config functions to determine success - */ \ No newline at end of file + */