aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Optimized Endpoint_Read_Word_* and Pipe_Read_Word_* macros to reduce ↵Dean Camera2009-08-255-18/+35
| | | | | | compiled size. Fixed Programmer's Notepad project file to reflect new location of AVRISP project.
* Add VTARGET level detection to the AVRISP project on supported AVR models.Dean Camera2009-08-254-7/+31
|
* Make AVRISP project build again - fix incorrect preprocessor directive in ↵Dean Camera2009-08-252-2/+2
| | | | V2Protocol.c, fix makefile LUFA_PATH.
* Partial Commit: Remove now empty Projects\Incomplete directory and add the ↵Dean Camera2009-08-251-0/+4
| | | | new AVRISP project to the Projects directory makefile.
* Partial Commit: Move AVRISP project out of the Projects\Incomplete directory.Dean Camera2009-08-2514-0/+0
|
* Add function documentation to the AVRISP project.Dean Camera2009-08-257-30/+152
|
* Finished preliminary AVRISP project - all V2 protocol commands now work ↵Dean Camera2009-08-251-29/+17
| | | | correctly for basic operations.
* Fixed AVRISP V2 Protocol handler for the READ_FLASH_ISP and READ_EEPROM_ISP ↵Dean Camera2009-08-252-22/+32
| | | | handler - can now correctly read back device data. Programming command handler is still broken, although first page is written correctly to FLASH in paged write mode.
* Updated Benito project -- added hardware interrupt and software buffering ↵Dean Camera2009-08-2514-53/+318
| | | | | | | | for serial data reception to prevent missed characters, condensed pulse generation counters into a struct for clarity. Added check to CDC_Device_BytesReceived() to ensure 0 is returned when device is not enumerated to a host. Move AVRISP project's V2Protocol_DelayMS() function to be static inline, as it is now very minimal. Added extra project doxygen documentation.
* Fix endianness of LOAD_ADDRESS command data, add correct ↵Dean Camera2009-08-244-36/+42
| | | | PROGRAM_FLASH_ISP/PROGRAM_EEPROM_ISP polling and endpoint bank clearing, add hardware delays/timeouts to the V2 Protocol handler in the AVRISP project.
* Switch to hardware delays and timeouts via a hardware timer in the V2 ↵Dean Camera2009-08-246-28/+101
| | | | | | | | Protocol handler. More additions to the PROGRAM_FLASH_ISP and PROGRAM_EEPROM_ISP commands, although neither work correctly yet. Added dummy RESET_PROTECTIONS handler to prevent the Atmel driver from crashing when the command returns an UNKNOWN_COMMAND error code.
* Added PROGRAM_FLASH_ISP and PROGRAM_EEPROM_ISP handler code to the V2 ↵Dean Camera2009-08-244-9/+71
| | | | Protocol handler in the AVRISP project, programming complete checks not yet complete.
* Fixed V2 Protocol READ_FLASH_ISP and READ_EEPROM_ISP handler code in the ↵Dean Camera2009-08-241-9/+0
| | | | AVRISP project.
* Fix to V2 Protocol for Fuse/Sig/Lock byte read -- off by one error on the ↵Dean Camera2009-08-248-21/+57
| | | | | | array when writing back the response from the device. FLASH/EEPROM reading and writing currently broken and unfinished, respectively.
* 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
|