aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added V2 protocol handlers for the READ and WRITE memory commands in the ↵Dean Camera2009-08-233-10/+110
| | | | AVRISP project. Finished READ command handler, skeleton WRITE handler implemented.
* Moved out target-related V2 protocol commands into a seperate file for the ↵Dean Camera2009-08-237-83/+185
| | | | | | AVRISP project. Added Load Extended Command functionality to the LOAD ADDRESS V2 Protocol command handler for devices with more than 64KB of memory.
* Fixed AVRISP programmer demo -- can now connect to a target and read/write ↵Dean Camera2009-08-239-63/+58
| | | | | | | | Sig/Lock/Fuse/OSCCAL bytes successfully. Changed SPI_Init() to allow for the clock polarity and data sample modes to be set. Changed Dataflash_Init() to no longer call SPI_Init() automatically.
* Added V2Protocol handlers to the AVRISP project to enter/exit programming ↵Dean Camera2009-08-2310-45/+303
| | | | | | mode, and read/write fuses, lockbits, OSCCAL and Signature bytes. Added ShutDown functions for all hardware peripheral drivers, so that peripherals can be turned off after use.
* Correct Programmer's Notepad project file to use the correct path for the ↵Dean Camera2009-08-201-1/+1
| | | | AVRISP project files.
* Renamed Projects/Unfinished to Projects/Incomplete for consistancy.Dean Camera2009-08-2012-0/+0
|
* Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP ↵Dean Camera2009-08-205-22/+43
| | | | | | project. Fix up references to functions in the Endpoint/Pipe documentation.
* Change spinloop in the AVRISP project Unknown V2 Protocol Command handler to ↵Dean Camera2009-08-192-6/+8
| | | | use Endpoint_WaitUntilReady() instead to prevent infinite loops.
* Moved out the handling of V2 Protocol parameters to a seperate set of files. ↵Dean Camera2009-08-198-92/+242
| | | | Added parameter privellages, so that an error can be returned to the host when trying to perform a get/set value action on a parameter without the correct privellages.
* Reorganise V2Protocol.c, add in function to assert or de-assert target RESET ↵Dean Camera2009-08-195-93/+132
| | | | pin.
* Added handler for the V2 Protocol SPI_MULTI command to the AVRISP Programmer ↵Dean Camera2009-08-198-9/+165
| | | | | | project. Added documentation of the makefile CDEFS values to the MagStripe project.
* Corrections to the unfinished AVRISP Programmer project to allow AVRStudio ↵Dean Camera2009-08-197-55/+39
| | | | to connect to it.
* Fixed invalid data being returned when a GetStatus request is issued in ↵Dean Camera2009-08-183-5/+3
| | | | | | Device mode with an unhandled data recipient. Fix up Programmers Notepad Project file to show new Projects directory layout. Remove now moved AVRISP project from the Projects directory makefile.
* Move AVRISP Programmer project to a new Unfinished subdirectory of Project ↵Dean Camera2009-08-1810-0/+0
| | | | while it is under development.
* Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to ↵Dean Camera2009-08-186-65/+222
| | | | communicate with the device.
* Added beginnings of a new AVRISP-MKII clone project.Dean Camera2009-08-1718-7/+2939
| | | | | | Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints. Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
* Added return values to the CDC and MIDI class driver transmit functions.Dean Camera2009-08-166-25/+44
|
* Fix misspelt event name in the Class driver USBtoSerial demo, preventing ↵Dean Camera2009-08-162-1/+4
| | | | correct operation.
* Fix USBtoSerial device demos -- ensure the UDR1 register contents is read in ↵Dean Camera2009-08-162-2/+6
| | | | under all circumstances which fire the ISR, so that the receive complete interrupt is cleared correctly to prevent freezes.
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-1623-75/+83
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
* Adjust endpoint polling intervals for HID demos, to make them compliant with ↵Dean Camera2009-08-1311-16/+16
| | | | the 10ms minimum polling period for Low Speed devices.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-1326-63/+61
|
* Added CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-1318-49/+2733
| | | | | | Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
* Added flag to the HID report parser to indicate if a device has multiple ↵Dean Camera2009-08-115-24/+31
| | | | | | | | | | reports. SetIdle requests to the HID device driver with a 0 idle period (send changes only) now only affect the requested HID interface within the device, not all HID interfaces. Apply correct fix to the HID report parser for PUSH items - current HID item attribute stack was being copied in the wrong direction. Fixed HID report parser not resetting the FEATURE item count when a REPORT ID item is encountered.
* Add CDC Host class driver EVENT_CDC_Host_ControLineStateChanged() event.Dean Camera2009-08-114-4/+15
| | | | Minor documentation fixes.
* Document CDC Host class driver functions and enums.Dean Camera2009-08-112-1/+61
|
* Add new functions to the HID host class driver, refine HID interface ↵Dean Camera2009-08-119-22/+80
| | | | | | protocol matching. Remove stray state variable from the CDC host class driver.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-1111-69/+58
| | | | | | | | | | a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
* Completion of initial CDC host mode class driver.Dean Camera2009-08-113-9/+34
| | | | Adjustments to the CDC and MIDI device class drivers to use sizeof() on the actual variable being transmitted or received rather than its datatype to reduce possible mistakes.
* Fix issue in CDC device class driver where received data the size of the ↵Dean Camera2009-08-1114-11/+168
| | | | | | | | data endpoint could lock up the driver. Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
* Commit for the 090810 release.Dean Camera2009-08-091-1/+0
|
* Cleanups to RNDIS device demos. Fix issue in RNDIS demos where the memory ↵Dean Camera2009-08-0716-70/+75
| | | | | | | | would become corrupted due to an incorrect bounds check when iterating over the port state table, causing random resets. Revert change to Template_Endpoint_Control_R.c, which broke control stream reads. Remove uneeded ADC.h include in the class driver AudioOutput demo.
* Make Benito ping-pong LED code more explicit, using masks of the TX and RX ↵Dean Camera2009-08-074-9/+12
| | | | | | LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask. Fix incorrect event name in MassStorageHost.c.
* Simplify CDC device demos, by directly assigning the string to transmit to ↵Dean Camera2009-08-064-64/+26
| | | | the pointer, rather than using an intermediatary table to hold all the possible transmit strings.
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-0614-118/+129
| | | | | | incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
* Add Benito board LED driver to the Benito Programmer project.Dean Camera2009-08-051-0/+110
|
* Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean Camera2009-08-0512-27/+24
| | | | | | | | pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
* Make Control Endpoint stream transfers more reliable by adding in early ↵Dean Camera2009-08-0518-65/+71
| | | | | | | | aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes. Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed. Fix incorrect model compatibility information in the Host LowLevel demo overview text files.
* Changed over manual loops waiting for endpoints to be ready to use the ↵Dean Camera2009-08-059-91/+31
| | | | library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
* Commit for 090810rc1 release.Dean Camera2009-08-0511-7/+27
|
* Fix incorrect Event call name in USBInterrupt.c.Dean Camera2009-08-054-8/+9
|
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-05120-758/+665
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Better fix for LowLevel CDC demo issue where sending data before the line ↵Dean Camera2009-08-044-49/+37
| | | | encoding is set will cause a failure of the host to open the port. Added fix to the DualCDC and USBtoSerial LowLevel demos.
* Fix issue with CDC device demos causing broken communications when the ↵Dean Camera2009-08-043-5/+22
| | | | device tries to send data before the host has set the line encoding.
* Update migration notes for the upcomming 090810 release.Dean Camera2009-08-031-2/+13
|
* Cleanup and optimization of the internal serial retrieval routines.Dean Camera2009-08-033-17/+12
| | | | Renamed ATTR_NOINLINE to ATTR_NO_INLINE to fit with the rest of the library function attribute names.
* Fix build error in TestApp demo caused by previous commit.Dean Camera2009-08-021-1/+1
|
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-0271-76/+75
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Make both LowLevel and ClassDriver AudioOutput demos always output to board ↵Dean Camera2009-08-024-42/+28
| | | | LEDs, regardless of output mode (removed AUDIO_OUT_LEDS compile time option from the demo). This allows for positive feedback to the user of audio activity regardless of output mode.
* Removed interrupt disable/enable from the Device mode control request ↵Dean Camera2009-08-026-10/+5
| | | | | | processing routines, as they can cause problems with user code and can cause infinite spinlocks under some circumstances. Added new LUFA logo from EDIGMA.COM.