aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib/XPROG
Commit message (Collapse)AuthorAgeFilesLines
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-291-3/+3
| | | | | | via a new software SPI driver. Added new SPI_ORDER_* data order masks to the SPI peripheral driver.
* Future proof the XPROG protocol of the AVRISP-MKII project, so that non PDI ↵Dean Camera2010-07-221-2/+2
| | | | and TPI requests return failure.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-212-6/+16
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Remove the timeout period extension code from the AVRISP project, as no ↵Dean Camera2010-07-134-42/+15
| | | | 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-253-14/+4
| | | | than looping on the timeout value, as this is already checked inside the loop anyway.
* Fixed broken PDI EEPROM Section Erase functionality in the AVRISP-MKII project.Dean Camera2010-06-172-14/+63
|
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-162-4/+4
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-151-1/+1
|
* Minor documentation cleanups.Dean Camera2010-06-031-2/+2
|
* Fixed AVRISP project not sending a full erase-and-write EEPROM command to ↵Dean Camera2010-05-161-1/+1
| | | | XMEGA targets when writing to the EEPROM instead of the split write-only command (thanks to Tim Margush).
* Fixed AVRISP-MKII clone project not correctly issuing SET EXTENDED ADDRESS ↵Dean Camera2010-05-133-3/+3
| | | | | | 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.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-088-1788/+1788
| | | | 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-042-270/+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.
* Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone ↵Dean Camera2010-05-021-2/+2
| | | | project.
* 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-023-80/+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-303-5/+8
| | | | 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-303-15/+54
| | | | 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.
* Add user callback function to the Bluetooth host demo to filter out ↵Dean Camera2010-04-051-0/+4
| | | | | | | | connections from remote devices. Add in ability to reject connections based on their bluetooth device address. Clean up RelayBoard project code. Make AVRISP project clear the XMEGA target's reset register twice; this does not appear to take affect properly the first time under some circumstances.
* Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project ↵Dean Camera2010-03-311-0/+8
| | | | to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility.
* 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-174-12/+13
|
* 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-162-16/+15
| | | | | | 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-212-21/+2
| | | | programming mode.
* Remove dual ISR for software PDI mode, use a single ISR instead to reduce ↵Dean Camera2010-02-212-42/+54
| | | | code complexity.
* More fixes to the AVRISP command timeout system so that it should no longer ↵Dean Camera2010-02-213-11/+22
| | | | 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-212-5/+5
| | | | of the AVRISP project.
* AVRISP programmer project now has a more robust timeout system, allowing for ↵Dean Camera2010-02-194-45/+111
| | | | a doubling of the software USART speed for PDI and TPI programming.
* Fixed lack of SECTION ERASE command in TPI programming mode of the AVRISP ↵Dean Camera2010-02-101-4/+12
| | | | project preventing fuses from being cleared.
* Added .5MHz recovery clock to the AVRISP programmer project when in ISP ↵Dean Camera2010-02-102-10/+22
| | | | | | programming mode to correct mis-set fuses. Fixed AVRISP project not extending the command delay after each successful page/word/byte program.
* Fixed USB_GetHIDReportSize() returning the number of bits in the specified ↵Dean Camera2010-02-091-4/+4
| | | | | | | | report instead of bytes. Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code. Make Webserver project report the LUFA version as part of the HTTP header.
* Fix LowLevel Keyboard demo -- accidentally trying to dereference a uint8_t ↵Dean Camera2010-02-081-1/+0
| | | | type in ProcessLEDReport().
* Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure ↵Dean Camera2010-02-084-59/+76
| | | | | | erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit. Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-041-1/+1
| | | | | | will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver). Spell-check code/comments in the Webserver/AVRISP-MKII projects.
* Minor fixups to the documentation and preprocessor tokens.Dean Camera2010-02-021-4/+5
|
* Fix TPI mode chip erase code not properly erasing the target memory space.Dean Camera2010-02-024-6/+13
|
* Oops - new Write Word alignment code in the TPI programming function means ↵Dean Camera2010-02-022-2/+2
| | | | that the WriteBuffer parameter is no longer const.
* Make TPI writes add a dummy high byte if the data isn't word-aligned.Dean Camera2010-02-021-2/+2
|
* Make TPI programming protocol program in words, not bytes to satisfy the ↵Dean Camera2010-02-021-4/+19
| | | | datasheet conditions.
* Make AVRISP XPROG function parameters const where possible.Dean Camera2010-02-012-4/+4
|
* 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.
* Oops - TPI programming is broken in the AVRISP project because the busy-flag ↵Dean Camera2010-01-291-3/+5
| | | | check wasn't inverting the result.
* Fix TPI communications in the AVRISP project when bit-banged USART mode is ↵Dean Camera2010-01-293-9/+9
| | | | selected.
* Clean up Webserver project - add more Doxygen documentation for the new DHCP ↵Dean Camera2010-01-271-2/+2
| | | | client functions and defines.
* Ensure TPI enable timing requirements are met in AVRISP-MKII programmer. ↵Dean Camera2010-01-272-20/+13
| | | | Remove invalid code in the TPI read/write functions.