Dean Camera
1d433d4506
Update copyright year on all source files.
15 years ago
Dean Camera
0ce2950d81
Added board hardware driver support for the Adafruit U4 breakout board.
...
Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct.
Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set).
15 years ago
Dean Camera
5ce8380a7d
Fix XPLAINBridge code broken during the changes to the Rescue Clock generation in the AVRISP-MKII clone project.
...
Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
15 years ago
Dean Camera
3bf760ad7d
Rescue clock of the AVRISP-MKII moved to the AVR's OCR1A pin, so that the clock can be generated at all times when 125KHz ISP programming mode is selected.
15 years ago
Dean Camera
cb779e3d7d
Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
15 years ago
Dean Camera
5a4def7478
Clean up excessive whitespace at the end of each line using the wspurify tool made by Laszlo Monda
15 years ago
Dean Camera
009eebf229
Fix incorrect ADC driver documentation for the parameters of ADC_Init(), fix incorrect call to ADC_Init() in the TemperatureDatalogger project.
15 years ago
Dean Camera
0f45b9c8e0
More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary.
15 years ago
Dean Camera
666c0fa4c3
Remove the timeout period extension code from the AVRISP project, as no 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.
15 years ago
Dean Camera
80d85090ba
Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs after programming or reading from the last page of FLASH.
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
5c0c0327d5
Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone project.
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
c9148f9b47
Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility.
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
12a01ed72d
Increased the speed of both software and hardware TPI/PDI programming modes of the AVRISP project.
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
b68f7f1649
Added explicit ADC channel masks for the standard set of ADC channels, as the single-ended channel MUX masks are not equal to the channel number on some AVR models. Changed demos to use the new channel masks when using the ADC driver.
16 years ago
Dean Camera
60fd0ff418
Changed XPLAINBridge project to be both a USB to USART bridge and a PDI programmer, based on the state of a mode select pin.
16 years ago
Dean Camera
f3d370a777
Clean up and add more comments to the AVRISP-MKII project. Make sure the SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs.
16 years ago
Dean Camera
7f9f97c792
Update copyright year to 2010.
16 years ago
Dean Camera
d4ca7fb44c
Fix MIT license language to make its intent clearer.
16 years ago
Dean Camera
8ecdc2b144
Rename AVRISP project folder to AVRISP-MKII.
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
18b0d408a9
Remove serial driver use from the AVRISP project now that it is no longer needed.
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
bd5e8f07b7
Stub out more of the TPI programming protocol routines in the AVRISP project.
16 years ago
Dean Camera
b408a5fe62
Add const qualifier to the parameters of Projects' functions where possible.
16 years ago
Dean Camera
258a6a0177
Fix the tokens which enable and disable the different programming protocols in the AVRISP project.
16 years ago
Dean Camera
a5adbae652
Document the PDI programming routines implemented so far in the AVRISP project. Add ability to selectively disable ISP programming support in addition to the existing ability to disable PDI programming support.
16 years ago
Dean Camera
1f8dfd0205
Add support for unwrapping of the XMEGA PDI programming protocol to the AVRISP Programmer project.
16 years ago
Dean Camera
1ed6925b5b
Factor out all the ISP related code into a seperate ISPProtocol set of files in the AVRISP Clone programmer project, to clearly seperate out the programming protocols when PDI programming is implemented.
16 years ago
Dean Camera
1645c3d243
Rename the V2Protocol command handlers in the AVRISP project in preperation of XMEGA PDI programming support.
16 years ago
Dean Camera
d6edfe35c8
Spell check all source code variables, comments and strings.
16 years ago
Dean Camera
c647c27639
Minor changes to the AVRISP project for code clarity.
16 years ago
Dean Camera
409c49f057
Doxygen fixes to \param directives to give data direction in all projects. Make HID item filtering routines clearer in the HID WithParser demos.
16 years ago
Dean Camera
4bb236e9a0
Increase AVRISP command timeout to 240ms up from 150ms to prevent some ISP commands from timing out too early.
...
Add check to the PROGRAM FLASH ISP and PROGRAM EEPROM ISP handler to return an explicit error when the host attempts to write more data than the device is able to buffer.
16 years ago
Dean Camera
489515fbbf
Make WaitWhileBusy function in the AVRISP project more explicit about how it sends and receives the busy check command.
...
Reduce size of PROGRAM FLASH ISP or PROGRAM EEPROM ISP buffer to 256 bytes to prevent blowing the stack on the smallest USB AVR models.
16 years ago
Dean Camera
271be037b7
Partial Commit: Move AVRISP project out of the Projects\Incomplete directory.
16 years ago
Dean Camera
8aee4cb2f2
Add function documentation to the AVRISP project.
16 years ago
Dean Camera
73801c73a1
Finished preliminary AVRISP project - all V2 protocol commands now work correctly for basic operations.
16 years ago
Dean Camera
4742e95a3f
Fixed AVRISP V2 Protocol handler for the READ_FLASH_ISP and READ_EEPROM_ISP handler - can now correctly read back device data. Programming command handler is still broken, although first page is written correctly to FLASH in paged write mode.
16 years ago
Dean Camera
f070902bdb
Fix endianness of LOAD_ADDRESS command data, add correct PROGRAM_FLASH_ISP/PROGRAM_EEPROM_ISP polling and endpoint bank clearing, add hardware delays/timeouts to the V2 Protocol handler in the AVRISP project.
16 years ago
Dean Camera
8cb8f1cfdd
Switch to hardware delays and timeouts via a hardware timer in the V2 Protocol handler.
...
More additions to the PROGRAM_FLASH_ISP and PROGRAM_EEPROM_ISP commands, although neither work correctly yet.
Added dummy RESET_PROTECTIONS handler to prevent the Atmel driver from crashing when the command returns an UNKNOWN_COMMAND error code.
16 years ago
Dean Camera
92adb00f8e
Added PROGRAM_FLASH_ISP and PROGRAM_EEPROM_ISP handler code to the V2 Protocol handler in the AVRISP project, programming complete checks not yet complete.
16 years ago
Dean Camera
f9c0357b73
Fixed V2 Protocol READ_FLASH_ISP and READ_EEPROM_ISP handler code in the AVRISP project.
16 years ago
Dean Camera
bff4dbe189
Fix to V2 Protocol for Fuse/Sig/Lock byte read -- off by one error on the array when writing back the response from the device.
...
FLASH/EEPROM reading and writing currently broken and unfinished, respectively.
16 years ago
Dean Camera
dbb5f249bd
Added V2 protocol handlers for the READ and WRITE memory commands in the AVRISP project. Finished READ command handler, skeleton WRITE handler implemented.
16 years ago