aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
Commit message (Collapse)AuthorAgeFilesLines
* Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function ↵Dean Camera2009-09-171-0/+8
| | | | | | return codes used in comparison to check for success. Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
* 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-0942-84/+40
| | | | | | 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.
* Change HID report parser so that it can calculate and record the sizes (IN, ↵Dean Camera2009-09-092-1/+29
| | | | | | OUT and FEATURE) of each report within the device, by report ID. This will be required in host mode, so that the host can determine how many bytes of data must be read in for each report. Add to MouseHostWithParser and KeyboardHostWithParser demos to print out the report sizes when a valid device is connected.
* Add Host mode Class driver demo summaries.Dean Camera2009-09-095-2/+201
|
* Finish Still Image Host class driver.Dean Camera2009-09-091-1/+9
|
* Add link to third-party signed version of the official FLIP DFU driver for ↵Dean Camera2009-09-071-0/+3
| | | | | | 64-bit Windows OSes to the DFU bootloader readme file. Add HTML anchor links to URLs in the documentation to ensure that they are rendered correctly in the generated documentation.
* 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-0642-1251/+1972
| | | | | | | | 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-067-190/+496
| | | | | | | | 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.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-025-11/+31
| | | | | | Ensure IsActive is set on the interface to allow device functions to run. Fix spelling of "Received" in all source files where it is misspelt "Recieved".
* Add user-filtering to the HID report parser, so that the user code can ↵Dean Camera2009-09-024-0/+50
| | | | decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.
* Fixed error in PrinterHost preventing the full page data from being sent to ↵Dean Camera2009-09-023-23/+11
| | | | the attached device.
* Fixed StillImageHost not correctly freezing and unfreezing data pipes while ↵Dean Camera2009-09-011-8/+5
| | | | | | waiting for a response block header. Added basic PIMA commands to the StillImage Host Class driver - need to extend to PIMA specific command functions.
* 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.
* Oops - with new changes to the way the device Configuration Descriptor is ↵Dean Camera2009-08-3112-20/+20
| | | | retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters.
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-3115-225/+178
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Remove deleted source files from the Device mode Class driver demos to ↵Dean Camera2009-08-303-3/+0
| | | | enable them to be built.
* Added start of the Still Image Host Class driver demo and driver code.Dean Camera2009-08-308-4/+2467
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-3039-39/+39
|
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-275-277/+242
| | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).
* Fix memory corruption in Host mode Mass Storage Class driver.Dean Camera2009-08-272-2/+2
|
* Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host ↵Dean Camera2009-08-261-4/+8
| | | | mode Mass Storage Class driver.
* Add SCSICodes.h to the Class Driver Common folder, and automatically include ↵Dean Camera2009-08-263-87/+1
| | | | it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.
* Oops: Really disable building of Projects/Host/ClassDriver directory in the ↵Dean Camera2009-08-263-2/+55
| | | | | | | | Projects/Host/ makefile. Add more skeleton functions and definitions to the Mass Storage Host mode Class driver. Made Endpoint_Write_DWord_* functions echo the structure of the matching Endpoint routines for clarity.
* More work on the Mass Storage Host mode Class driver.Dean Camera2009-08-261-2/+2
| | | | | | Added ATTR_NON_NULL_PTR_ARG() attributes to the class drivers to improve user code reliability by disallowing explicit NULL pointers as pointer parameters in function calls where the parameter must not be NULL. Disabled building of the Demos/Host/ClassDriver directory until Host Mode Class drivers are complete to prevent build errors in the meantime.
* 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-1321-53/+50
|
* Added CDC_Device_Flush() command to the CDC Device mode class driver.Dean Camera2009-08-138-24/+2542
| | | | | | 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.
* Add new functions to the HID host class driver, refine HID interface ↵Dean Camera2009-08-114-3/+28
| | | | | | protocol matching. Remove stray state variable from the CDC host class driver.
* Fixed swapped paremeters in the HID state memory copy call while processing ↵Dean Camera2009-08-115-22/+7
| | | | | | | | | | 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.
* Fix issue in CDC device class driver where received data the size of the ↵Dean Camera2009-08-113-1/+12
| | | | | | | | data endpoint could lock up the driver. Further work on the new CDC and HID host mode class drivers. Reset changelog et. al. to reset development information for the new version currently under development.
* 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.
* Make Benito ping-pong LED code more explicit, using masks of the TX and RX ↵Dean Camera2009-08-071-1/+1
| | | | | | LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask. Fix incorrect event name in MassStorageHost.c.
* 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.
* Make Endpoint control transfers more reliable; early-abort when an ↵Dean Camera2009-08-0613-116/+118
| | | | | | incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
* 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-0513-33/+43
| | | | | | | | 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-0581-477/+457
| | | | | | | | 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.