aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrights to 2015 (better late than never).Dean Camera2015-05-171-2/+2
|
* Update copyrights for 2014.Dean Camera2014-01-041-2/+2
|
* Reduce PDI/TPI reset hold period from 1ms to 100us, as the former caused ↵Dean Camera2013-11-211-2/+2
| | | | sporadic session issues.
* Increase AVRISP-MKII Clone PDI/TPI handshake to 1ms from 1us for targets ↵Dean Camera2013-11-041-2/+2
| | | | with high /RESET line capacitance.
* Update copyright year to 2013.Dean Camera2013-01-031-2/+2
|
* Minor documentation improvements.Dean Camera2012-10-051-1/+1
|
* Minor documentation improvements.Dean Camera2012-04-151-1/+1
|
* Reverted AVRISP-MKII clone project watchdog based command timeout patch in ↵Dean Camera2012-04-011-1/+1
| | | | favour of a hardware timer, to allow for use in devices with WDTRST fuse programmed.
* Oops - don't reset AVRISP-MKII timeout in XPROG mode, as this is synchronous ↵Dean Camera2012-02-191-3/+0
| | | | serial and data is always received regardless of attached or non-attached target.
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Fixed AVRISP-MKII Clone timing out on long programming commands such as ↵Dean Camera2012-01-301-0/+3
| | | | programming the EEPROM on an ATMEGA8 (thanks to Martin Kelling).
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-2/+2
| | | | trailing whitespace at the end of each line.
* Added reliability patches to the AVRISP-MKII Clone project's PDI/TPI ↵Dean Camera2011-10-121-10/+9
| | | | protocols (thanks to Justin Mattair).
* Added reliability patches to the AVRISP-MKII Clone project's ISP and PDI/TPI ↵Dean Camera2011-10-071-3/+8
| | | | protocols (thanks to Justin Mattair).
* Massive corrections to the project documentation and code comments, thanks ↵Dean Camera2011-06-051-1/+1
| | | | to Russian translation services provided by Andrey from Microsin.ru.
* Oops - revert commit of an incomplete port of the AVRISP-MKII project.Dean Camera2011-05-291-109/+72
|
* Added new incomplete AudioInputHost Host LowLevel demo.Dean Camera2011-05-291-72/+109
| | | | | | 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.
* Changed AVRISP-MKII project to use the Watchdog interrupt for command ↵Dean Camera2011-01-221-1/+1
| | | | timeouts, to reduce CPU usage and free timer 0 for other uses in the future.
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Rename incorrectly named XPROGTarget_SendBreak() function to ↵Dean Camera2010-11-171-10/+10
| | | | XPROGTarget_SendIdle(), as it is sending idle bits and not break bits.
* Fixed AVRISP-MKII clone project not starting the target's program ↵Dean Camera2010-11-161-2/+2
| | | | automatically after exiting TPI programming mode.
* Added new XCK_RESCUE_CLOCK_ENABLE compile time option to the AVRISP-MKII ↵Dean Camera2010-11-161-1/+1
| | | | clone programmer project (thanks to Tom Light).
* Second patch to fix incorrect PDI/TPI programming speed.Dean Camera2010-11-141-1/+1
|
* Fixed PDI/TPI programming speed of ~250KHz in the AVRISP-MKII Clone project, ↵Dean Camera2010-11-121-1/+1
| | | | instead of the desired 500KHz.
* 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-10/+11
| | | | tool made by Laszlo Monda
* Remove the timeout period extension code from the AVRISP project, as no ↵Dean Camera2010-07-131-16/+1
| | | | 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.
* Make loops in AVRISP-MKII Clone project's XPROG protocol infinite rather ↵Dean Camera2010-06-251-2/+0
| | | | than looping on the timeout value, as this is already checked inside the loop anyway.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-221/+221
| | | | correctly converted to the target system's native end of line style.
* Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it ↵Dean Camera2010-05-041-242/+1
| | | | was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header.
* Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so ↵Dean Camera2010-05-031-2/+2
| | | | that the stream functions early-abort if the bus is suspended before or during a transfer.
* Switch back to C based timeout ISR in the AVRISP project - assembly version ↵Dean Camera2010-05-021-0/+13
| | | | 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-52/+6
| | | | | | 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).
* Make sure that long reads are aborted early if the connection times out ↵Dean Camera2010-04-301-0/+3
| | | | while waiting on more bytes in the AVRISP MKII clone project.
* Make sure that the NVM bus/controller busy waits in the AVRISP MKII clone ↵Dean Camera2010-04-301-11/+22
| | | | project abort properly if a timeout occurs while waiting for a response.
* Make AVRISP-MKII clone project's software PDI/TPI mode more robust by ↵Dean Camera2010-04-281-14/+25
| | | | keeping track of timeouts while waiting for a Tx/Rx to finish.
* Remove redundant check in the software PDI programming code of the AVRISP ↵Dean Camera2010-03-171-4/+0
| | | | project.
* Software PDI mode breaks unless the software USART has 100 cycles between bits.Dean Camera2010-03-171-5/+7
|
* Don't enable the pullup on the target /RESET line in the AVRISP project for ↵Dean Camera2010-03-161-4/+3
| | | | PDI mode - clearing the XMEGA's reset control register twice is enough to release it from reset. Possible silicon bug, since the official Atmel programmers have the same issue.
* Fixed PDI programming mode in the AVRISP programmer project not exiting ↵Dean Camera2010-03-161-15/+6
| | | | | | programming mode correctly (clear target Reset key twice, set /RESET pin to pullup). Add newlines to the MIDI event printf() statements in the MIDI host demos.
* Fixed software PDI/TPI programming mode in the AVRISP project not correctly ↵Dean Camera2010-02-231-2/+2
| | | | | | toggling just the clock pin. Fix broken AVR8 Serial peripheral driver.
* Oops - need to revert changes made to ease testing of the software PDI ↵Dean Camera2010-02-211-0/+1
| | | | programming mode.
* Remove dual ISR for software PDI mode, use a single ISR instead to reduce ↵Dean Camera2010-02-211-41/+33
| | | | code complexity.
* More fixes to the AVRISP command timeout system so that it should no longer ↵Dean Camera2010-02-211-3/+6
| | | | lock up while processing command no matter what the conditions.
* AVRISP programmer project now has a more robust timeout system, allowing for ↵Dean Camera2010-02-191-36/+82
| | | | a doubling of the software USART speed for PDI and TPI programming.
* Use _delay_us() function in the XPROGTarget.c file to ensure timing ↵Dean Camera2010-01-311-9/+5
| | | | requirements are met, rather than a fixed number of NOPs.
* Oops - PDI handshake delay was too long, causing the device's /RESET ↵Dean Camera2010-01-311-4/+8
| | | | functionality to be re-enabled.
* Fix TPI communications in the AVRISP project when bit-banged USART mode is ↵Dean Camera2010-01-291-5/+5
| | | | selected.
* Ensure TPI enable timing requirements are met in AVRISP-MKII programmer. ↵Dean Camera2010-01-271-10/+7
| | | | Remove invalid code in the TPI read/write functions.