aboutsummaryrefslogtreecommitdiff
path: root/Projects/AVRISP-MKII/Lib/V2Protocol.c
AgeCommit message (Collapse)Author
2012-04-14Reintegrate the FullEPAddresses development branch into trunk.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2155 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-04-01Reverted AVRISP-MKII clone project watchdog based command timeout patch in ↵Dean
favour of a hardware timer, to allow for use in devices with WDTRST fuse programmed. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2127 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-03-20Fixed AVRISP-MKII programmer project failing to compile for the U4 chips ↵Dean
when VTARGET_ADC_CHANNEL is defined to an invalid channel and NO_VTARGET_DETECT is defined (thanks to Steven Morehouse). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2118 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-26Added new VTARGET_USE_INTERNAL_REF configuration option to the AVRISP-MKII ↵Dean
clone project (thanks to Volker Bosch). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1898 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-01Spell check library source code files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1777 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-29Oops - revert commit of an incomplete port of the AVRISP-MKII project.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1772 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-29Added new incomplete AudioInputHost Host LowLevel demo.Dean
Added missing Audio class control request definitions. Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1771 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-04Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean
Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1726 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-22Changed AVRISP-MKII project to use the Watchdog interrupt for command ↵Dean
timeouts, to reduce CPU usage and free timer 0 for other uses in the future. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1640 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-10Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1628 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-01Update copyright year on all source files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1622 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-08Added board hardware driver support for the Adafruit U4 breakout board.Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1559 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-02Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1550 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-02Rescue clock of the AVRISP-MKII moved to the AVR's OCR1A pin, so that the ↵Dean
clock can be generated at all times when 125KHz ISP programming mode is selected. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1549 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-28Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean
redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1541 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-13Clean up excessive whitespace at the end of each line using the wspurify ↵Dean
tool made by Laszlo Monda git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1524 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-08-31Fix incorrect ADC driver documentation for the parameters of ADC_Init(), fix ↵Dean
incorrect call to ADC_Init() in the TemperatureDatalogger project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1458 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-30More spell checking of all source files -- correct missed errors, switch to ↵Dean
EN-GB spelling dictionary. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1426 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-13Remove the timeout period extension code from the AVRISP project, as no ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1385 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-14Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs ↵Dean
after programming or reading from the last page of FLASH. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1261 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-08Add svn:eol-style property to source files, so that the line endings are ↵Dean
correctly converted to the target system's native end of line style. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1248 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-02Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone ↵Dean
project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1229 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-02Switch back to C based timeout ISR in the AVRISP project - assembly version ↵Dean
was failing, and only one or two cycles could be shaved off the compiler generated code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1228 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-02Change AVRISP project's timeout to be interrupt based again, but make the ↵Dean
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). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1227 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-03-31Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project ↵Dean
to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1190 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-21More fixes to the AVRISP command timeout system so that it should no longer ↵Dean
lock up while processing command no matter what the conditions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1141 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-21Increased the speed of both software and hardware TPI/PDI programming modes ↵Dean
of the AVRISP project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1140 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-02-19AVRISP programmer project now has a more robust timeout system, allowing for ↵Dean
a doubling of the software USART speed for PDI and TPI programming. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1138 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-25Added explicit ADC channel masks for the standard set of ADC channels, as ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1058 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-19Changed XPLAINBridge project to be both a USB to USART bridge and a PDI ↵Dean
programmer, based on the state of a mode select pin. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1050 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-01-17Clean up and add more comments to the AVRISP-MKII project. Make sure the ↵Dean
SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1046 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-30Update copyright year to 2010.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1032 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-28Fix MIT license language to make its intent clearer.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1019 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-27Rename AVRISP project folder to AVRISP-MKII.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1016 d5102386-fcda-11dd-9fdb-3debd5008f28