aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Rename AVRISP project folder to AVRISP-MKII.Dean Camera2009-12-2717-3269/+0
|
* Remove missed timer 0 init code in the ISP protocol handler in the AVRISP ↵Dean Camera2009-12-274-81/+100
| | | | project. Switch the XPROG protocol target communications handler over to using Timer 1 COMA/COMB ISRs for the two physical layers, rather than COMA/ICR1. Speed up bit-banged USART mode slightly.
* Fixed ISP mode in the AVRISP programmer project.Dean Camera2009-12-263-19/+15
|
* Added const where possible to the source functions in the Projects directory.Dean Camera2009-12-2614-120/+90
| | | | | | Added command timeout to the AVRISP project so that incorrectly connected targets no longer freeze the device. Removed string descriptors from the TeensyHID bootloader to reduce its size.
* Complete TPI protocol code to enter and exit TPI programming mode for the ↵Dean Camera2009-12-244-36/+34
| | | | ATTINY 6-pin devices.
* Complete combining of PDI and TPI target communication code files, stub out ↵Dean Camera2009-12-248-127/+364
| | | | TINY NVM controller functions.
* Rename PDITarget.c/.h to XPROGTarget.c/.h so that both PDI and TPI ↵Dean Camera2009-12-244-438/+0
| | | | programming can be included in the one set of files.
* Remove serial driver use from the AVRISP project now that it is no longer ↵Dean Camera2009-12-243-4/+1
| | | | needed.
* Combine PDIProtocol and TPIProtocol into a single XPROGProtocol set of files.Dean Camera2009-12-2413-172/+212
|
* Rename PDIProtocol.c/.h to XPROGProtocol.c/.h as it will now handle both TPI ↵Dean Camera2009-12-247-107/+3
| | | | and PDI programming.
* Combine AVRISP project TPI and PDI lib directories - these protocols use the ↵Dean Camera2009-12-2414-2/+8
| | | | same underlying XPROG wrapper for the host-to-programmer command wrapping.
* Correct include paths and makefile for the AVRISP project now that the ↵Dean Camera2009-12-236-11/+14
| | | | protocol handlers are in seperate directories.
* Make seperate ISP, PDI and TPI folders in the AVRISP project Lib ↵Dean Camera2009-12-2316-0/+0
| | | | subdirectory to hold each protocol's files.
* Lower timeout periods in the AVRISP project. Increment firmware minor ↵Dean Camera2009-12-238-142/+34
| | | | revision number in the AVRISP project so that it remains comatible with the latest AVRStudio without an upgrade warning.
* Stub out more of the TPI programming protocol routines in the AVRISP project.Dean Camera2009-12-239-31/+173
|
* Seperate out XMEGA and TINY NVM routines into seperate files.Dean Camera2009-12-235-130/+347
|
* Start of implementation of the low level TPI programming protocol in the ↵Dean Camera2009-12-2310-10/+416
| | | | AVRISP project.
* Fixed AVRISP project timeouts not checking for the correct timeout period ↵Dean Camera2009-12-204-10/+55
| | | | (thanks to Carl Ott).
* Add const qualifier to the parameters of Projects' functions where possible.Dean Camera2009-12-2010-39/+42
|
* Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.Dean Camera2009-12-173-17/+15
| | | | Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
* More speed and quality improvements to the software USART in the AVRISP project.Dean Camera2009-12-164-37/+24
|
* Slightly speed up software USART in the AVRISP project - faster parity ↵Dean Camera2009-12-162-8/+24
| | | | computation, ensure received data is byte aligned when receive is complete by throwing away the start bit during reception.
* Use default NVM base address in the AVRISP programmer project in case the ↵Dean Camera2009-12-162-4/+5
| | | | host programmer software doesn't set it correctly.
* Speed up bit-banged USART code in the AVRISP project.Dean Camera2009-12-152-19/+23
| | | | Fix project text files to refer to "project" instead of "demo".
* Complete initial working revision of PDI programming in the AVRISP project ↵Dean Camera2009-12-154-79/+55
| | | | (XMEGAs can now be programmed by the firmware).
* Fix a bug in the Still Image Host Class driver where the returned block ↵Dean Camera2009-12-154-30/+133
| | | | | | status code was being truncated. Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
* Add Lock/Fuse byte programming support to the AVRISP PDI programming ↵Dean Camera2009-12-153-5/+84
| | | | protocol code.
* Fix error in AVRISP programmer when repeatedly using PDI mode via the ↵Dean Camera2009-12-154-39/+57
| | | | hardware USART due to the SendByte routine not clearing the Transmit Complete USART flag.
* Add Doxygen documentation to the completed portions of the PDI programming ↵Dean Camera2009-12-144-4/+59
| | | | protocol in the AVRISP project.
* Use the PDI REPEAT instruction in the PDI programmer code to reduce protocol ↵Dean Camera2009-12-145-41/+67
| | | | overhead and greatly improve transfer throughput. Switch bit-bang USART in the AVRISP project to Timer 1, so that Timer 0 can be used for hardware timeouts while waiting for the NVM bus or controller to become ready.
* Added memory erase handling to the PDI protocol in the AVRISP project.Dean Camera2009-12-143-1/+49
|
* Fix NVM commands so that memory reads and CRC generations now work correctly ↵Dean Camera2009-12-143-44/+108
| | | | using unoptimized PDI commands.
* Split out NVM access code in the AVRISP project into a seperate NVMTarget.c ↵Dean Camera2009-12-1411-120/+235
| | | | source file and header. Make NVM register accesses use the NVM base address as set by the host, rather than using the fixed value from the XMEGA datasheet.
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-133-8/+63
|
* The AVRISP project can now enter PDI mode under both bit-bang and hardware ↵Dean Camera2009-12-133-128/+194
| | | | USART connection modes, tested against the XPLAIN board hardware. Still need to complete higher level NVM access code so that the device's memories can be read and written.
* PDI NVM enable is fast enough that bare polling is enough without a fixed ↵Dean Camera2009-12-112-6/+6
| | | | delay in between each attempt. Make sure the USART transmitter is enabled explicitly when the USART is configured, so that repeated attempts to re-enter PDI mode don't fail due to TXEN not being set.
* Fix PDI code - must send NVM enable key least significant byte first, need ↵Dean Camera2009-12-112-17/+49
| | | | to make sure Tx and Rx is switched correctly including disabling the output on the Tx line when receiving.
* Fix AVRISP PDI protocol - make sure inverted masks have the appropriate ↵Dean Camera2009-12-113-12/+24
| | | | parenthesis around them, make sure the BREAK command for the hardware USART has 12 clock cycles exactly. Poll NVM Enable bit in the target's STATUS PDI register with a timeout, as it is not set immediately.
* Change over AVRISP project to have both hardware USART and software USART ↵Dean Camera2009-12-113-99/+183
| | | | modes for the PDI protocol, when enabled. Fix up PDI initialisation routines.
* Fix PDITarget_ReceiveByte() not discarding the start bit properly, and ↵Dean Camera2009-12-101-4/+6
| | | | reading in the bits inverted and in the wrong order.
* Add even parity bit to the software USART framing in the AVRISP project's ↵Dean Camera2009-12-091-6/+30
| | | | PDI programming code.
* Fix inverted bit-banged USART logic in the AVRISP project for PDI ↵Dean Camera2009-12-093-7/+7
| | | | programming. Add a delay to the clock toggling in the AVRISP project to ensure that the programming speed does not exceed 10MHz under any conditions to satisfy the limits in the datasheet for all target voltages. Fix incorrect pin being used as the DATA in in PDI programming mode.
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-091-1/+1
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ↵Dean Camera2009-12-081-1/+4
| | | | | | ClassDriver demo, so that slow devices don't time out the data pipe. Increase pipe timeout in both MassStorageHost demos to 5 seconds to account for the really slow devices. Fix TeensyHID bootloader not properly shutting down the USB interface to trigger a disconnection on the host before resetting the AVR.
* Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵Dean Camera2009-12-046-6/+6
| | | | | | | | an array of report items. Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype. Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.
* Make sure the protocol handler files are included in the Doxygen ↵Dean Camera2009-12-034-4/+4
| | | | documentation of the AVRISP project.
* Fix the tokens which enable and disable the different programming protocols ↵Dean Camera2009-12-0310-16/+31
| | | | in the AVRISP project.
* Auto-configure AVRISP programmer configuration when built for the XPLAIN ↵Dean Camera2009-12-035-8/+49
| | | | board to match the XPLAIN hardware connections.
* Document the PDI programming routines implemented so far in the AVRISP ↵Dean Camera2009-12-037-60/+79
| | | | project. Add ability to selectively disable ISP programming support in addition to the existing ability to disable PDI programming support.
* Started implementing the low level PDI protocol in the AVRISP project, for ↵Dean Camera2009-12-035-31/+236
| | | | XMEGA device programming.