- Dec 16, 2009
-
-
Dean Camera authored
Use default NVM base address in the AVRISP programmer project in case the host programmer software doesn't set it correctly.
-
- Dec 15, 2009
-
-
Dean Camera authored
Fix project text files to refer to "project" instead of "demo".
-
Dean Camera authored
Complete initial working revision of PDI programming in the AVRISP project (XMEGAs can now be programmed by the firmware).
-
Dean Camera authored
Fix a bug in the Still Image Host Class driver where the returned block status code was being truncated. Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
-
Dean Camera authored
-
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.
-
- Dec 14, 2009
-
-
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
-
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
Add new more reliable software UART for the XPLAINBridge project by David Prentice and Peter Danneger.
-
Dean Camera authored
Removed John Steggall's software UART code from the XPLAIN Bridge project due to reliability issues.
-
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 30, 2009
-
-
Dean Camera authored
Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent data to the attached device.
-
- Nov 26, 2009
-
-
Dean Camera authored
Enable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this is connected to the XMEGA's /RESET line, need to enable pullup to prevent spurrious resets.
-
Dean Camera authored
-
- Nov 25, 2009
-
-
Dean Camera authored
-
Dean Camera authored
-
Dean Camera authored
Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
-