- Sep 19, 2010
-
-
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.
-
- Jul 21, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Indent core library function parameters so that there is only one parameter per line, to increase readability.
-
Dean Camera authored
Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
-
- Jul 15, 2010
-
-
Dean Camera authored
Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
-
- Jul 12, 2010
-
-
Dean Camera authored
-
- Jul 02, 2010
-
-
Dean Camera authored
Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
-
- Jun 17, 2010
-
-
Dean Camera authored
Minor tweaks to the library documentation.
-
- Jun 16, 2010
-
-
Dean Camera authored
Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as the new 1.7 Doxygen's default stylesheet is much better.
-
- Jun 15, 2010
-
-
Dean Camera authored
-
- Jun 12, 2010
-
-
Dean Camera authored
Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured pipes, rather than performing token check first.
-
- Jun 03, 2010
-
-
Dean Camera authored
-
- May 30, 2010
-
-
Dean Camera authored
-
- May 29, 2010
-
-
Dean Camera authored
-
- May 26, 2010
-
-
Dean Camera authored
The EEPROM stream read/write functions now use eeprom_update_byte() instead of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan. Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile parameters to EEPROM to preserve its lifespan.
-
- May 13, 2010
-
-
Dean Camera authored
Remove incorrect check for the current device state in the Set Configuration request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances. Move out the SPI prescaler list to a PROGMEM module-level variable in ISPTarget.c.
-
Dean Camera authored
Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and the control endpoint is not properly selected when the ISR completes.
-
- May 11, 2010
-
-
Dean Camera authored
Fix nasty bug in USBInterrupt.c which would cause a lockup if the control endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined.
-
- May 08, 2010
-
-
Dean Camera authored
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
-