Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Reverted modifications to USBInterrupt.h that were intefering with correct ↵ | Dean Camera | 2010-09-22 | 4 | -13/+10 | |
| | | | | | | | | host mode operation. 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. | |||||
* | Oops - need to call USB_Attach() when reinitializing into USB Host mode, or ↵ | Dean Camera | 2010-09-21 | 1 | -1/+2 | |
| | | | | no devices will be detected. | |||||
* | Fixed USB_Host_ClearPipeStall() incorrectly attempting to determine the ↵ | Dean Camera | 2010-09-21 | 3 | -4/+2 | |
| | | | | endpoint's direction from the currently selected pipe. | |||||
* | Rename internal suspend and wake up USB interrupt macros so that they follow ↵ | Dean Camera | 2010-09-19 | 4 | -16/+14 | |
| | | | | the same naming scheme as the other USB ISR macros. | |||||
* | Make device mode configure the control endpoint even before the bus has been ↵ | Dean Camera | 2010-09-19 | 1 | -12/+14 | |
| | | | | reset, so that the device will enumerate correctly on hosts that do not reset the device before initial use. | |||||
* | More simplifications to USBController.c, fix errors and warnings when ↵ | Dean Camera | 2010-09-19 | 1 | -8/+12 | |
| | | | | compiled for the series 2 USB AVRs. | |||||
* | Fix warning when not compiled for UID auto-selection mode. | Dean Camera | 2010-09-19 | 1 | -0/+2 | |
| | ||||||
* | Clean up USBController.c/.h to more clearly seperate out host and device ↵ | Dean Camera | 2010-09-19 | 3 | -135/+111 | |
| | | | | | | setup and reset paths. 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. | |||||
* | Ensure device address latch bit is not set at the same time as the new ↵ | Dean Camera | 2010-09-19 | 5 | -14/+26 | |
| | | | | | | | | address, as per datasheet. 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. | |||||
* | Removed the EVENT_USB_InitFailure() event, as not specifying a USB mode to ↵ | Dean Camera | 2010-09-15 | 6 | -35/+5 | |
| | | | | USB_Init() now defaults the controller into UID selection mode. | |||||
* | Fix incorrect documentation on the Get Descriptor standard request. | Dean Camera | 2010-09-15 | 2 | -5/+7 | |
| | ||||||
* | Make project makefiles correctly clean intermeditary build files from ↵ | Dean Camera | 2010-09-15 | 2 | -2/+3 | |
| | | | | assembly and C++ sources (thanks to Daniel Czigany). | |||||
* | Minor documentation corrections. | Dean Camera | 2010-09-15 | 6 | -13/+14 | |
| | ||||||
* | Fix board name redefinition in BoardTypes.h (thanks to Daniel Czigany). | Dean Camera | 2010-09-14 | 1 | -1/+1 | |
| | ||||||
* | Fixed incorrect signature reported in the CDC class bootloader for the ↵ | Dean Camera | 2010-09-14 | 2 | -1/+2 | |
| | | | | ATMEGA32U2. | |||||
* | Added board hardware driver support for the BUI development board. | Dean Camera | 2010-09-14 | 47 | -162/+300 | |
| | ||||||
* | Added board hardware driver support for the UDIP development board. | Dean Camera | 2010-09-14 | 10 | -8/+266 | |
| | ||||||
* | Fixed SET FEATURE and CLEAR FEATURE control requests directed at an ↵ | Dean Camera | 2010-09-13 | 4 | -16/+17 | |
| | | | | unconfigured endpoint causing request timeouts. | |||||
* | Remove incomplete MIDIToneGenerator project. | Dean Camera | 2010-09-13 | 1 | -1/+1 | |
| | ||||||
* | Minor documentation phrasing changes. | Dean Camera | 2010-09-12 | 1 | -5/+5 | |
| | ||||||
* | Added PRNT_Host_SendByte() and PRNT_Host_Flush() functions to the Host mode ↵ | Dean Camera | 2010-09-11 | 3 | -14/+97 | |
| | | | | | | Printer Class driver. Modified PRNT_Host_USBTask() to flush the output pipe on each call. | |||||
* | Added new project makefile template to the library and moved board driver ↵ | Dean Camera | 2010-09-11 | 8 | -3/+732 | |
| | | | | stub files into in a new CodeTemplates directory. | |||||
* | Whitespace corrections. | Dean Camera | 2010-09-09 | 4 | -41/+41 | |
| | ||||||
* | Added class specific descriptor type defines with standard USB-IF element ↵ | Dean Camera | 2010-09-09 | 9 | -102/+465 | |
| | | | | naming. | |||||
* | Added LEDs_ToggleLEDs() function to several board LED drivers which were ↵ | Dean Camera | 2010-09-09 | 12 | -12/+25 | |
| | | | | | | missing it (thanks to Andrei Krainev). Simplify some of the LED driver functions to produce more compact code. | |||||
* | Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to ↵ | Dean Camera | 2010-09-07 | 4 | -13/+96 | |
| | | | | the Print Host Class driver. | |||||
* | Must save and restore the endpoint/pipe interrupt enable flags during ↵ | Dean Camera | 2010-09-07 | 2 | -0/+8 | |
| | | | | reconfiguration of all endpoints/pipes in the Endpoint_ConfigureEndpoint() and Pipe_ConfigurePipe() routines. | |||||
* | Fix bug in Pipe_ConfigurePipe() breaking already configured pipes that was ↵ | Dean Camera | 2010-09-05 | 1 | -7/+17 | |
| | | | | accidentally clearing the pipe's IN mode. | |||||
* | Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() ↵ | Dean Camera | 2010-09-05 | 10 | -26/+109 | |
| | | | | | | | | 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. | |||||
* | Reduced HOST_DEVICE_SETTLE_DELAY_MS to 1000ms down from 1500ms to improve ↵ | Dean Camera | 2010-09-04 | 2 | -3/+5 | |
| | | | | 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. | |||||
* | Added board hardware driver support for the USBFOO development board. | Dean Camera | 2010-09-04 | 7 | -1/+232 | |
| | ||||||
* | Added board hardware driver support for the Olimex AVR-USB-162 development ↵ | Dean Camera | 2010-09-03 | 13 | -7/+261 | |
| | | | | board (thanks to Steve Fawcett). | |||||
* | Clarify in the project documentation files what the each of the different ↵ | Dean Camera | 2010-08-31 | 1 | -4/+4 | |
| | | | | USB AVR device "series" comprises of. | |||||
* | Fix incorrect ADC driver documentation for the parameters of ADC_Init(), fix ↵ | Dean Camera | 2010-08-31 | 2 | -30/+34 | |
| | | | | incorrect call to ADC_Init() in the TemperatureDatalogger project. | |||||
* | Fix up documentation - remove obsolete Scheduler Overview page, roll ↵ | Dean Camera | 2010-08-29 | 4 | -44/+26 | |
| | | | | documentation into the documentation for the (deprecated) Simple Scheduler module. | |||||
* | Add better description of the Ultra-Lightweight Ring Buffer header files. | Dean Camera | 2010-08-29 | 1 | -0/+2 | |
| | ||||||
* | Better documentation for the Endpoint_ConfigureEndpoint() and ↵ | Dean Camera | 2010-08-24 | 3 | -29/+55 | |
| | | | | Pipe_ConfigurePipe() functions. | |||||
* | Fixed LowLevel PrinterHost demo not sending control requests to the attached ↵ | Dean Camera | 2010-08-24 | 2 | -4/+5 | |
| | | | | printer with the correct printer interface wIndex value. | |||||
* | Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵ | Dean Camera | 2010-08-24 | 4 | -3/+10 | |
| | | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch). | |||||
* | Fix Doxygen typos in Device.h. | Dean Camera | 2010-08-24 | 1 | -3/+3 | |
| | ||||||
* | Optimise Endpoint_ConfigureEndpoint_Prv() function to produce smaller code ↵ | Dean Camera | 2010-08-22 | 1 | -0/+11 | |
| | | | | when CONTROL_ONLY_DEVICE compile time token is defined. | |||||
* | Split out endpoint and pipe stream functions into new EndpointStream.c/.h ↵ | Dean Camera | 2010-08-22 | 17 | -1144/+1303 | |
| | | | | and PipeStream.c/.h files. | |||||
* | Changed all Device mode LowLevel demos and Device Class drivers so that the ↵ | Dean Camera | 2010-08-22 | 6 | -33/+19 | |
| | | | | 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. | |||||
* | Moved calls to Device mode Class Driver events to after the request has been ↵ | Dean Camera | 2010-08-22 | 3 | -8/+15 | |
| | | | | | | acknowledged, so that long event handlers do do skew the timing of the control requests. Fixed USBtoSerial and Benito project SetLineEncoding calls failing if the USART is busy, due to the RX ISR delaying the control request handler. | |||||
* | Added compile time error to the AVRISP-MKII project when built for the U4 ↵ | Dean Camera | 2010-08-22 | 2 | -0/+4 | |
| | | | | chips, as the default VTARGET detection ADC channel does not exist on these chips (thanks to Marco). | |||||
* | Clarify in the documentation that the Audio demos and driver is for the ↵ | Dean Camera | 2010-08-21 | 3 | -7/+7 | |
| | | | | Audio 1.0 specification, not the newer (and more advanced/less supported) 2.0 specification. | |||||
* | Fixed critical pipe/endpoint memory allocation issue where the bank memory ↵ | Dean Camera | 2010-08-20 | 3 | -17/+77 | |
| | | | | 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). | |||||
* | Added new SCSI_ASENSE_NOT_READY_TO_READY_CHANGE constant to the Mass Storage ↵ | Dean Camera | 2010-08-20 | 2 | -0/+9 | |
| | | | | class driver, to indicate when a previously not ready removable medium has now become ready for the host's use (thanks to Martin Degelsegger) | |||||
* | Fixed MassStorage based demos and projects resetting the SCSI sense values ↵ | Dean Camera | 2010-08-18 | 2 | -1/+5 | |
| | | | | | | before the command is executed, leading to missed SCSI sense values when the host retrieves the sense key (thanks to Martin Degelsegger). Added missing DataflashManager_CheckDataflashOperation() function to the MassStorageKeyboard demo, removed redundant SCSI_Codes.h file as these values are part of the MassStorage Class Driver. | |||||
* | Fixed USB_GetHIDReportItemInfo() function modifying the given report item's ↵ | Dean Camera | 2010-08-10 | 3 | -6/+12 | |
| | | | | data when the report item does not exist within the supplied report of a multiple report HID device. |