aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII
Commit message (Collapse)AuthorAgeFilesLines
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-2/+2
|
* Add special support to the AVRISP-MKII for the new model USBTINY-MKII's ↵Dean Camera2010-07-292-6/+14
| | | | | | | | additional LED to indicate target power source. Add support to the USBTINY-MKII's additional LED in the board's LED driver header. Changed LED indicator masks for the AVRISP-MKII project, so that there are defined roles for each LED.
* 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-296-86/+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-218-15/+35
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-192-81/+64
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean Camera2010-07-181-1/+1
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-151-0/+1
| | | | apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-151-18/+6
| | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
* Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device ↵Dean Camera2010-07-133-3/+6
| | | | 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.
* Rename the AVRISP main source files to AVRISP-MKII so that it matches the ↵Dean Camera2010-07-135-2/+3
| | | | project name. Add AVRStudio project file for the AVRISP-MKII project.
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-121-1/+2
|
* Move out Bluetooth stack callback functions to a seperate ↵Dean Camera2010-07-081-4/+4
| | | | BluetoothEvents.c/.h set of files for clarity in the Incomplete BluetoothHost demo. Add a new stack callback for opened ACL channels, make the demo save the RFCOMM channel when opened so that it does not have to search for it on each iteration of the main program loop.
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-022-1/+2
| | | | | | functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
* Add default "all" makefile targets to the demo tree makefiles.Dean Camera2010-06-251-1/+1
|
* 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.