Dean Camera
35a0fe9384
Fixed USB_GetHIDReportSize() returning the number of bits in the specified report instead of bytes.
...
Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code.
Make Webserver project report the LUFA version as part of the HTTP header.
15 years ago
Dean Camera
7ae91099e9
Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit.
...
Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.
15 years ago
Dean Camera
0c5d6f5f97
Added Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and demos.
15 years ago
Dean Camera
196724c62d
Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class driver and Keyboard demos.
15 years ago
Dean Camera
a96d77eca7
Add documentation to the USB Class Drivers module on how to use the Host mode class drivers.
15 years ago
Dean Camera
84e1241f80
Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels.
15 years ago
Dean Camera
4d246a82cb
Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen).
...
Mark the AVRISP-MKII project descriptors as being both Bus Powered and Device Powered.
Copy over file level documentation of the peripheral drivers to the module level documentation.
15 years ago
Dean Camera
b6a4584a19
Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction into account.
...
Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
15 years ago
Dean Camera
d26a9ed5fd
Be doubly-certain that the incomming CDC class driver's endpoint/pipe is flushed only once when the bank is empty.
15 years ago
Dean Camera
431db89b00
Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe.
15 years ago
Dean Camera
74b6993d66
Cleanup and partially fix AVRISP-MKII project's TPI programming support.
15 years ago
Dean Camera
f3d370a777
Clean up and add more comments to the AVRISP-MKII project. Make sure the SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs.
15 years ago
Dean Camera
b0ce1eab66
Fix incorrect preprocessor checks in the PLL prescaler mask determination code for the ATMEGA32U2.
15 years ago
Dean Camera
77dda302ac
Fixed invalid USB controller PLL prescaler values for the ATMEGAxxU2 controllers
...
Fixed lack of support for the ATMEGA32U2 in the DFU and CDC class bootloaders
Changed incomplete Webserver project over to using the uIP timer library.
15 years ago
Dean Camera
89e4d73289
Fixed incorrect interface values in the VirtualSerialMouse and KeyboardMouse demo class driver structures.
...
Added caveat information to the CDC device class driver.
15 years ago
Dean Camera
a56d95e8c2
Fix XPLAIN Dataflash and LED drivers.
15 years ago
Dean Camera
d97db1120b
Added support to the MIDI Class drivers for packed data, where multiple MIDI events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
15 years ago
Dean Camera
60e9641222
Inline USB management functions in the Class drivers which are standardized but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
15 years ago
Dean Camera
6122ba93cf
Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed before the required library headers were included, causing a compilation error.
...
Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
15 years ago
Dean Camera
1e1cf2c499
Fix CDC blocking streams in Host mode locking up when the device is removed.
15 years ago
Dean Camera
71e5bcee3d
Fixed blocking CDC streams not aborting when the host is disconnected.
15 years ago
Dean Camera
58a39c6666
Clean up MassStorageKeyboard demo.
15 years ago
Dean Camera
7f9f97c792
Update copyright year to 2010.
15 years ago
Dean Camera
d4ca7fb44c
Fix MIT license language to make its intent clearer.
15 years ago
Dean Camera
d4952265a6
Ensure that unsupported SetFeature/ClearFeature request targets cause a STALL back to the host.
15 years ago
Dean Camera
8b75659563
Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.
15 years ago
Dean Camera
2cab8f0725
Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy).
15 years ago
Dean Camera
c3758ac5ef
Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.
...
Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
15 years ago
Dean Camera
108a22a66a
The SImage_Host_SendBlockHeader() and SImage_Host_ReceiveBlockHeader() Still Image Host Class driver functions are now public.
15 years ago
Dean Camera
79efd8c79e
Fix a bug in the Still Image Host Class driver where the returned block status code was being truncated.
...
Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
15 years ago
Dean Camera
6648234157
Test with -Wextra, fix library warnings due to unused function parameters.
15 years ago
Dean Camera
32b7762325
Oops - wrong casting on the Configuration Descriptor pointer advance routine.
15 years ago
Dean Camera
3705330dd3
Use -pedantic compile time option to find and correct several minor code errors.
15 years ago
Dean Camera
9c8ed168e5
Fix inverted bit-banged USART logic in the AVRISP project for PDI 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.
15 years ago
Dean Camera
e4cfd5208f
Fix incorrect definition of Endpoint_BytesInEndpoint() for the U4 parts.
15 years ago
Dean Camera
7ace314cc1
Increase timeout of Mass Storage and Still Image host commands to 10 seconds (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.).
15 years ago
Dean Camera
c1fa230618
Add new USB_Host_GetDeviceStringDescriptor() convenience function.
15 years ago
Dean Camera
c49bdcb7c9
Fixed Mass Storage Host Class driver and Low Level demo not clearing the error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
15 years ago
Dean Camera
7e86387958
Fix double oops -- Host mode settle delay was still being ignored due to 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.
15 years ago
Dean Camera
a925407588
Oops - fix Host mode pre-enumeration settle delay being ignored leading to failure to enumerate certain devices.
15 years ago
Dean Camera
d6e3259f8b
Fix incorrect const'ness of the ReportItem parameter in USB_SetHIDReportItemInfo().
15 years ago
Dean Camera
2919aeeaab
Fixed HID Parser not distributing the Usage Min and Usage Max values across 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.
15 years ago
Dean Camera
1b2cd16976
Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent data to the attached device.
15 years ago
Dean Camera
b7f6a65c25
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.
15 years ago
Dean Camera
414b92e812
Add to the existing CDC Class Driver's CreateStream() function documentation to explicitly state that the created streams are bidirectional.
15 years ago
Dean Camera
958d28d05d
Better checking of whether a packet is received in the RNDISEthernetHost Class driver demo - show busy LED status while packets are being printed out.
15 years ago
Dean Camera
5e46801096
Complete RNDIS Host Class driver code - add SendPacket function.
...
Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints.
15 years ago
Dean Camera
f6de4db000
Remove documentation of deleted parameters from the RNDIS Host Class driver's device Initialize function.
15 years ago
Dean Camera
04e177b66e
Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common Class driver directory.
15 years ago
Dean Camera
5aa2b26261
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.
15 years ago