aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add return codes to the CDC Host Class driver String/Byte transmission ↵Dean Camera2009-08-316-13/+26
| | | | functions.
* Add extra check for OUT ZLP in the CDC Device Class driver service task to ↵Dean Camera2009-08-312-3/+6
| | | | quickly clear zero-length termination packets from the host.
* Removed unused INCLUDE_FROM_BOARD_DRIVER internal define from the board ↵Dean Camera2009-08-316-6/+2
| | | | driver dispatch headers.
* Oops - with new changes to the way the device Configuration Descriptor is ↵Dean Camera2009-08-3112-20/+20
| | | | retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters.
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-3119-254/+232
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Remove deleted source files from the Device mode Class driver demos to ↵Dean Camera2009-08-303-3/+0
| | | | enable them to be built.
* Remove deleted source files from the LUFA library makefile.Dean Camera2009-08-304-11/+9
| | | | Renamed parameters of SI_Host_ConfigurePipes() to match other Host mode Class drivers.
* Added start of the Still Image Host Class driver demo and driver code.Dean Camera2009-08-3019-26/+2723
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Remove skeleton Audio and MIDI Host mode Class drivers -- will not implement ↵Dean Camera2009-08-309-228/+1
| | | | in next release.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-3045-44/+47
|
* Move ADC VTARGET sampling to a new V2Params_UpdateParamValues() in the ↵Dean Camera2009-08-303-9/+24
| | | | AVRISP project so that there is a central place where all non-PC set target values can be updated easily.
* Increase AVRISP command timeout to 240ms up from 150ms to prevent some ISP ↵Dean Camera2009-08-283-3/+16
| | | | | | commands from timing out too early. Add check to the PROGRAM FLASH ISP and PROGRAM EEPROM ISP handler to return an explicit error when the host attempts to write more data than the device is able to buffer.
* Make WaitWhileBusy function in the AVRISP project more explicit about how it ↵Dean Camera2009-08-272-2/+3
| | | | | | sends and receives the busy check command. Reduce size of PROGRAM FLASH ISP or PROGRAM EEPROM ISP buffer to 256 bytes to prevent blowing the stack on the smallest USB AVR models.
* Fixed Device mode HID Class driver not explicitly initializing the ↵Dean Camera2009-08-273-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 Camera2009-08-278-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 Camera2009-08-272-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 Camera2009-08-272-102/+47
|
* Fix memory corruption in Host mode Mass Storage Class driver.Dean Camera2009-08-273-4/+4
|
* Added better USB Class driver overviews.Dean Camera2009-08-277-15/+45
|
* Added new "Common" section to the class drivers, to hold all ↵Dean Camera2009-08-2712-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 Camera2009-08-272-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 Camera2009-08-272-3/+4
| | | | data is to be reported.
* Minor documentation fixes to the completed Host mode Class drivers.Dean Camera2009-08-274-7/+13
|
* Completed initial Host mode Mass Storage class driver.Dean Camera2009-08-272-10/+271
|
* Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵Dean Camera2009-08-263-17/+145
| | | | mode Mass Storage Class driver.
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-267-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 Camera2009-08-267-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 Camera2009-08-2612-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 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.