aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device
Commit message (Collapse)AuthorAgeFilesLines
* Add new MIDIHost LowLevel demo application.Dean Camera2009-10-081-2/+2
| | | | Make unfinished device mode applications use the VID/PID reserved for LUFA development devices.
* Fix broken Endpoint/Pipe stream templates.Dean Camera2009-10-042-38/+24
| | | | Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
* Changed Audio Class driver sample read/write functions to be inline, to ↵Dean Camera2009-10-033-20/+17
| | | | | | 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.
* Cleanups to the Device mode Mass Storage demo applications' SCSI routines.Dean Camera2009-10-025-115/+61
|
* Removed mostly useless "TestApp" demo, as it was mainly useful only for ↵Dean Camera2009-09-302-5/+29
| | | | | | | | 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.
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-222-4/+8
| | | | 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.
* Move Dataflash operational checking code out from SCSI.c into the ↵Dean Camera2009-09-226-58/+74
| | | | DataflashManager.c in the Device mode Mass Storage demos.
* Finish initial draft of the Host Mode HID Class driver.Dean Camera2009-09-214-4/+4
| | | | Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
* Added new MassStorageKeyboard Device Class Driver demo (thanks to Matthias ↵Dean Camera2009-09-2116-2/+4190
| | | | Hullin).
* Fix broken KeyboardMouse ClassDriver device demo - use internal HID Class ↵Dean Camera2009-09-211-21/+0
| | | | Driver structures for boot protocol reports.
* Remove type definitions of the keyboard and mouse boot protocol report ↵Dean Camera2009-09-202-22/+0
| | | | layouts from the Device Class Driver demos, as they are now located inside the class driver.
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-205-6/+6
| | | | | | | | is frozen. Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID. More additions to the unfinished HID Host Class Driver.
* Fixed Low Level USBtoSerial demo not storing received characters (thanks to ↵Dean Camera2009-09-131-1/+1
| | | | Michael from DirectAid.ca).
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-0927-54/+27
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Add Host mode Class driver demo summaries.Dean Camera2009-09-092-2/+2
|
* Remove information about 64 bit Windows OS signing requirements for the CDC ↵Dean Camera2009-09-076-42/+0
| | | | based demos -- apparently the native CDC driver can be installed without first disabling the OS's driver signing requirements.
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-0627-813/+1271
| | | | | | | | compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
* Added 64 bit OS driver installation instructions to the readme for all CDC ↵Dean Camera2009-09-066-0/+42
| | | | based projects.
* Changed Still Image Host class driver to auto-fill TransactionID element of ↵Dean Camera2009-09-066-188/+492
| | | | | | | | sent headers depending on the current session state. CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker). The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool.
* Move check for devices not supporting internal serials in demos which make ↵Dean Camera2009-09-0116-32/+96
| | | | use of USE_INTERNAL_SERIAL to Descriptors.c from Descriptors.h so that the warning is only generated at most once per compilation.
* Remove deleted source files from the Device mode Class driver demos to ↵Dean Camera2009-08-303-3/+0
| | | | enable them to be built.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-3026-26/+26
|
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-262-86/+0
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Fixed AVRISP programmer demo -- can now connect to a target and read/write ↵Dean Camera2009-08-232-2/+4
| | | | | | | | Sig/Lock/Fuse/OSCCAL bytes successfully. Changed SPI_Init() to allow for the clock polarity and data sample modes to be set. Changed Dataflash_Init() to no longer call SPI_Init() automatically.
* Moved out the handling of V2 Protocol parameters to a seperate set of files. ↵Dean Camera2009-08-191-2/+2
| | | | Added parameter privellages, so that an error can be returned to the host when trying to perform a get/set value action on a parameter without the correct privellages.
* Fix misspelt event name in the Class driver USBtoSerial demo, preventing ↵Dean Camera2009-08-161-1/+1
| | | | correct operation.
* Fix USBtoSerial device demos -- ensure the UDR1 register contents is read in ↵Dean Camera2009-08-162-2/+6
| | | | under all circumstances which fire the ISR, so that the receive complete interrupt is cleared correctly to prevent freezes.
* Added new EVENT_USB_Device_StartOfFrame() event, controlled by the new ↵Dean Camera2009-08-1616-66/+38
| | | | USB_Device_EnableSOFEvents() and USB_Device_DisableSOFEvents() macros to give bus-synchronised millisecond interrupts when in USB device mode.
* Adjust endpoint polling intervals for HID demos, to make them compliant with ↵Dean Camera2009-08-1310-15/+15
| | | | the 10ms minimum polling period for Low Speed devices.
* Added explicit attribute masks to the device mode demos' descriptors.Dean Camera2009-08-1320-49/+49
|
* Added CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-133-23/+12
| | | | | | Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo.
* Add CDC Host class driver EVENT_CDC_Host_ControLineStateChanged() event.Dean Camera2009-08-111-1/+1
| | | | Minor documentation fixes.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-112-18/+4
| | | | | | | | | | a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
* Cleanups to RNDIS device demos. Fix issue in RNDIS demos where the memory ↵Dean Camera2009-08-0715-59/+73
| | | | | | | | would become corrupted due to an incorrect bounds check when iterating over the port state table, causing random resets. Revert change to Template_Endpoint_Control_R.c, which broke control stream reads. Remove uneeded ADC.h include in the class driver AudioOutput demo.
* Simplify CDC device demos, by directly assigning the string to transmit to ↵Dean Camera2009-08-064-64/+26
| | | | the pointer, rather than using an intermediatary table to hold all the possible transmit strings.
* Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean Camera2009-08-053-4/+3
| | | | | | | | pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
* Make Control Endpoint stream transfers more reliable by adding in early ↵Dean Camera2009-08-054-24/+34
| | | | | | | | aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes. Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed. Fix incorrect model compatibility information in the Host LowLevel demo overview text files.
* Changed over manual loops waiting for endpoints to be ready to use the ↵Dean Camera2009-08-057-77/+27
| | | | library Endpoint_WaitUntilReady() function for robustness. Fixes issues with terminated transfers on the host locking up USB devices.
* Fix incorrect Event call name in USBInterrupt.c.Dean Camera2009-08-052-5/+5
|
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-0554-254/+264
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Better fix for LowLevel CDC demo issue where sending data before the line ↵Dean Camera2009-08-043-49/+36
| | | | encoding is set will cause a failure of the host to open the port. Added fix to the DualCDC and USBtoSerial LowLevel demos.
* Fix issue with CDC device demos causing broken communications when the ↵Dean Camera2009-08-041-2/+17
| | | | device tries to send data before the host has set the line encoding.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-0253-53/+53
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Make both LowLevel and ClassDriver AudioOutput demos always output to board ↵Dean Camera2009-08-024-42/+28
| | | | LEDs, regardless of output mode (removed AUDIO_OUT_LEDS compile time option from the demo). This allows for positive feedback to the user of audio activity regardless of output mode.
* Fixed the ClassDriver GenericHID demo so that it echoes back reports as ↵Dean Camera2009-07-313-7/+20
| | | | indicated in the demo overview.
* Fix demos based on the device mode HID class driver, as well as the driver ↵Dean Camera2009-07-3110-38/+90
| | | | itself. Changed HID device class driver to require the user to give a buffer and size to hold the previously generated report, for comparison purposes, and altered the prototype of the CALLBACK_HID_Device_CreateHIDReport() function so that reports can be sent to the host even if there are no apparent changes (useful for relative movements in mice, etc.).
* Add new HID_Device_MillisecondElapsed() function to the HID device Class ↵Dean Camera2009-07-306-24/+7
| | | | driver, to move the burden of managing the Idle period of each instance to the library and not the user application.
* Fix to HID device mode Class driver, so that new reports are compared ↵Dean Camera2009-07-306-13/+1
| | | | against the old, and updated reports made within the idle period are sent immediately to the host.
* Minor cleanups to DualCDC ClassDriver device demo for clarity.Dean Camera2009-07-302-4/+3
|
* Fix incorrect configuration in the ClassDriver AudioOutput demo.Dean Camera2009-07-309-42/+28
| | | | | | Make all audio device Class Driver functions require a reference to the Audio class instance, so that the endpoint size can be checked (and to standardize the APIs). Make LEDs more responsive in the AudioOutput device demos.