- Oct 24, 2010
-
-
Dean Camera authored
Better algorithm to extract and convert the internal device serial number into a string descriptor (if present). Fix incorrect warning text when an unsuitable F_CLOCK value is given.
-
- Oct 13, 2010
-
-
Dean Camera authored
Renamed ENDPOINT_DOUBLEBANK_SUPPORTED() to ENDPOINT_BANKS_SUPPORTED() and changed it to return the maximum number of supported banks for the given endpoint.
-
Dean Camera authored
-
- Oct 12, 2010
-
-
Dean Camera authored
Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host interface was not configured. Small documentation improvements to explicitly reference tokens in Doxygen, to ensure that they are converted to cross-reference links in the output files.
-
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().
-
- Oct 07, 2010
-
-
Dean Camera authored
Added new NO_SOF_EVENTS compile time option, enabled in the bootloaders to reduce the compiled binary size.
-
- Oct 06, 2010
-
-
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.
-
- Oct 01, 2010
-
-
Dean Camera authored
-
- Sep 30, 2010
-
-
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.
-
- Sep 29, 2010
-
-
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.
-
- Sep 24, 2010
-
-
Dean Camera authored
Fixed endpoint selection within the CALLBACK_HID_Device_CreateHIDReport() callback function causing broken GET REPORT requests. Minor whitespace fixes.
-
- Sep 22, 2010
-
-
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.
-
- Sep 21, 2010
-
-
Dean Camera authored
Oops - need to call USB_Attach() when reinitializing into USB Host mode, or no devices will be detected.
-
Dean Camera authored
Fixed USB_Host_ClearPipeStall() incorrectly attempting to determine the endpoint's direction from the currently selected pipe.
-
- Sep 19, 2010
-
-
Dean Camera authored
Rename internal suspend and wake up USB interrupt macros so that they follow the same naming scheme as the other USB ISR macros.
-
Dean Camera authored
Make device mode configure the control endpoint even before the bus has been reset, so that the device will enumerate correctly on hosts that do not reset the device before initial use.
-
Dean Camera authored
More simplifications to USBController.c, fix errors and warnings when compiled for the series 2 USB AVRs.
-
Dean Camera authored
-
Dean Camera authored
Make USBInterrupt.c process all pending USB host mode interrupts before resetting the bus, so that no interrupts are lost when in UID auto-selection mode.
-
Dean Camera authored
Minor documentation fixes. Fix broken USB host mode due to the USB frame counter not being updated during the early enumeration steps, causing USB_Host_DelayMS() to spinloop forever.
-
- Sep 15, 2010
-
-
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.
-
- Sep 13, 2010
-
-
Dean Camera authored
Fixed SET FEATURE and CLEAR FEATURE control requests directed at an unconfigured endpoint causing request timeouts.
-
- Sep 07, 2010
-
-
Dean Camera authored
Must save and restore the endpoint/pipe interrupt enable flags during reconfiguration of all endpoints/pipes in the Endpoint_ConfigureEndpoint() and Pipe_ConfigurePipe() routines.
-
- Sep 05, 2010
-
-
Dean Camera authored
Fix bug in Pipe_ConfigurePipe() breaking already configured pipes that was accidentally clearing the pipe's IN mode.
-
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.
-
- Sep 04, 2010
-
-
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.
-
- Sep 03, 2010
-
-
Dean Camera authored
Added board hardware driver support for the Olimex AVR-USB-162 development board (thanks to Steve Fawcett).
-
- Aug 24, 2010
-
-
Dean Camera authored
-
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).
-
Dean Camera authored
-
- Aug 22, 2010
-
-
Dean Camera authored
Optimise Endpoint_ConfigureEndpoint_Prv() function to produce smaller code when CONTROL_ONLY_DEVICE compile time token is defined.
-
Dean Camera authored
Split out endpoint and pipe stream functions into new EndpointStream.c/.h and PipeStream.c/.h files.
-
Dean Camera authored
Added compile time error to the AVRISP-MKII project when built for the U4 chips, as the default VTARGET detection ADC channel does not exist on these chips (thanks to Marco).
-
- Aug 20, 2010
-
-
Dean Camera authored
Fixed critical pipe/endpoint memory allocation issue where the bank memory address space could be silently overlapped in the USB controller if the endpoints or pipes were allocated in anything other than ascending order (thanks to Martin Degelsegger).
-
- Aug 09, 2010
-
-
Dean Camera authored
Removed complicated logic for the Endpoint_ConfigureEndpoint() function to use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
-
- Jul 30, 2010
-
-
Dean Camera authored
More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary.
-
- Jul 27, 2010
-
-
Dean Camera authored
Use static inline intermediatary functions in Endpoint.h to handle the masking for the private endpoint configuration routine, instead of performing the masking in the Endpoint_ConfigureEndpoint() macro.
-
Dean Camera authored
Move over message ID specific header data to unions inside the standard TMC header structure, so that all header data is read in one chunk in the incomplete TMC demo.
-
- Jul 23, 2010
-
-
Dean Camera authored
-
- Jul 22, 2010
-
-
Dean Camera authored
Convert over internal pseudo-function macros to true inline functions for added type-safety and compile-checking.
-