aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year on all source files.Dean Camera2011-01-0117-34/+34
|
* Combined page and word ISP programming mode code in the AVRISP-MKII clone ↵Dean Camera2010-12-251-110/+66
| | | | project to reduce compiled size and increase maintainability of the code.
* Fixed possible programming problem in the AVRISP-MKII clone project when ↵Dean Camera2010-12-251-13/+15
| | | | programming specific patterns into a target memory space that is only byte (not page) addressable.
* Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID ↵Dean Camera2010-12-131-0/+3
| | | | | | class driver (thanks to Opendous Inc.). Add extra comments to the ISPTarget.c source file in the AVRISP-MKII clone project.
* Lower bulk endpoint polling rate in the descriptors to the lowest possible ↵Dean Camera2010-11-222-2/+2
| | | | value to give maximum throughput.
* Rename incorrectly named XPROGTarget_SendBreak() function to ↵Dean Camera2010-11-173-11/+14
| | | | 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-167-61/+87
| | | | automatically after exiting TPI programming mode.
* Slow AVRISP-MKII clone PDI/TPI programming speed back to 250KHz due to ↵Dean Camera2010-11-162-5/+7
| | | | | | 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.
* Added new XCK_RESCUE_CLOCK_ENABLE compile time option to the AVRISP-MKII ↵Dean Camera2010-11-163-12/+26
| | | | clone programmer project (thanks to Tom Light).
* Second patch to fix incorrect PDI/TPI programming speed.Dean Camera2010-11-145-8/+7
|
* Fixed PDI/TPI programming speed of ~250KHz in the AVRISP-MKII Clone project, ↵Dean Camera2010-11-123-4/+7
| | | | instead of the desired 500KHz.
* Added board hardware driver support for the Adafruit U4 breakout board.Dean Camera2010-11-082-3/+3
| | | | | | 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-024-17/+47
| | | | 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-2817-17/+17
| | | | 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-1317-327/+341
| | | | tool made by Laszlo Monda
* Revert change to the AVRISP-MKII project for fuse byte programming via the ↵Dean Camera2010-10-021-9/+0
| | | | CMDEX bit - this appears to be an error in the XMEGA manual external memory programming table.
* Fixed broken lock byte programming in the AVRISP-MKII clone project for some ↵Dean Camera2010-10-022-3/+10
| | | | XMEGA targets.
* Fixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when ↵Dean Camera2010-10-022-4/+15
| | | | writing in non-paged mode and the polling byte cannot be used.
* Changed default value for the reset polarity parameter in the AVRISP-MKII ↵Dean Camera2010-09-292-2/+4
| | | | | | project so that it defaults to active low drive. Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set.
* 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.
* Added compile time error to the AVRISP-MKII project when built for the U4 ↵Dean Camera2010-08-221-0/+4
| | | | chips, as the default VTARGET detection ADC channel does not exist on these chips (thanks to Marco).
* Commit for the 100807 release.Dean Camera2010-08-091-1/+1
|
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-021-2/+8
| | | | in some situations.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-302-2/+2
| | | | EN-GB spelling dictionary.
* Remove obsolete macros and preprocessor checks from the AVRISP-MKII ↵Dean Camera2010-07-291-29/+16
| | | | project's V2Protocol command handler header file.
* Added support to the AVRISP-MKII project for ISP speeds slower than 125KHz ↵Dean Camera2010-07-295-85/+254
| | | | | | 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-216-12/+29
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device ↵Dean Camera2010-07-131-1/+1
| | | | is bus-powered only. Add compile time options to reduce the compiled size of the firmware.
* Remove the timeout period extension code from the AVRISP project, as no ↵Dean Camera2010-07-138-74/+31
| | | | 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-035-10/+11
|
* Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to ↵Dean Camera2010-05-271-1/+1
| | | | | | the AVRISP-MKII programmer project to set the VTARGET reference voltage and scale factor. Fixed XPLAINBridge project not correctly reading the XMEGA's supply voltage when reporting back to the host.
* The EEPROM stream read/write functions now use eeprom_update_byte() instead ↵Dean Camera2010-05-261-3/+11
| | | | | | of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan. Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile parameters to EEPROM to preserve its lifespan.
* 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 project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs ↵Dean Camera2010-05-144-44/+39
| | | | after programming or reading from the last page of FLASH.
* Remove incorrect check for the current device state in the Set Configuration ↵Dean Camera2010-05-132-24/+26
| | | | | | request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances. Move out the SPI prescaler list to a PROGMEM module-level variable in ISPTarget.c.
* Additional fix to the AVRISP-MKII clone project for 256KB AVRs.Dean Camera2010-05-131-18/+14
|
* Fixed AVRISP-MKII clone project not correctly issuing SET EXTENDED ADDRESS ↵Dean Camera2010-05-134-12/+40
| | | | | | 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-0817-3389/+3389
| | | | 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-022-2/+3
| | | | project.
* Switch back to C based timeout ISR in the AVRISP project - assembly version ↵Dean Camera2010-05-023-23/+19
| | | | 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-027-114/+61
| | | | | | 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.