aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Incomplete/AVRISP/Lib/V2Protocol.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix endianness of LOAD_ADDRESS command data, add correct ↵Dean Camera2009-08-241-22/+36
| | | | 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-241-13/+45
| | | | | | | | 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-241-9/+55
| | | | 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-241-5/+33
| | | | | | 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-231-3/+100
| | | | 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-231-72/+2
| | | | | | 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-231-40/+15
| | | | | | | | 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-231-29/+248
| | | | | | 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.
* Renamed Projects/Unfinished to Projects/Incomplete for consistancy.Dean Camera2009-08-201-0/+232