aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* Added ability to search by Channel PSM to the GetChannelData() function in ↵Dean Camera2010-04-221-1/+1
| | | | | | | | | | the BluetoothHost demo. Added new HCI states to properly initialize the bluetooth dongle and retrieve the local BDADDR. Factored out Bluetooth state information into a new state structure for easy reference in the user application. Added new StackInitialized() Bluetooth stack callback function.
* 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-314-0/+29
| | | | 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.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-242-36/+36
|
* Update Temperature board driver to be AVR32 compatible when the ADC ↵Dean Camera2010-02-232-36/+36
| | | | | | peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports. Add SPI driver aliases for the old function names in the AVR8 driver, so that existing code will still compile against the new version.
* 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-218-31/+58
| | | | 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-213-5/+9
| | | | of the AVRISP project.