aboutsummaryrefslogtreecommitdiff
path: root/Projects/AVRISP-MKII/Lib/XPROG
AgeCommit message (Collapse)Author
2012-05-10AppConfigHeaders: Update several user projects to use configuration header ↵Dean
files, rather than makefile defines. git-svn-id: http://lufa-lib.googlecode.com/svn/branches/AppConfigHeaders@2195 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-05-10Add branch for the conversion of demos to use standard C header files for ↵Dean
configuration, rather than makefile defined macros. git-svn-id: http://lufa-lib.googlecode.com/svn/branches/AppConfigHeaders@2192 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-05Raised the guard bits in the AVRISP-MKII clone project when in PDI and TPI ↵Dean
to 32, to prevent communication errors on low quality connections to a target. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2082 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-19Oops - don't reset AVRISP-MKII timeout in XPROG mode, as this is synchronous ↵Dean
serial and data is always received regardless of attached or non-attached target. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2055 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-08Minor documentation fixes.Dean
Make an explicit constant name for the CMDEX bit of the target's NVM command register in the AVRISP-MKII Clone project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2040 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-08Updated the AVRISP-MKII Clone programmer project to be compatible with the ↵Dean
latest version of AVR Studio (version 5.1). Changed the AVRISP-MKII Clone programmer project to report a fixed 3.3V VTARGET voltage on USB AVRs lacking an ADC instead of 5V to prevent warnings in AVR Studio 5.1 when programming XMEGA devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2038 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
2012-01-30Fixed AVRISP-MKII Clone timing out on long programming commands such as ↵Dean
programming the EEPROM on an ATMEGA8 (thanks to Martin Kelling). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2016 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-01-23Make all AVRISP-MKII programmer parameters readable, since there's no real ↵Dean
good reason to restrict parameter reads. Fix misspelt target reset polarity EEPROM variable. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2011 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-11-29Fixed AVRISP-MKII Clone failing to start application firmware once a TPI ↵Dean
programming session is exited. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2000 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-10-12Added reliability patches to the AVRISP-MKII Clone project's PDI/TPI ↵Dean
protocols (thanks to Justin Mattair). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1947 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-10-07Added reliability patches to the AVRISP-MKII Clone project's ISP and PDI/TPI ↵Dean
protocols (thanks to Justin Mattair). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1937 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-05Massive corrections to the project documentation and code comments, thanks ↵Dean
to Russian translation services provided by Andrey from Microsin.ru. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1782 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-13Replace cast-as-char* byte access of multibyte variables with proper shifts ↵Dean
and masks to preserve endianness across different architectures. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1738 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-02-04Fixed programming errors in the AVRISP-MKII project when the programming ↵Dean
packet is a round multiple of the endpoint bank size under avrdude (thanks to Steffan Woltjer). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1651 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-30Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean
peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1646 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-22Lower bulk endpoint polling rate in the descriptors to the lowest possible ↵Dean
value to give maximum throughput. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1588 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-17Rename incorrectly named XPROGTarget_SendBreak() function to ↵Dean
XPROGTarget_SendIdle(), as it is sending idle bits and not break bits. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1583 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-16Fixed AVRISP-MKII clone project not starting the target's program ↵Dean
automatically after exiting TPI programming mode. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1582 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-16Slow AVRISP-MKII clone PDI/TPI programming speed back to 250KHz due to ↵Dean
issues with the XPLAINBridge when PDI programming at faster rates. Speed up XMEGANVM_WaitWhileNVMControllerBusy() by preloading the status register address into the pointer register of the target's NVM controller and then reading via a faster indirect load command. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1581 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-16Added new XCK_RESCUE_CLOCK_ENABLE compile time option to the AVRISP-MKII ↵Dean
clone programmer project (thanks to Tom Light). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1580 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-14Second patch to fix incorrect PDI/TPI programming speed.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1578 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-11-12Fixed PDI/TPI programming speed of ~250KHz in the AVRISP-MKII Clone project, ↵Dean
instead of the desired 500KHz. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1577 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-10-02Revert change to the AVRISP-MKII project for fuse byte programming via the ↵Dean
CMDEX bit - this appears to be an error in the XMEGA manual external memory programming table. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1512 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-10-02Fixed broken lock byte programming in the AVRISP-MKII clone project for some ↵Dean
XMEGA targets. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1511 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-29Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean
via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1415 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-22Future proof the XPROG protocol of the AVRISP-MKII project, so that non PDI ↵Dean
and TPI requests return failure. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1403 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-07-21Update all demos, projects and bootloaders to indent all function ↵Dean
parameters, one per line, for better readability. Add missing const qualifiers to the demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1400 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-06-25Make loops in AVRISP-MKII Clone project's XPROG protocol infinite rather ↵Dean
than looping on the timeout value, as this is already checked inside the loop anyway. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1353 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-17Fixed broken PDI EEPROM Section Erase functionality in the AVRISP-MKII project.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1344 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-16Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean
the new 1.7 Doxygen's default stylesheet is much better. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1341 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-15Change over Doxygen \note documentation to \pre where applicable.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1336 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-06-03Minor documentation cleanups.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1312 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-16Fixed AVRISP project not sending a full erase-and-write EEPROM command to ↵Dean
XMEGA targets when writing to the EEPROM instead of the split write-only command (thanks to Tim Margush). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1262 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-13Fixed AVRISP-MKII clone project not correctly issuing SET EXTENDED ADDRESS ↵Dean
commands when the extended address boundary is crossed during programming or readback (thanks to Gerard Sexton). Fixed warnings when building the AVRISP-MKII clone project with the ENABLE_XPROG_PROTOCOL compile time option disabled. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1257 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-04Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it ↵Dean
was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1234 d5102386-fcda-11dd-9fdb-3debd5008f28
2010-05-03Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so ↵Dean
that the stream functions early-abort if the bus is suspended before or during a transfer. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1230 d5102386-fcda-11dd-9fdb-3debd5008f28