aboutsummaryrefslogtreecommitdiff
path: root/Projects/AVRISP
AgeCommit message (Collapse)Author
2009-12-27Rename AVRISP project folder to AVRISP-MKII.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1016 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-27Remove missed timer 0 init code in the ISP protocol handler in the AVRISP ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1015 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-26Fixed ISP mode in the AVRISP programmer project.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1014 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-26Added const where possible to the source functions in the Projects directory.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1013 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-24Complete TPI protocol code to enter and exit TPI programming mode for the ↵Dean
ATTINY 6-pin devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1012 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-24Complete combining of PDI and TPI target communication code files, stub out ↵Dean
TINY NVM controller functions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1011 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-24Rename PDITarget.c/.h to XPROGTarget.c/.h so that both PDI and TPI ↵Dean
programming can be included in the one set of files. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1010 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-24Remove serial driver use from the AVRISP project now that it is no longer ↵Dean
needed. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1009 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-24Combine PDIProtocol and TPIProtocol into a single XPROGProtocol set of files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1008 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-24Rename PDIProtocol.c/.h to XPROGProtocol.c/.h as it will now handle both TPI ↵Dean
and PDI programming. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1007 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-24Combine AVRISP project TPI and PDI lib directories - these protocols use the ↵Dean
same underlying XPROG wrapper for the host-to-programmer command wrapping. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1006 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-23Correct include paths and makefile for the AVRISP project now that the ↵Dean
protocol handlers are in seperate directories. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1005 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-23Make seperate ISP, PDI and TPI folders in the AVRISP project Lib ↵Dean
subdirectory to hold each protocol's files. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1004 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-23Lower timeout periods in the AVRISP project. Increment firmware minor ↵Dean
revision number in the AVRISP project so that it remains comatible with the latest AVRStudio without an upgrade warning. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1003 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-23Stub out more of the TPI programming protocol routines in the AVRISP project.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1002 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-23Seperate out XMEGA and TINY NVM routines into seperate files.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1001 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-23Start of implementation of the low level TPI programming protocol in the ↵Dean
AVRISP project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1000 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-20Fixed AVRISP project timeouts not checking for the correct timeout period ↵Dean
(thanks to Carl Ott). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@995 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-20Add const qualifier to the parameters of Projects' functions where possible.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@992 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-17Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.Dean
Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@984 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-16More speed and quality improvements to the software USART in the AVRISP project.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@983 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-16Slightly speed up software USART in the AVRISP project - faster parity ↵Dean
computation, ensure received data is byte aligned when receive is complete by throwing away the start bit during reception. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@982 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-16Use default NVM base address in the AVRISP programmer project in case the ↵Dean
host programmer software doesn't set it correctly. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@980 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-15Speed up bit-banged USART code in the AVRISP project.Dean
Fix project text files to refer to "project" instead of "demo". git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@979 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-15Complete initial working revision of PDI programming in the AVRISP project ↵Dean
(XMEGAs can now be programmed by the firmware). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@978 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-15Fix a bug in the Still Image Host Class driver where the returned block ↵Dean
status code was being truncated. Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@977 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-15Add Lock/Fuse byte programming support to the AVRISP PDI programming ↵Dean
protocol code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@976 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-15Fix error in AVRISP programmer when repeatedly using PDI mode via the ↵Dean
hardware USART due to the SendByte routine not clearing the Transmit Complete USART flag. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@975 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-14Add Doxygen documentation to the completed portions of the PDI programming ↵Dean
protocol in the AVRISP project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@974 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-14Use the PDI REPEAT instruction in the PDI programmer code to reduce protocol ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@973 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-14Added memory erase handling to the PDI protocol in the AVRISP project.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@972 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-14Fix NVM commands so that memory reads and CRC generations now work correctly ↵Dean
using unoptimized PDI commands. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@971 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-14Split out NVM access code in the AVRISP project into a seperate NVMTarget.c ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@970 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-13Use -pedantic compile time option to find and correct several minor code errors.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@967 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-13The AVRISP project can now enter PDI mode under both bit-bang and hardware ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@966 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-11PDI NVM enable is fast enough that bare polling is enough without a fixed ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@965 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-11Fix PDI code - must send NVM enable key least significant byte first, need ↵Dean
to make sure Tx and Rx is switched correctly including disabling the output on the Tx line when receiving. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@964 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-11Fix AVRISP PDI protocol - make sure inverted masks have the appropriate ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@963 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-11Change over AVRISP project to have both hardware USART and software USART ↵Dean
modes for the PDI protocol, when enabled. Fix up PDI initialisation routines. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@962 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-10Fix PDITarget_ReceiveByte() not discarding the start bit properly, and ↵Dean
reading in the bits inverted and in the wrong order. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@961 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-09Add even parity bit to the software USART framing in the AVRISP project's ↵Dean
PDI programming code. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@960 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-09Fix inverted bit-banged USART logic in the AVRISP project for PDI ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@959 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-09Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean
(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.). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@957 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-08Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@956 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-04Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@946 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-03Make sure the protocol handler files are included in the Doxygen ↵Dean
documentation of the AVRISP project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@945 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-03Fix the tokens which enable and disable the different programming protocols ↵Dean
in the AVRISP project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@944 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-03Auto-configure AVRISP programmer configuration when built for the XPLAIN ↵Dean
board to match the XPLAIN hardware connections. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@942 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-03Document the PDI programming routines implemented so far in the AVRISP ↵Dean
project. Add ability to selectively disable ISP programming support in addition to the existing ability to disable PDI programming support. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@941 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-12-03Started implementing the low level PDI protocol in the AVRISP project, for ↵Dean
XMEGA device programming. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@940 d5102386-fcda-11dd-9fdb-3debd5008f28