- 31 Jan, 2010 2 commits
-
-
Dean Camera authored
Use _delay_us() function in the XPROGTarget.c file to ensure timing requirements are met, rather than a fixed number of NOPs.
-
Dean Camera authored
Oops - PDI handshake delay was too long, causing the device's /RESET functionality to be re-enabled.
-
- 29 Jan, 2010 1 commit
-
-
Dean Camera authored
-
- 27 Jan, 2010 2 commits
-
-
Dean Camera authored
Ensure TPI enable timing requirements are met in AVRISP-MKII programmer. Remove invalid code in the TPI read/write functions.
-
Dean Camera authored
Manually pull PDI clock pin high for 1ms before disabling PDI mode in the AVRISP-MKII project, to ensure that the PDI bus is disabled in the target and /RESET functionality restored.
-
- 25 Jan, 2010 1 commit
-
-
Dean Camera authored
Minor code cleanups, remove TemperatureDataLogger host application's Visual Studio Solution files, add LibHIDNet license files.
-
- 06 Jan, 2010 1 commit
-
-
Dean Camera authored
-
- 05 Jan, 2010 1 commit
-
-
Dean Camera authored
Added support to the MIDI Class drivers for packed data, where multiple MIDI events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
-
- 30 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 29 Dec, 2009 3 commits
-
-
Dean Camera authored
Reduced guard bit time in the AVRISP project PDI/TPI protocols to reduce the time needed to reverse the data communication direction.
-
Dean Camera authored
Fixed AVRISP PDI race condition where the guard time between direction changes could be interpreted as a start bit. Fixed TPI interface lines not being changed correctly when in bit-banged TPI mode.
-
Dean Camera authored
Change the AVRISP project's RESET LINE makefile tokens to AUX LINE, as it is not always used for target reset.
-
- 28 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 27 Dec, 2009 3 commits
-
-
Dean Camera authored
Fix mistakes in the XPROGTarget.c/.h files for TPI mode software USART clock rate and PDI mode XPLAIN board autoconfiguration.
-
Dean Camera authored
-
Dean Camera authored
Remove missed timer 0 init code in the ISP protocol handler in the AVRISP 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.
-
- 26 Dec, 2009 1 commit
-
-
Dean Camera authored
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.
-
- 24 Dec, 2009 4 commits
-
-
Dean Camera authored
Complete combining of PDI and TPI target communication code files, stub out TINY NVM controller functions.
-
Dean Camera authored
Rename PDITarget.c/.h to XPROGTarget.c/.h so that both PDI and TPI programming can be included in the one set of files.
-
Dean Camera authored
-
Dean Camera authored
Combine AVRISP project TPI and PDI lib directories - these protocols use the same underlying XPROG wrapper for the host-to-programmer command wrapping.
-
- 23 Dec, 2009 2 commits
-
-
Dean Camera authored
Make seperate ISP, PDI and TPI folders in the AVRISP project Lib subdirectory to hold each protocol's files.
-
Dean Camera authored
-
- 20 Dec, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
-
- 16 Dec, 2009 3 commits
-
-
Dean Camera authored
-
Dean Camera authored
Slightly speed up software USART in the AVRISP project - faster parity computation, ensure received data is byte aligned when receive is complete by throwing away the start bit during reception.
-
Dean Camera authored
Use default NVM base address in the AVRISP programmer project in case the host programmer software doesn't set it correctly.
-
- 15 Dec, 2009 2 commits
-
-
Dean Camera authored
Fix project text files to refer to "project" instead of "demo".
-
Dean Camera authored
Fix error in AVRISP programmer when repeatedly using PDI mode via the hardware USART due to the SendByte routine not clearing the Transmit Complete USART flag.
-
- 14 Dec, 2009 3 commits
-
-
Dean Camera authored
Add Doxygen documentation to the completed portions of the PDI programming protocol in the AVRISP project.
-
Dean Camera authored
Use the PDI REPEAT instruction in the PDI programmer code to reduce protocol 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.
-
Dean Camera authored
Split out NVM access code in the AVRISP project into a seperate NVMTarget.c 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.
-
- 13 Dec, 2009 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
The AVRISP project can now enter PDI mode under both bit-bang and hardware 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.
-
- 11 Dec, 2009 4 commits
-
-
Dean Camera authored
PDI NVM enable is fast enough that bare polling is enough without a fixed 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.
-
Dean Camera authored
Fix PDI code - must send NVM enable key least significant byte first, need to make sure Tx and Rx is switched correctly including disabling the output on the Tx line when receiving.
-
Dean Camera authored
Fix AVRISP PDI protocol - make sure inverted masks have the appropriate 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.
-
Dean Camera authored
Change over AVRISP project to have both hardware USART and software USART modes for the PDI protocol, when enabled. Fix up PDI initialisation routines.
-
- 10 Dec, 2009 1 commit
-
-
Dean Camera authored
Fix PDITarget_ReceiveByte() not discarding the start bit properly, and reading in the bits inverted and in the wrong order.
-