- Dec 14, 2009
-
-
Dean Camera authored
Fix NVM commands so that memory reads and CRC generations now work correctly using unoptimized PDI commands.
-
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.
-
- Dec 13, 2009
-
-
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.
-
- Dec 11, 2009
-
-
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.
-
- Dec 10, 2009
-
-
Dean Camera authored
Fix PDITarget_ReceiveByte() not discarding the start bit properly, and reading in the bits inverted and in the wrong order.
-
- Dec 09, 2009
-
-
Dean Camera authored
-
Dean Camera authored
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.
-
Dean Camera authored
Increase timeout of Mass Storage and Still Image host commands to 10 seconds (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.).
-
- Dec 08, 2009
-
-
Dean Camera authored
Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost 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.
-
- Dec 04, 2009
-
-
Dean Camera authored
Fixed HID Parser not distributing the Usage Min and Usage Max values across 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.
-
- Dec 03, 2009
-
-
Dean Camera authored
Make sure the protocol handler files are included in the Doxygen documentation of the AVRISP project.
-
Dean Camera authored
-
Dean Camera authored
Auto-configure AVRISP programmer configuration when built for the XPLAIN board to match the XPLAIN hardware connections.
-
Dean Camera authored
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.
-
Dean Camera authored
Started implementing the low level PDI protocol in the AVRISP project, for XMEGA device programming.
-
- Dec 02, 2009
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
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.
-
Dean Camera authored
Rename the V2Protocol command handlers in the AVRISP project in preperation of XMEGA PDI programming support.
-
- Nov 09, 2009
-
-
Dean Camera authored
-
Dean Camera authored
-
- Sep 24, 2009
-
-
Dean Camera authored
Doxygen fixes to \param directives to give data direction in all projects. Make HID item filtering routines clearer in the HID WithParser demos.
-
- Aug 30, 2009
-
-
Dean Camera authored
Move ADC VTARGET sampling to a new V2Params_UpdateParamValues() in the AVRISP project so that there is a central place where all non-PC set target values can be updated easily.
-
- Aug 28, 2009
-
-
Dean Camera authored
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.
-
- Aug 27, 2009
-
-
Dean Camera authored
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.
-
Dean Camera authored
Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).
-
- Aug 25, 2009
-
-
Dean Camera authored
Make AVRISP project build again - fix incorrect preprocessor directive in V2Protocol.c, fix makefile LUFA_PATH.
-
Dean Camera authored
-
- Aug 18, 2009
-
-
Dean Camera authored
Move AVRISP Programmer project to a new Unfinished subdirectory of Project while it is under development.
-
Dean Camera authored
Enhancements to the AVRISP Programmer project to attempt to get AVRStudio to communicate with the device.
-
- Aug 17, 2009
-
-
Dean Camera authored
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.
-