aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Moved calls to V2Params_UpdateParamValues() out of the main AVRISP-MKII and ↵Dean Camera2010-06-213-6/+5
| | | | XPLAINBridge project loops and into the AVRISP management function.
* 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
|
* Add start of RFCOMM service layer to the incomplete BluetoothHost demo.Dean Camera2010-06-031-2/+2
| | | | Reduce the size of the attribute search list from 15 ranges to 8 to save RAM.
* Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to ↵Dean Camera2010-05-274-2/+18
| | | | | | 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.
* The RingBuff library code has been replaced in the XPLAINBridge project with ↵Dean Camera2010-05-261-2/+2
| | | | an ultra lightweight buffer to help improve the reliability of the bridge.
* Remove obsolete entry from the Doxygen configuration files.Dean Camera2010-05-231-1/+1
|
* Short UUIDs are measured in bytes, not bits -- update Service Discovery ↵Dean Camera2010-05-201-4/+6
| | | | Protocol code so that it can now correctly match against UUIDs in the service table.
* Begin processing code for Service Discovery Protocol attributes.Dean Camera2010-05-171-0/+1
|
* 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.
* The LIBUSB_FILTERDRV_COMPAT compile time option in the XPLAINBridge and ↵Dean Camera2010-05-134-7/+5
| | | | | | AVRISP-MKII projects has been renamed LIBUSB_DRIVER_COMPAT, as it applies to all software on all platforms using the libUSB driver. Fix Benito makefile which was accidentally changed during testing.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0824-6485/+6485
| | | | correctly converted to the target system's native end of line style.
* Change over instances of "make" in the makefiles to "$(MAKE)" to allow for ↵Dean Camera2010-05-071-1/+1
| | | | the make tool to be overridden.
* Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it ↵Dean Camera2010-05-043-293/+8
| | | | was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header.
* Fixed device state not being reset back to the default state if the host ↵Dean Camera2010-05-041-2/+3
| | | | | | | | sets the address to 0x00. Fixed Set Configuration requests not being stalled until the host has set the device's address. Fixed possibility of internal signature retrieval being corrupted if an interrupt occurs during a signature byte read (thanks to Andrei Krainev).
* 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-023-3/+4
| | | | project.
* Switch back to C based timeout ISR in the AVRISP project - assembly version ↵Dean Camera2010-05-024-25/+21
| | | | 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-028-115/+62
| | | | | | 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.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-281-2/+2
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-281-0/+1
| | | | be done in the user application once all init code has run.
* 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 information request/response signal handler to the Bluetooth Host demo.Dean Camera2010-04-063-3/+3
| | | | Ensure that the AVRISP-MKII project's Windows avrdude compatibility define is named properly in all parts of the code.
* Add user callback function to the Bluetooth host demo to filter out ↵Dean Camera2010-04-052-1/+5
| | | | | | | | 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-319-7/+64
| | | | to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility.
* Standardized the naming scheme given to configuration descriptor ↵Dean Camera2010-03-222-6/+6
| | | | | | sub-elements in the Device mode demos, bootloaders and projects. Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.
* 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-175-13/+14
|
* 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-243-37/+37
|
* 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-213-22/+3
| | | | programming mode.
* Remove dual ISR for software PDI mode, use a single ISR instead to reduce ↵Dean Camera2010-02-213-43/+55
| | | | 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.