aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add NO_VTARGET_DETECT compile time option to the AVRISP-MKII clone project, ↵Dean Camera2010-02-133-2/+9
| | | | 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-105-14/+43
| | | | | | 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-042-2/+2
| | | | | | 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.
* Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.Dean Camera2010-02-031-1/+2
|
* 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-022-6/+21
| | | | datasheet conditions.
* Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and ↵Dean Camera2010-02-011-1/+1
| | | | | | | | USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen). Mark the AVRISP-MKII project descriptors as being both Bus Powered and Device Powered. Copy over file level documentation of the peripheral drivers to the module level documentation.
* Make AVRISP XPROG function parameters const where possible.Dean Camera2010-02-014-9/+8
|
* 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.