aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib/V2Protocol.c
Commit message (Collapse)AuthorAgeFilesLines
* Changed AVRISP-MKII project to use the Watchdog interrupt for command ↵Dean Camera2011-01-221-13/+9
| | | | timeouts, to reduce CPU usage and free timer 0 for other uses in the future.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-101-2/+2
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Added board hardware driver support for the Adafruit U4 breakout board.Dean Camera2010-11-081-1/+1
| | | | | | Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct. Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set).
* Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean Camera2010-11-021-0/+3
| | | | | | generation in the AVRISP-MKII clone project. Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
* Rescue clock of the AVRISP-MKII moved to the AVR's OCR1A pin, so that the ↵Dean Camera2010-11-021-0/+1
| | | | clock can be generated at all times when 125KHz ISP programming mode is selected.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-20/+21
| | | | tool made by Laszlo Monda
* Fix incorrect ADC driver documentation for the parameters of ADC_Init(), fix ↵Dean Camera2010-08-311-1/+1
| | | | incorrect call to ADC_Init() in the TemperatureDatalogger project.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-301-1/+1
| | | | EN-GB spelling dictionary.
* Remove the timeout period extension code from the AVRISP project, as no ↵Dean Camera2010-07-131-6/+6
| | | | single command should ever exceed the maximum timeout period. Extend timeout period to 1 second per command, so that an accidental timeout will never occur.
* Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs ↵Dean Camera2010-05-141-3/+4
| | | | after programming or reading from the last page of FLASH.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-259/+259
| | | | correctly converted to the target system's native end of line style.
* Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone ↵Dean Camera2010-05-021-0/+1
| | | | project.
* Switch back to C based timeout ISR in the AVRISP project - assembly version ↵Dean Camera2010-05-021-0/+6
| | | | was failing, and only one or two cycles could be shaved off the compiler generated code.
* Change AVRISP project's timeout to be interrupt based again, but make the ↵Dean Camera2010-05-021-1/+7
| | | | | | interrupt itself interruptable and use a seperate assembly file to hand-optimize the ISR code. Removed the cast to uint16_t on the set baud rate in the USBtoSerial project, so that the higher >1M baud rates can be selected (thanks to Steffan).
* Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project ↵Dean Camera2010-03-311-0/+6
| | | | to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility.
* More fixes to the AVRISP command timeout system so that it should no longer ↵Dean Camera2010-02-211-3/+1
| | | | lock up while processing command no matter what the conditions.
* Increased the speed of both software and hardware TPI/PDI programming modes ↵Dean Camera2010-02-211-0/+4
| | | | of the AVRISP project.
* AVRISP programmer project now has a more robust timeout system, allowing for ↵Dean Camera2010-02-191-15/+0
| | | | a doubling of the software USART speed for PDI and TPI programming.
* Added explicit ADC channel masks for the standard set of ADC channels, as ↵Dean Camera2010-01-251-1/+1
| | | | the single-ended channel MUX masks are not equal to the channel number on some AVR models. Changed demos to use the new channel masks when using the ADC driver.
* Changed XPLAINBridge project to be both a USB to USART bridge and a PDI ↵Dean Camera2010-01-191-2/+20
| | | | programmer, based on the state of a mode select pin.
* Clean up and add more comments to the AVRISP-MKII project. Make sure the ↵Dean Camera2010-01-171-2/+4
| | | | SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Rename AVRISP project folder to AVRISP-MKII.Dean Camera2009-12-271-0/+233