aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.