aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Oops - missed a few references to the old global TimeoutMSRemaining counter ↵Dean Camera2010-02-201-5/+18
| | | | in ISPTarget.c of the AVRISP-MKII clone project.
* AVRISP programmer project now has a more robust timeout system, allowing for ↵Dean Camera2010-02-196-66/+111
| | | | a doubling of the software USART speed for PDI and TPI programming.
* Add NO_VTARGET_DETECT compile time option to the AVRISP-MKII clone project, ↵Dean Camera2010-02-131-1/+1
| | | | to disable VTARGET detection on AVR models with an on-chip ADC.
* 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-104-14/+39
| | | | | | 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-013-6/+6
|
* Fixed issues with EEPROM and FLASH ISP programming in the AVRISP project.Dean Camera2010-02-012-8/+9
|
* 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.
* Manually pull PDI clock pin high for 1ms before disabling PDI mode in the ↵Dean Camera2010-01-271-0/+8
| | | | AVRISP-MKII project, to ensure that the PDI bus is disabled in the target and /RESET functionality restored.
* Cleanup and partially fix AVRISP-MKII project's TPI programming support.Dean Camera2010-01-254-23/+53
|
* Minor code cleanups, remove TemperatureDataLogger host application's Visual ↵Dean Camera2010-01-253-5/+5
| | | | Studio Solution files, add LibHIDNet license files.
* Added explicit ADC channel masks for the standard set of ADC channels, as ↵Dean Camera2010-01-252-4/+12
| | | | the single-ended channel MUX masks are not equal to the channel number on some AVR models. Changed demos to use the new channel masks when using the ADC driver.
* Changed XPLAINBridge project to be both a USB to USART bridge and a PDI ↵Dean Camera2010-01-194-19/+38
| | | | programmer, based on the state of a mode select pin.
* Clean up and add more comments to the AVRISP-MKII project. Make sure the ↵Dean Camera2010-01-178-42/+76
| | | | SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs.
* Update Doxygen configuration files to the latest Doxygen version.Dean Camera2010-01-063-5/+7
|
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-051-0/+6
| | | | events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
* Update copyright year to 2010.Dean Camera2009-12-3017-34/+34
|
* Reduced guard bit time in the AVRISP project PDI/TPI protocols to reduce the ↵Dean Camera2009-12-293-5/+10
| | | | time needed to reverse the data communication direction.
* Fixed AVRISP PDI race condition where the guard time between direction ↵Dean Camera2009-12-294-63/+83
| | | | changes could be interpreted as a start bit. Fixed TPI interface lines not being changed correctly when in bit-banged TPI mode.
* Change the AVRISP project's RESET LINE makefile tokens to AUX LINE, as it is ↵Dean Camera2009-12-293-13/+13
| | | | not always used for target reset.
* Fix TPI NVM Write handler -- AVRStudio sends out writes in page sized ↵Dean Camera2009-12-284-9/+22
| | | | chunks, not byte sized chunks.