- 12 Oct, 2010 3 commits
-
-
Dean Camera authored
Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic. Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run. Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
-
Dean Camera authored
Fixed random enumeration failure while in device mode due to interrupts causing the Set Address request to exceed maximum timings.
-
Dean Camera authored
-
- 06 Oct, 2010 3 commits
-
-
Dean Camera authored
Added SVN eol-style property to the library driver files that are missing it.
-
Dean Camera authored
-
Dean Camera authored
Cache the USB_DeviceState variable internally in the library core when multiple checks are required in a single loop iteration, to reduce compiled code size.
-
- 02 Oct, 2010 3 commits
-
-
Dean Camera authored
Revert change to the AVRISP-MKII project for fuse byte programming via the CMDEX bit - this appears to be an error in the XMEGA manual external memory programming table.
-
Dean Camera authored
-
Dean Camera authored
Fixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when writing in non-paged mode and the polling byte cannot be used.
-
- 30 Sep, 2010 2 commits
-
-
Dean Camera authored
Fix low level host mode demos not correctly fetching the next endpoint when an invalid interface is discarded. Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.
-
Dean Camera authored
Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
-
- 29 Sep, 2010 1 commit
-
-
Dean Camera authored
Changed default value for the reset polarity parameter in the AVRISP-MKII project so that it defaults to active low drive. Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set.
-
- 28 Sep, 2010 3 commits
-
-
Dean Camera authored
Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver.
-
Dean Camera authored
Added CDC functional descriptor structs to the Low Level CDC demos and CDC class bootloader, to improve the readability of the descriptors. Fixed BootloaderCDC project failing on some operating systems due to removed Line Encoding options (thanks to Alexey Belyaev).
-
Dean Camera authored
Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
-
- 24 Sep, 2010 3 commits
-
-
Dean Camera authored
Remove dfu-programmer program switches, to ensure maximum compatibility with all dfu-programmer versions.
-
Dean Camera authored
Added the --suppress-bootloader-mem option to the makefile dfu target, to ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target. Makefile whitespace fixes.
-
Dean Camera authored
Fixed endpoint selection within the CALLBACK_HID_Device_CreateHIDReport() callback function causing broken GET REPORT requests. Minor whitespace fixes.
-
- 22 Sep, 2010 1 commit
-
-
Dean Camera authored
Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
-
- 21 Sep, 2010 1 commit
-
-
Dean Camera authored
Fixed USB_Host_ClearPipeStall() incorrectly attempting to determine the endpoint's direction from the currently selected pipe.
-
- 15 Sep, 2010 3 commits
-
-
Dean Camera authored
Removed the EVENT_USB_InitFailure() event, as not specifying a USB mode to USB_Init() now defaults the controller into UID selection mode.
-
Dean Camera authored
-
Dean Camera authored
Make project makefiles correctly clean intermeditary build files from assembly and C++ sources (thanks to Daniel Czigany).
-
- 14 Sep, 2010 3 commits
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
-
- 13 Sep, 2010 1 commit
-
-
Dean Camera authored
Fixed SET FEATURE and CLEAR FEATURE control requests directed at an unconfigured endpoint causing request timeouts.
-
- 11 Sep, 2010 2 commits
-
-
Dean Camera authored
Modified PRNT_Host_USBTask() to flush the output pipe on each call.
-
Dean Camera authored
Added new project makefile template to the library and moved board driver stub files into in a new CodeTemplates directory.
-
- 09 Sep, 2010 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
Added LEDs_ToggleLEDs() function to several board LED drivers which were missing it (thanks to Andrei Krainev). Simplify some of the LED driver functions to produce more compact code.
-
- 07 Sep, 2010 1 commit
-
-
Dean Camera authored
Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to the Print Host Class driver.
-
- 05 Sep, 2010 1 commit
-
-
Dean Camera authored
Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() functions to retrieve the current USB frame number. Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode. Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application.
-
- 04 Sep, 2010 2 commits
-
-
Dean Camera authored
Reduced HOST_DEVICE_SETTLE_DELAY_MS to 1000ms down from 1500ms to improve device compatibility while in USB Host mode, as some devices will drop off the USB bus if no connection is made within a timeout period.
-
Dean Camera authored
-
- 03 Sep, 2010 1 commit
-
-
Dean Camera authored
Added board hardware driver support for the Olimex AVR-USB-162 development board (thanks to Steve Fawcett).
-
- 24 Aug, 2010 2 commits
-
-
Dean Camera authored
Fixed LowLevel PrinterHost demo not sending control requests to the attached printer with the correct printer interface wIndex value.
-
Dean Camera authored
Changed the signature of the CALLBACK_USB_GetDescriptor() callback function so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
-
- 22 Aug, 2010 2 commits
-
-
Dean Camera authored
Split out endpoint and pipe stream functions into new EndpointStream.c/.h and PipeStream.c/.h files.
-
Dean Camera authored
Changed all Device mode LowLevel demos and Device Class drivers so that the control request is acknowledged and any data transferred as quickly as possible without any processing inbetween sections, so that long callbacks or event handlers will not break communications with the host by exceeding the maximum control request stage timeout period.
-