Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed Device mode HID Class driver not explicitly initializing the ↵ | Dean Camera | 2009-08-27 | 3 | -5/+6 | |
| | | | | ReportSize parameter to zero before calling callback routine, so that ignored callbacks don't cause incorrect data to be sent. | |||||
* | Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵ | Dean Camera | 2009-08-27 | 8 | -281/+249 | |
| | | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex). | |||||
* | Add check to Pipe_IsEndpointBound() in the Mass Storage Host mode Class ↵ | Dean Camera | 2009-08-27 | 2 | -2/+6 | |
| | | | | driver to ensure that multiple instances of the driver can be used on a single device with multiple Mass Storage interfaces. | |||||
* | Simplified Host mode Mass Storage Class driver to reduce compiled program size. | Dean Camera | 2009-08-27 | 2 | -102/+47 | |
| | ||||||
* | Fix memory corruption in Host mode Mass Storage Class driver. | Dean Camera | 2009-08-27 | 3 | -4/+4 | |
| | ||||||
* | Added better USB Class driver overviews. | Dean Camera | 2009-08-27 | 7 | -15/+45 | |
| | ||||||
* | Added new "Common" section to the class drivers, to hold all ↵ | Dean Camera | 2009-08-27 | 12 | -88/+166 | |
| | | | | | | mode-independant definitions for clarity. Moved SCSI command/sense constants into the Mass Storage Class driver, instead of the user-code. | |||||
* | Added extra note about missing OUT endpoint configuration to the HID Device ↵ | Dean Camera | 2009-08-27 | 2 | -1/+41 | |
| | | | | | | mode Class driver. Added pinout information to the AVRISP project. | |||||
* | Fixed Device mode HID Class driver always sending IN reports, even when no ↵ | Dean Camera | 2009-08-27 | 2 | -3/+4 | |
| | | | | data is to be reported. | |||||
* | Minor documentation fixes to the completed Host mode Class drivers. | Dean Camera | 2009-08-27 | 4 | -7/+13 | |
| | ||||||
* | Completed initial Host mode Mass Storage class driver. | Dean Camera | 2009-08-27 | 2 | -10/+271 | |
| | ||||||
* | Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵ | Dean Camera | 2009-08-26 | 3 | -17/+145 | |
| | | | | mode Mass Storage Class driver. | |||||
* | Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵ | Dean Camera | 2009-08-26 | 7 | -7/+50 | |
| | | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder. | |||||
* | Oops: Really disable building of Projects/Host/ClassDriver directory in the ↵ | Dean Camera | 2009-08-26 | 7 | -18/+111 | |
| | | | | | | | | Projects/Host/ makefile. Add more skeleton functions and definitions to the Mass Storage Host mode Class driver. Made Endpoint_Write_DWord_* functions echo the structure of the matching Endpoint routines for clarity. | |||||
* | More work on the Mass Storage Host mode Class driver. | Dean Camera | 2009-08-26 | 12 | -81/+407 | |
| | | | | | | Added ATTR_NON_NULL_PTR_ARG() attributes to the class drivers to improve user code reliability by disallowing explicit NULL pointers as pointer parameters in function calls where the parameter must not be NULL. Disabled building of the Demos/Host/ClassDriver directory until Host Mode Class drivers are complete to prevent build errors in the meantime. | |||||
* | Optimized Endpoint_Read_Word_* and Pipe_Read_Word_* macros to reduce ↵ | Dean Camera | 2009-08-25 | 5 | -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 Camera | 2009-08-25 | 4 | -7/+31 | |
| | ||||||
* | Make AVRISP project build again - fix incorrect preprocessor directive in ↵ | Dean Camera | 2009-08-25 | 2 | -2/+2 | |
| | | | | V2Protocol.c, fix makefile LUFA_PATH. | |||||
* | Partial Commit: Remove now empty Projects\Incomplete directory and add the ↵ | Dean Camera | 2009-08-25 | 1 | -0/+4 | |
| | | | | new AVRISP project to the Projects directory makefile. | |||||
* | Partial Commit: Move AVRISP project out of the Projects\Incomplete directory. | Dean Camera | 2009-08-25 | 14 | -0/+0 | |
| | ||||||
* | Add function documentation to the AVRISP project. | Dean Camera | 2009-08-25 | 7 | -30/+152 | |
| | ||||||
* | Finished preliminary AVRISP project - all V2 protocol commands now work ↵ | Dean Camera | 2009-08-25 | 1 | -29/+17 | |
| | | | | correctly for basic operations. | |||||
* | Fixed AVRISP V2 Protocol handler for the READ_FLASH_ISP and READ_EEPROM_ISP ↵ | Dean Camera | 2009-08-25 | 2 | -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 Camera | 2009-08-25 | 14 | -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 Camera | 2009-08-24 | 4 | -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 Camera | 2009-08-24 | 6 | -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 Camera | 2009-08-24 | 4 | -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 Camera | 2009-08-24 | 1 | -9/+0 | |
| | | | | AVRISP project. | |||||
* | Fix to V2 Protocol for Fuse/Sig/Lock byte read -- off by one error on the ↵ | Dean Camera | 2009-08-24 | 8 | -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 Camera | 2009-08-23 | 3 | -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 Camera | 2009-08-23 | 7 | -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 Camera | 2009-08-23 | 9 | -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 Camera | 2009-08-23 | 10 | -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 Camera | 2009-08-20 | 1 | -1/+1 | |
| | | | | AVRISP project files. | |||||
* | Renamed Projects/Unfinished to Projects/Incomplete for consistancy. | Dean Camera | 2009-08-20 | 12 | -0/+0 | |
| | ||||||
* | Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP ↵ | Dean Camera | 2009-08-20 | 5 | -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 Camera | 2009-08-19 | 2 | -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 Camera | 2009-08-19 | 8 | -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 Camera | 2009-08-19 | 5 | -93/+132 | |
| | | | | pin. | |||||
* | Added handler for the V2 Protocol SPI_MULTI command to the AVRISP Programmer ↵ | Dean Camera | 2009-08-19 | 8 | -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 Camera | 2009-08-19 | 7 | -55/+39 | |
| | | | | to connect to it. | |||||
* | Fixed invalid data being returned when a GetStatus request is issued in ↵ | Dean Camera | 2009-08-18 | 3 | -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 Camera | 2009-08-18 | 10 | -0/+0 | |
| | | | | while it is under development. | |||||
* | Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to ↵ | Dean Camera | 2009-08-18 | 6 | -65/+222 | |
| | | | | communicate with the device. | |||||
* | Added beginnings of a new AVRISP-MKII clone project. | Dean Camera | 2009-08-17 | 18 | -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 Camera | 2009-08-16 | 6 | -25/+44 | |
| | ||||||
* | Fix misspelt event name in the Class driver USBtoSerial demo, preventing ↵ | Dean Camera | 2009-08-16 | 2 | -1/+4 | |
| | | | | correct operation. | |||||
* | Fix USBtoSerial device demos -- ensure the UDR1 register contents is read in ↵ | Dean Camera | 2009-08-16 | 2 | -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 Camera | 2009-08-16 | 23 | -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 Camera | 2009-08-13 | 11 | -16/+16 | |
| | | | | the 10ms minimum polling period for Low Speed devices. |