Dean Camera
4f74075fad
Speed up bit-banged USART code in the AVRISP project.
...
Fix project text files to refer to "project" instead of "demo".
15 years ago
Dean Camera
1fa27139f5
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.
15 years ago
Dean Camera
307ba254d5
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.
15 years ago
Dean Camera
66201a05e9
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.
15 years ago
Dean Camera
7e5966c1a8
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.
15 years ago
Dean Camera
42cfd15793
Change over AVRISP project to have both hardware USART and software USART modes for the PDI protocol, when enabled. Fix up PDI initialisation routines.
15 years ago
Dean Camera
9c8ed168e5
Fix inverted bit-banged USART logic in the AVRISP project for PDI 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.
15 years ago
Dean Camera
258a6a0177
Fix the tokens which enable and disable the different programming protocols in the AVRISP project.
15 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.
15 years ago
Dean Camera
f69f03cb0d
Started implementing the low level PDI protocol in the AVRISP project, for XMEGA device programming.
15 years ago
Dean Camera
1f8dfd0205
Add support for unwrapping of the XMEGA PDI programming protocol to the AVRISP Programmer project.
15 years ago
Dean Camera
5930f47bf4
Rename V2ProtocolTarget files to ISPTarget in the AVRISP Programmer Clone project.
15 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.
15 years ago
Dean Camera
c3dfc58707
Fix invalid Event name rule in demo/project makefiles.
15 years ago
Dean Camera
b221e7d175
Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project.
...
Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
15 years ago
Dean Camera
0486f12e3e
Add in new invalid event hook check targets to project makefiles to produce compilation errors when invalid event names are used in a project.
...
Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.)
Fix allowable F_CPU values comment in project makefiles.
15 years ago
Dean Camera
0f51db56c0
Replace -finline-limit with -fno-inline-small-functions in project makefiles.
15 years ago
Dean Camera
17d06b8494
Add VTARGET level detection to the AVRISP project on supported AVR models.
15 years ago
Dean Camera
244bba2097
Make AVRISP project build again - fix incorrect preprocessor directive in V2Protocol.c, fix makefile LUFA_PATH.
15 years ago
Dean Camera
271be037b7
Partial Commit: Move AVRISP project out of the Projects\Incomplete directory.
15 years ago
Dean Camera
0934f5c185
Move AVRISP Programmer project to a new Unfinished subdirectory of Project while it is under development.
15 years ago
Dean Camera
ecd82778cf
Added beginnings of a new AVRISP-MKII clone project.
...
Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints.
Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
15 years ago