Dean Camera
016a4c068a
Make loops in AVRISP-MKII Clone project's XPROG protocol infinite rather than looping on the timeout value, as this is already checked inside the loop anyway.
15 years ago
Dean Camera
071e02c6b6
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
15 years ago
Dean Camera
ab8668b14e
Removed software PDI/TPI emulation from the AVRISP-MKII clone project, as it was very buggy. PDI and TPI must now be implemented via seperate headers instead of the one unified ISP/TPI/PDI header.
15 years ago
Dean Camera
eed7d4df6a
Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so that the stream functions early-abort if the bus is suspended before or during a transfer.
15 years ago
Dean Camera
a5e79333e5
Switch back to C based timeout ISR in the AVRISP project - assembly version was failing, and only one or two cycles could be shaved off the compiler generated code.
15 years ago
Dean Camera
3d28d53c3e
Change AVRISP project's timeout to be interrupt based again, but make the 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).
15 years ago
Dean Camera
9a1560dc05
Make sure that long reads are aborted early if the connection times out while waiting on more bytes in the AVRISP MKII clone project.
15 years ago
Dean Camera
ceb16ee24f
Make sure that the NVM bus/controller busy waits in the AVRISP MKII clone project abort properly if a timeout occurs while waiting for a response.
15 years ago
Dean Camera
85aaaf84ce
Make AVRISP-MKII clone project's software PDI/TPI mode more robust by keeping track of timeouts while waiting for a Tx/Rx to finish.
15 years ago
Dean Camera
72527867f6
Remove redundant check in the software PDI programming code of the AVRISP project.
15 years ago
Dean Camera
9a5ae36a4f
Software PDI mode breaks unless the software USART has 100 cycles between bits.
15 years ago
Dean Camera
2b74b517ea
Don't enable the pullup on the target /RESET line in the AVRISP project for 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.
15 years ago
Dean Camera
39d56aeffe
Fixed PDI programming mode in the AVRISP programmer project not exiting 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.
15 years ago
Dean Camera
c24027f3b5
Fixed software PDI/TPI programming mode in the AVRISP project not correctly toggling just the clock pin.
...
Fix broken AVR8 Serial peripheral driver.
15 years ago
Dean Camera
d2851b3351
Oops - need to revert changes made to ease testing of the software PDI programming mode.
15 years ago
Dean Camera
5e12d436fa
Remove dual ISR for software PDI mode, use a single ISR instead to reduce code complexity.
15 years ago
Dean Camera
e322f14620
More fixes to the AVRISP command timeout system so that it should no longer lock up while processing command no matter what the conditions.
15 years ago
Dean Camera
ce8d0424b1
AVRISP programmer project now has a more robust timeout system, allowing for a doubling of the software USART speed for PDI and TPI programming.
15 years ago
Dean Camera
331e8dece6
Use _delay_us() function in the XPROGTarget.c file to ensure timing requirements are met, rather than a fixed number of NOPs.
16 years ago
Dean Camera
75d27f8ef0
Oops - PDI handshake delay was too long, causing the device's /RESET functionality to be re-enabled.
16 years ago
Dean Camera
872f61ff53
Fix TPI communications in the AVRISP project when bit-banged USART mode is selected.
16 years ago
Dean Camera
1aeb5056d6
Ensure TPI enable timing requirements are met in AVRISP-MKII programmer. Remove invalid code in the TPI read/write functions.
16 years ago
Dean Camera
2059fd8b1a
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.
16 years ago
Dean Camera
5d5e359076
Minor code cleanups, remove TemperatureDataLogger host application's Visual Studio Solution files, add LibHIDNet license files.
16 years ago
Dean Camera
efb6c35778
Update Doxygen configuration files to the latest Doxygen version.
16 years ago
Dean Camera
d97db1120b
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.
16 years ago
Dean Camera
7f9f97c792
Update copyright year to 2010.
16 years ago
Dean Camera
f5951d1593
Reduced guard bit time in the AVRISP project PDI/TPI protocols to reduce the time needed to reverse the data communication direction.
16 years ago
Dean Camera
b1dbd92c32
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.
16 years ago
Dean Camera
e1c1c25619
Change the AVRISP project's RESET LINE makefile tokens to AUX LINE, as it is not always used for target reset.
16 years ago
Dean Camera
d4ca7fb44c
Fix MIT license language to make its intent clearer.
16 years ago
Dean Camera
d15cbdd490
Fix mistakes in the XPROGTarget.c/.h files for TPI mode software USART clock rate and PDI mode XPLAIN board autoconfiguration.
16 years ago
Dean Camera
8ecdc2b144
Rename AVRISP project folder to AVRISP-MKII.
16 years ago
Dean Camera
022035839e
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.
16 years ago
Dean Camera
d1608d4af3
Added const where possible to the source functions in the Projects directory.
...
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.
16 years ago
Dean Camera
65fcebf478
Complete combining of PDI and TPI target communication code files, stub out TINY NVM controller functions.
16 years ago
Dean Camera
cfdab42dcf
Rename PDITarget.c/.h to XPROGTarget.c/.h so that both PDI and TPI programming can be included in the one set of files.
16 years ago
Dean Camera
9decc2bc59
Combine PDIProtocol and TPIProtocol into a single XPROGProtocol set of files.
16 years ago
Dean Camera
ce044844ea
Combine AVRISP project TPI and PDI lib directories - these protocols use the same underlying XPROG wrapper for the host-to-programmer command wrapping.
16 years ago
Dean Camera
31d7194252
Make seperate ISP, PDI and TPI folders in the AVRISP project Lib subdirectory to hold each protocol's files.
16 years ago
Dean Camera
cda88cf97c
Start of implementation of the low level TPI programming protocol in the AVRISP project.
16 years ago
Dean Camera
37c9ba7fa9
Fixed AVRISP project timeouts not checking for the correct timeout period (thanks to Carl Ott).
16 years ago
Dean Camera
b408a5fe62
Add const qualifier to the parameters of Projects' functions where possible.
16 years ago
Dean Camera
021b1b567e
More speed and quality improvements to the software USART in the AVRISP project.
16 years ago
Dean Camera
f0b4d79629
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.
16 years ago
Dean Camera
461607020c
Use default NVM base address in the AVRISP programmer project in case the host programmer software doesn't set it correctly.
16 years ago
Dean Camera
4f74075fad
Speed up bit-banged USART code in the AVRISP project.
...
Fix project text files to refer to "project" instead of "demo".
16 years ago
Dean Camera
a7880ac1cd
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.
16 years ago
Dean Camera
bb38793312
Add Doxygen documentation to the completed portions of the PDI programming protocol in the AVRISP project.
16 years ago
Dean Camera
f3e4fbe512
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.
16 years ago