aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Split out NVM access code in the AVRISP project into a seperate NVMTarget.c ↵Dean Camera2009-12-1413-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 Camera2009-12-1313-13/+29
|
* Oops - wrong casting on the Configuration Descriptor pointer advance routine.Dean Camera2009-12-131-1/+1
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-1316-66/+121
|
* The AVRISP project can now enter PDI mode under both bit-bang and hardware ↵Dean Camera2009-12-137-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 Camera2009-12-112-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 Camera2009-12-113-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 Camera2009-12-114-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 Camera2009-12-115-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 Camera2009-12-101-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 Camera2009-12-092-7/+33
| | | | PDI programming code.
* Fix inverted bit-banged USART logic in the AVRISP project for PDI ↵Dean Camera2009-12-096-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 Camera2009-12-091-2/+4
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-0961-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 Camera2009-12-085-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 Camera2009-12-0715-37/+37
| | | | they compile.
* Additional file renames and modifications to change CDC demos to VirtualSerial.Dean Camera2009-12-0745-41/+41
|
* Rename CDC demos to VirtualSerial.Dean Camera2009-12-0753-7/+7
|
* Add new USB_Host_GetDeviceStringDescriptor() convenience function.Dean Camera2009-12-063-0/+33
|
* Fixed Mass Storage Host Class driver and Low Level demo not clearing the ↵Dean Camera2009-12-044-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 Camera2009-12-0414-10/+569
|
* Fix double oops -- Host mode settle delay was still being ignored due to ↵Dean Camera2009-12-042-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 Camera2009-12-041-2/+0
| | | | failure to enumerate certain devices.
* Fix incorrect const'ness of the ReportItem parameter in ↵Dean Camera2009-12-042-2/+2
| | | | USB_SetHIDReportItemInfo().
* Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵Dean Camera2009-12-0412-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 Camera2009-12-035-5/+5
| | | | documentation of the AVRISP project.
* Fix the tokens which enable and disable the different programming protocols ↵Dean Camera2009-12-0314-26/+41
| | | | in the AVRISP project.
* Added support for the Dataflash mounted on the XPLAIN board. Added new ↵Dean Camera2009-12-0311-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 Camera2009-12-036-15/+61
| | | | board to match the XPLAIN hardware connections.
* Document the PDI programming routines implemented so far in the AVRISP ↵Dean Camera2009-12-0311-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 Camera2009-12-0310-37/+240
| | | | XMEGA device programming.
* Add new more reliable software UART for the XPLAINBridge project by David ↵Dean Camera2009-12-024-2/+206
| | | | Prentice and Peter Danneger.
* Removed John Steggall's software UART code from the XPLAIN Bridge project ↵Dean Camera2009-12-027-619/+39
| | | | due to reliability issues.
* Add support for unwrapping of the XMEGA PDI programming protocol to the ↵Dean Camera2009-12-0212-47/+390
| | | | AVRISP Programmer project.
* Rename V2ProtocolTarget files to ISPTarget in the AVRISP Programmer Clone ↵Dean Camera2009-12-025-4/+4
| | | | project.
* Factor out all the ISP related code into a seperate ISPProtocol set of files ↵Dean Camera2009-12-0210-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 Camera2009-12-022-51/+52
| | | | of XMEGA PDI programming support.
* Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵Dean Camera2009-11-306-2/+57
| | | | data to the attached device.
* Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 ↵Dean Camera2009-11-294-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 Camera2009-11-294-9/+7
| | | | to explicitly state that the created streams are bidirectional.
* Better checking of whether a packet is received in the RNDISEthernetHost ↵Dean Camera2009-11-274-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 Camera2009-11-262-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 Camera2009-11-263-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 Camera2009-11-263-3/+22
| | | | from the attached RNDIS device.
* Make MIDI device demos also turn off the on board LEDs if MIDI Note On ↵Dean Camera2009-11-263-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 Camera2009-11-261-2/+0
| | | | driver's device Initialize function.
* Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common ↵Dean Camera2009-11-262-3/+1
| | | | Class driver directory.
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-2630-71/+3408
| | | | | | | | Class Driver demo. Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble. Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
* Updated John Steggall's software USART in the XPLAINBridge project.Dean Camera2009-11-265-72/+239
|
* Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.Dean Camera2009-11-252-3/+3
|