Dean Camera [Thu, 3 Dec 2009 00:53:45 +0000 (00:53 +0000)]
Started implementing the low level PDI protocol in the AVRISP project, for XMEGA device programming.
Dean Camera [Wed, 2 Dec 2009 14:19:06 +0000 (14:19 +0000)]
Add new more reliable software UART for the XPLAINBridge project by David Prentice and Peter Danneger.
Dean Camera [Wed, 2 Dec 2009 14:03:57 +0000 (14:03 +0000)]
Removed John Steggall's software UART code from the XPLAIN Bridge project due to reliability issues.
Dean Camera [Wed, 2 Dec 2009 13:42:08 +0000 (13:42 +0000)]
Add support for unwrapping of the XMEGA PDI programming protocol to the AVRISP Programmer project.
Dean Camera [Wed, 2 Dec 2009 12:04:37 +0000 (12:04 +0000)]
Rename V2ProtocolTarget files to ISPTarget in the AVRISP Programmer Clone project.
Dean Camera [Wed, 2 Dec 2009 12:02:01 +0000 (12:02 +0000)]
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 [Wed, 2 Dec 2009 11:37:39 +0000 (11:37 +0000)]
Rename the V2Protocol command handlers in the AVRISP project in preperation of XMEGA PDI programming support.
Dean Camera [Mon, 30 Nov 2009 02:20:26 +0000 (02:20 +0000)]
Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent data to the attached device.
Dean Camera [Sun, 29 Nov 2009 07:41:54 +0000 (07:41 +0000)]
Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 and ATMEGA16U2.
Simplified the USB.h master include file's target validity checks.
Dean Camera [Sun, 29 Nov 2009 05:19:41 +0000 (05:19 +0000)]
Add to the existing CDC Class Driver's CreateStream() function documentation to explicitly state that the created streams are bidirectional.
Dean Camera [Fri, 27 Nov 2009 06:32:26 +0000 (06:32 +0000)]
Better checking of whether a packet is received in the RNDISEthernetHost Class driver demo - show busy LED status while packets are being printed out.
Dean Camera [Thu, 26 Nov 2009 13:59:11 +0000 (13:59 +0000)]
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 [Thu, 26 Nov 2009 11:40:15 +0000 (11:40 +0000)]
Complete RNDIS Host Class driver code - add SendPacket function.
Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints.
Dean Camera [Thu, 26 Nov 2009 11:29:06 +0000 (11:29 +0000)]
Make the RNDISEthernetHost Class driver demo print out incomming packets from the attached RNDIS device.
Dean Camera [Thu, 26 Nov 2009 11:16:20 +0000 (11:16 +0000)]
Make MIDI device demos also turn off the on board LEDs if MIDI Note On messages are sent with a velocity of zero, which some devices use instead of Note Off messages (thanks to Robin Green).
Dean Camera [Thu, 26 Nov 2009 05:08:00 +0000 (05:08 +0000)]
Remove documentation of deleted parameters from the RNDIS Host Class driver's device Initialize function.
Dean Camera [Thu, 26 Nov 2009 04:50:15 +0000 (04:50 +0000)]
Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common Class driver directory.
Dean Camera [Thu, 26 Nov 2009 04:46:31 +0000 (04:46 +0000)]
Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost 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.
Dean Camera [Thu, 26 Nov 2009 01:17:29 +0000 (01:17 +0000)]
Updated John Steggall's software USART in the XPLAINBridge project.
Dean Camera [Wed, 25 Nov 2009 04:23:40 +0000 (04:23 +0000)]
Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.
Dean Camera [Wed, 25 Nov 2009 04:13:14 +0000 (04:13 +0000)]
Fix more Doxygen errors from missing parameter documentation.
Dean Camera [Wed, 25 Nov 2009 03:56:51 +0000 (03:56 +0000)]
Fix build and Doxygen errors.
Dean Camera [Wed, 25 Nov 2009 03:33:14 +0000 (03:33 +0000)]
Removed old empty RNDISEthernetHost directory from the Incomplete Host demos folder.
Dean Camera [Wed, 25 Nov 2009 03:26:57 +0000 (03:26 +0000)]
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.
Dean Camera [Wed, 25 Nov 2009 00:36:18 +0000 (00:36 +0000)]
Added new XPLAIN serial Bridge project (thanks to John Steggall for the software UART code).
Dean Camera [Tue, 24 Nov 2009 14:10:28 +0000 (14:10 +0000)]
Make the StandaloneProgrammer project seamlessly read out drive contents from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode.
Dean Camera [Tue, 24 Nov 2009 08:54:41 +0000 (08:54 +0000)]
Fixed host state machine not enabling Auto VBUS mode when HOST_DEVICE_SETTLE_DELAY_MS is set to zero.
Dean Camera [Tue, 24 Nov 2009 01:56:59 +0000 (01:56 +0000)]
Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ahead double the expected amount.
Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK.
Dean Camera [Mon, 23 Nov 2009 13:35:52 +0000 (13:35 +0000)]
Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.
Dean Camera [Mon, 23 Nov 2009 13:22:33 +0000 (13:22 +0000)]
Added new ReportType parameter to the HID Device Class driver CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
Dean Camera [Mon, 23 Nov 2009 13:01:50 +0000 (13:01 +0000)]
Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt data in the HID Host Parser.
Dean Camera [Mon, 23 Nov 2009 12:40:14 +0000 (12:40 +0000)]
The incomplete StandaloneProgrammer project now uses Host and Device Mass storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick.
The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR).
The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only.
The USB_MODE_HOST token is now defined even when host mode is not available.
Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
Dean Camera [Mon, 23 Nov 2009 05:45:59 +0000 (05:45 +0000)]
Removed code to zero reports between two keyboard reports with differing number of pressed keys, as this relied on non-standard OS behaviour.
Dean Camera [Mon, 23 Nov 2009 05:28:08 +0000 (05:28 +0000)]
Add activity LED updates to the AVRISP project.
Dean Camera [Sun, 22 Nov 2009 04:56:59 +0000 (04:56 +0000)]
Commit for the 091122 release.
Dean Camera [Fri, 20 Nov 2009 06:56:43 +0000 (06:56 +0000)]
Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN when the given data length is zero.
Dean Camera [Fri, 20 Nov 2009 04:39:41 +0000 (04:39 +0000)]
Fixed LowLevel Keyboard demo not saving the issued report only after it has been written to the endpoint.
Added support for multiple keyboard keycodes in a single report to the LowLevel and ClassDriver Keyboard demos.
Dean Camera [Tue, 17 Nov 2009 11:28:07 +0000 (11:28 +0000)]
Fix doxygen documentation - doxygen was getting confused on the variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
Dean Camera [Tue, 17 Nov 2009 10:32:17 +0000 (10:32 +0000)]
Make RNDISHost demo validate the set Packet Filter to ensure that it is being sent correctly.
Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
Dean Camera [Mon, 16 Nov 2009 05:45:05 +0000 (05:45 +0000)]
Fixed HOST_STATE_AS_GPIOR being ignored whilst in Host mode (thanks to David Lyons).
Dean Camera [Sun, 15 Nov 2009 13:09:02 +0000 (13:09 +0000)]
Fix incorrect compiler error message when F_CLOCK is not defined by the user (thanks to Dave Lyons).
Dean Camera [Sun, 15 Nov 2009 12:50:23 +0000 (12:50 +0000)]
Cleanups to the MassStorage Device demos, and the MassStorage Device Class driver.
Dean Camera [Fri, 13 Nov 2009 13:24:04 +0000 (13:24 +0000)]
Corrections, improvements and additions to the incomplete RNDISHost demo.
Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position.
Dean Camera [Fri, 13 Nov 2009 10:07:25 +0000 (10:07 +0000)]
Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function to USB_Host_GetDeviceConfigDescriptor().
Dean Camera [Fri, 13 Nov 2009 07:23:31 +0000 (07:23 +0000)]
Extend incomplete RNDISHost demo -- can not enumerate a RNDIS device correctly and set the packet filter. No packets are received yet from the test device, need to investigate additional SET commands to see if any critical OIDs have been missed.
Dean Camera [Thu, 12 Nov 2009 12:47:15 +0000 (12:47 +0000)]
Add blocking versions of the CDC Class driver streams, for applications requiring blocking reads.
Dean Camera [Thu, 12 Nov 2009 10:43:07 +0000 (10:43 +0000)]
Add beginnings of a RNDIS Ethernet Host demo.
Dean Camera [Wed, 11 Nov 2009 09:09:39 +0000 (09:09 +0000)]
Minor code cleanups for clarity.
Dean Camera [Tue, 10 Nov 2009 11:24:15 +0000 (11:24 +0000)]
Update CDC Class Driver character stream functions to use the correct avr-libc return codes for errors and EOF.
Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.
Dean Camera [Tue, 10 Nov 2009 06:22:03 +0000 (06:22 +0000)]
Added new stream creation function to the CDC Class drivers, to easily make standard streams from CDC Class driver instances.
Dean Camera [Mon, 9 Nov 2009 13:15:28 +0000 (13:15 +0000)]
Spell check all source code variables, comments and strings.
Dean Camera [Mon, 9 Nov 2009 12:22:33 +0000 (12:22 +0000)]
Minor changes to the AVRISP project for code clarity.
Dean Camera [Mon, 9 Nov 2009 08:24:01 +0000 (08:24 +0000)]
Fixed HID host Class driver report send/receive report broken when issued through the control pipe.
Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed.
Remove the HID device parser from the boot protocol Keyboard/Mouse demos.
Dean Camera [Sun, 8 Nov 2009 21:56:18 +0000 (21:56 +0000)]
Remove dependancies from the LowLevel demos to the ClassDriver demos, since the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.
Dean Camera [Sat, 7 Nov 2009 07:23:03 +0000 (07:23 +0000)]
Make Low Level host demos use void pointers for the configuration descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines.
Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used.
Dean Camera [Sat, 7 Nov 2009 03:51:24 +0000 (03:51 +0000)]
Add optional pipe double banking support to the Host mode Class drivers.
Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
Dean Camera [Fri, 6 Nov 2009 14:32:01 +0000 (14:32 +0000)]
Add double banking property to LUFA powered projects in the Projects directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
Dean Camera [Fri, 6 Nov 2009 13:43:18 +0000 (13:43 +0000)]
Add optional double-banking support to the Device mode Class Drivers, on a per-endpoint, per-interface level.
Dean Camera [Wed, 4 Nov 2009 13:23:47 +0000 (13:23 +0000)]
Add other missing Printer.h main class driver dispatch file.
Dean Camera [Wed, 4 Nov 2009 13:22:38 +0000 (13:22 +0000)]
Add missing Printer.h common class driver file.
Dean Camera [Wed, 4 Nov 2009 13:16:53 +0000 (13:16 +0000)]
Added new Printer Host mode Class driver.
Added new Printer Host mode ClassDriver demo.
Added table of supported classes and modes to the main USB Class Driver documentation.
Dean Camera [Wed, 4 Nov 2009 07:14:38 +0000 (07:14 +0000)]
Fixed HID report parser collection paths invalid due to misplaced semicolon in the free path item search loop. Increased the default number of collection paths allowable by the parser.
Dean Camera [Wed, 4 Nov 2009 05:18:43 +0000 (05:18 +0000)]
Add support for Mouse Scrollwheel to the MouseHostWithParser demos.
Dean Camera [Wed, 4 Nov 2009 04:55:10 +0000 (04:55 +0000)]
Added new JoystickHostWithParser demos to the library.
Add some missing documentation to some of the library demos.
Dean Camera [Wed, 4 Nov 2009 04:17:11 +0000 (04:17 +0000)]
Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where possible to reduce code size and (potentially) allow for centralized status stage timeouts.
Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.
Dean Camera [Tue, 3 Nov 2009 12:12:07 +0000 (12:12 +0000)]
Add new CDCMouse ClassDriver device demo, combining a CDC Virtual Serial Port and a HID Mouse.
Dean Camera [Tue, 3 Nov 2009 11:11:51 +0000 (11:11 +0000)]
Rename the AT90USBXXX67 internal driver directory to AVRU4U6U7.
Dean Camera [Tue, 3 Nov 2009 02:06:13 +0000 (02:06 +0000)]
Add const attribute to class driver APIs.
Add new manual pages detailing the advantages of LUFA over the official Atmel USB AVR stack, and reasons why LUFA should be used over a built-from-scratch USB stack.
Dean Camera [Mon, 26 Oct 2009 11:44:36 +0000 (11:44 +0000)]
Make HID device class driver ignore the previous HID report comparison buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.
Dean Camera [Mon, 26 Oct 2009 11:27:13 +0000 (11:27 +0000)]
Use clearer buffer names in the USBtoSerial project to prevent confusion.
Dean Camera [Mon, 26 Oct 2009 05:27:59 +0000 (05:27 +0000)]
Make HID device class driver reselect the correct endpoint after the user callbacks have fired.
Dean Camera [Sun, 18 Oct 2009 05:35:48 +0000 (05:35 +0000)]
Moved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
Dean Camera [Fri, 16 Oct 2009 08:04:51 +0000 (08:04 +0000)]
Fix invalid Event name rule in demo/project makefiles.
Dean Camera [Wed, 14 Oct 2009 09:42:11 +0000 (09:42 +0000)]
Fix AudioOutput and AudioInput class driver demos' descriptors -- incorrect value was being supplied in the audio descritors field giving the number of discrete audio formats the device supports.
Dean Camera [Mon, 12 Oct 2009 05:59:55 +0000 (05:59 +0000)]
Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.
Fix up demo documentation device compatibility list to be as general as possible to reduce changes required as Atmel releases more devices within the same USB AVR series.
Dean Camera [Sun, 11 Oct 2009 06:14:08 +0000 (06:14 +0000)]
Added stdio.h stream examples for the virtual CDC UART in the CDC host demos.
Removed accidental reference to the incomplete MIDI class bootloader in the Bootloader folder makefile.
Dean Camera [Thu, 8 Oct 2009 08:46:27 +0000 (08:46 +0000)]
Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver demo.
Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own.
Dean Camera [Thu, 8 Oct 2009 07:18:28 +0000 (07:18 +0000)]
Application documentation/comment cleanup.
Dean Camera [Thu, 8 Oct 2009 07:00:44 +0000 (07:00 +0000)]
Add new MIDIHost LowLevel demo application.
Make unfinished device mode applications use the VID/PID reserved for LUFA development devices.
Dean Camera [Mon, 5 Oct 2009 05:20:30 +0000 (05:20 +0000)]
Fix accidentally changed code breaking the HID descriptor parser.
Dean Camera [Sun, 4 Oct 2009 07:57:15 +0000 (07:57 +0000)]
Fix broken Endpoint/Pipe stream templates.
Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
Dean Camera [Sat, 3 Oct 2009 15:30:29 +0000 (15:30 +0000)]
Minor documentation fixups.
Dean Camera [Sat, 3 Oct 2009 07:59:32 +0000 (07:59 +0000)]
Changed Audio Class driver sample read/write functions to be inline, to reduce the number of cycles needed to transfer samples to and from the device (allowing more time for processing and output).
Fixed ClassDriver AudioOutput demo not selecting an audio output mode.
Dean Camera [Fri, 2 Oct 2009 09:11:37 +0000 (09:11 +0000)]
Added support for the Atmel XPLAIN board.
Dean Camera [Fri, 2 Oct 2009 07:40:24 +0000 (07:40 +0000)]
Cleanups to the Device mode Mass Storage demo applications' SCSI routines.
Dean Camera [Thu, 1 Oct 2009 09:41:13 +0000 (09:41 +0000)]
Added pinouts to the AVRISP project for a standard ISP 6 Pin header to make construction of a standard ISP programmer easier.
Dean Camera [Wed, 30 Sep 2009 08:16:42 +0000 (08:16 +0000)]
Added new HID_HOST_BOOT_PROTOCOL_ONLY compile time token to reduce the size of the HID Host Class driver when Report protocol is not needed.
Dean Camera [Wed, 30 Sep 2009 07:58:17 +0000 (07:58 +0000)]
Fixed issue in the HID Host class driver's HID_Host_SendReportByID() routine using the incorrect mode (control/pipe) to send report to the attached device.
Dean Camera [Wed, 30 Sep 2009 04:40:36 +0000 (04:40 +0000)]
Removed mostly useless "TestApp" demo, as it was mainly useful only for checking for sytax errors in the library.
MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs.
Added beginnings of a MIDI class bootloader.
Dean Camera [Tue, 29 Sep 2009 07:21:47 +0000 (07:21 +0000)]
Fix missing semicolons in the *WithParser Host mode demos.
Dean Camera [Tue, 29 Sep 2009 07:21:35 +0000 (07:21 +0000)]
Fix missing semicolons in the *WithParser Host mode demos.
Dean Camera [Tue, 29 Sep 2009 07:15:09 +0000 (07:15 +0000)]
Add information on the new MouseHostDevice dual role demo to the library documentation. Add a 0x prefix to the LUFA_VERSION_INTEGER define to ensure that it is stored as BCD, and not an octal value.
Dean Camera [Tue, 29 Sep 2009 07:13:42 +0000 (07:13 +0000)]
Remove old OTG demo directory with useless TestApp demo. Add new DualRole directory with new Class Driver powered Mouse dual role demonstration application showing a dual role device using the HID host/device Class drivers.
Dean Camera [Mon, 28 Sep 2009 15:56:27 +0000 (15:56 +0000)]
Fixed PrinterHost demo returning invalid Device ID data when the attached device does not have a device ID (thanks to Andrei Krainev).
Dean Camera [Thu, 24 Sep 2009 02:05:33 +0000 (02:05 +0000)]
Doxygen fixes to \param directives to give data direction in all projects. Make HID item filtering routines clearer in the HID WithParser demos.
Dean Camera [Thu, 24 Sep 2009 01:52:57 +0000 (01:52 +0000)]
Fix incorrect names for the HID Host protocol setting routines.
Dean Camera [Tue, 22 Sep 2009 10:05:17 +0000 (10:05 +0000)]
Fix more build errors in the LowLevel "WithParser" HID Host demos.
Dean Camera [Tue, 22 Sep 2009 09:52:25 +0000 (09:52 +0000)]
Fix broken Host ClassDriver MouseHostWithParser demo.
Dean Camera [Tue, 22 Sep 2009 08:07:48 +0000 (08:07 +0000)]
Add new error condition to the HID Report Parser for when a report is parsed but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition.
Dean Camera [Tue, 22 Sep 2009 07:53:57 +0000 (07:53 +0000)]
Move Dataflash operational checking code out from SCSI.c into the DataflashManager.c in the Device mode Mass Storage demos.