Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use the PDI REPEAT instruction in the PDI programmer code to reduce protocol ↵ | Dean Camera | 2009-12-14 | 5 | -41/+67 | |
| | | | | 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. | |||||
* | Added memory erase handling to the PDI protocol in the AVRISP project. | Dean Camera | 2009-12-14 | 3 | -1/+49 | |
| | ||||||
* | Fix NVM commands so that memory reads and CRC generations now work correctly ↵ | Dean Camera | 2009-12-14 | 3 | -44/+108 | |
| | | | | using unoptimized PDI commands. | |||||
* | Split out NVM access code in the AVRISP project into a seperate NVMTarget.c ↵ | Dean Camera | 2009-12-14 | 13 | -121/+237 | |
| | | | | 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. | |||||
* | Test with -Wextra, fix library warnings due to unused function parameters. | Dean Camera | 2009-12-13 | 13 | -13/+29 | |
| | ||||||
* | Oops - wrong casting on the Configuration Descriptor pointer advance routine. | Dean Camera | 2009-12-13 | 1 | -1/+1 | |
| | ||||||
* | Use -pedantic compile time option to find and correct several minor code errors. | Dean Camera | 2009-12-13 | 16 | -66/+121 | |
| | ||||||
* | The AVRISP project can now enter PDI mode under both bit-bang and hardware ↵ | Dean Camera | 2009-12-13 | 7 | -130/+202 | |
| | | | | 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. | |||||
* | PDI NVM enable is fast enough that bare polling is enough without a fixed ↵ | Dean Camera | 2009-12-11 | 2 | -6/+6 | |
| | | | | 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. | |||||
* | Fix PDI code - must send NVM enable key least significant byte first, need ↵ | Dean Camera | 2009-12-11 | 3 | -18/+50 | |
| | | | | to make sure Tx and Rx is switched correctly including disabling the output on the Tx line when receiving. | |||||
* | Fix AVRISP PDI protocol - make sure inverted masks have the appropriate ↵ | Dean Camera | 2009-12-11 | 4 | -13/+25 | |
| | | | | 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. | |||||
* | Change over AVRISP project to have both hardware USART and software USART ↵ | Dean Camera | 2009-12-11 | 5 | -101/+194 | |
| | | | | modes for the PDI protocol, when enabled. Fix up PDI initialisation routines. | |||||
* | Fix PDITarget_ReceiveByte() not discarding the start bit properly, and ↵ | Dean Camera | 2009-12-10 | 1 | -4/+6 | |
| | | | | reading in the bits inverted and in the wrong order. | |||||
* | Add even parity bit to the software USART framing in the AVRISP project's ↵ | Dean Camera | 2009-12-09 | 2 | -7/+33 | |
| | | | | PDI programming code. | |||||
* | Fix inverted bit-banged USART logic in the AVRISP project for PDI ↵ | Dean Camera | 2009-12-09 | 6 | -9/+10 | |
| | | | | 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. | |||||
* | Fix incorrect definition of Endpoint_BytesInEndpoint() for the U4 parts. | Dean Camera | 2009-12-09 | 1 | -2/+4 | |
| | ||||||
* | Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵ | Dean Camera | 2009-12-09 | 61 | -122/+133 | |
| | | | | | | | | (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.). | |||||
* | Make sure that USB_STREAM_TIMEOUT_MS is set in the MassStorageHost ↵ | Dean Camera | 2009-12-08 | 5 | -6/+11 | |
| | | | | | | 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. | |||||
* | Fix newly renamed VirtualSerial demos' include filename references so that ↵ | Dean Camera | 2009-12-07 | 15 | -37/+37 | |
| | | | | they compile. | |||||
* | Additional file renames and modifications to change CDC demos to VirtualSerial. | Dean Camera | 2009-12-07 | 45 | -41/+41 | |
| | ||||||
* | Rename CDC demos to VirtualSerial. | Dean Camera | 2009-12-07 | 53 | -7/+7 | |
| | ||||||
* | Add new USB_Host_GetDeviceStringDescriptor() convenience function. | Dean Camera | 2009-12-06 | 3 | -0/+33 | |
| | ||||||
* | Fixed Mass Storage Host Class driver and Low Level demo not clearing the ↵ | Dean Camera | 2009-12-04 | 4 | -4/+20 | |
| | | | | error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen). | |||||
* | Added support for the Atmel EVK527 board hardware. | Dean Camera | 2009-12-04 | 14 | -10/+569 | |
| | ||||||
* | Fix double oops -- Host mode settle delay was still being ignored due to ↵ | Dean Camera | 2009-12-04 | 2 | -4/+4 | |
| | | | | inverted logic, HID Parser was assigning the usage Min/Max usage value to the report item's collection path rather than the report item itself. | |||||
* | Oops - fix Host mode pre-enumeration settle delay being ignored leading to ↵ | Dean Camera | 2009-12-04 | 1 | -2/+0 | |
| | | | | failure to enumerate certain devices. | |||||
* | Fix incorrect const'ness of the ReportItem parameter in ↵ | Dean Camera | 2009-12-04 | 2 | -2/+2 | |
| | | | | USB_SetHIDReportItemInfo(). | |||||
* | Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵ | Dean Camera | 2009-12-04 | 12 | -17/+52 | |
| | | | | | | | | 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. | |||||
* | Make sure the protocol handler files are included in the Doxygen ↵ | Dean Camera | 2009-12-03 | 5 | -5/+5 | |
| | | | | documentation of the AVRISP project. | |||||
* | Fix the tokens which enable and disable the different programming protocols ↵ | Dean Camera | 2009-12-03 | 14 | -26/+41 | |
| | | | | in the AVRISP project. | |||||
* | Added support for the Dataflash mounted on the XPLAIN board. Added new ↵ | Dean Camera | 2009-12-03 | 11 | -7/+245 | |
| | | | | XPLAIN_REV1 board target for the first revision XPLAIN board, which used a different (smaller) Dataflash IC to later revisions. | |||||
* | Auto-configure AVRISP programmer configuration when built for the XPLAIN ↵ | Dean Camera | 2009-12-03 | 6 | -15/+61 | |
| | | | | board to match the XPLAIN hardware connections. | |||||
* | Document the PDI programming routines implemented so far in the AVRISP ↵ | Dean Camera | 2009-12-03 | 11 | -61/+87 | |
| | | | | project. Add ability to selectively disable ISP programming support in addition to the existing ability to disable PDI programming support. | |||||
* | Started implementing the low level PDI protocol in the AVRISP project, for ↵ | Dean Camera | 2009-12-03 | 10 | -37/+240 | |
| | | | | XMEGA device programming. | |||||
* | Add new more reliable software UART for the XPLAINBridge project by David ↵ | Dean Camera | 2009-12-02 | 4 | -2/+206 | |
| | | | | Prentice and Peter Danneger. | |||||
* | Removed John Steggall's software UART code from the XPLAIN Bridge project ↵ | Dean Camera | 2009-12-02 | 7 | -619/+39 | |
| | | | | due to reliability issues. | |||||
* | Add support for unwrapping of the XMEGA PDI programming protocol to the ↵ | Dean Camera | 2009-12-02 | 12 | -47/+390 | |
| | | | | AVRISP Programmer project. | |||||
* | Rename V2ProtocolTarget files to ISPTarget in the AVRISP Programmer Clone ↵ | Dean Camera | 2009-12-02 | 5 | -4/+4 | |
| | | | | project. | |||||
* | Factor out all the ISP related code into a seperate ISPProtocol set of files ↵ | Dean Camera | 2009-12-02 | 10 | -485/+636 | |
| | | | | in the AVRISP Clone programmer project, to clearly seperate out the programming protocols when PDI programming is implemented. | |||||
* | Rename the V2Protocol command handlers in the AVRISP project in preperation ↵ | Dean Camera | 2009-12-02 | 2 | -51/+52 | |
| | | | | of XMEGA PDI programming support. | |||||
* | Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵ | Dean Camera | 2009-11-30 | 6 | -2/+57 | |
| | | | | data to the attached device. | |||||
* | Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 ↵ | Dean Camera | 2009-11-29 | 4 | -21/+21 | |
| | | | | | | and ATMEGA16U2. Simplified the USB.h master include file's target validity checks. | |||||
* | Add to the existing CDC Class Driver's CreateStream() function documentation ↵ | Dean Camera | 2009-11-29 | 4 | -9/+7 | |
| | | | | to explicitly state that the created streams are bidirectional. | |||||
* | Better checking of whether a packet is received in the RNDISEthernetHost ↵ | Dean Camera | 2009-11-27 | 4 | -13/+16 | |
| | | | | Class driver demo - show busy LED status while packets are being printed out. | |||||
* | Enable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this ↵ | Dean Camera | 2009-11-26 | 2 | -1/+3 | |
| | | | | is connected to the XMEGA's /RESET line, need to enable pullup to prevent spurrious resets. | |||||
* | Complete RNDIS Host Class driver code - add SendPacket function. | Dean Camera | 2009-11-26 | 3 | -2/+56 | |
| | | | | Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints. | |||||
* | Make the RNDISEthernetHost Class driver demo print out incomming packets ↵ | Dean Camera | 2009-11-26 | 3 | -3/+22 | |
| | | | | from the attached RNDIS device. | |||||
* | Make MIDI device demos also turn off the on board LEDs if MIDI Note On ↵ | Dean Camera | 2009-11-26 | 3 | -4/+7 | |
| | | | | messages are sent with a velocity of zero, which some devices use instead of Note Off messages (thanks to Robin Green). | |||||
* | Remove documentation of deleted parameters from the RNDIS Host Class ↵ | Dean Camera | 2009-11-26 | 1 | -2/+0 | |
| | | | | driver's device Initialize function. | |||||
* | Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common ↵ | Dean Camera | 2009-11-26 | 2 | -3/+1 | |
| | | | | Class driver directory. |