Skip to content
Snippets Groups Projects
  1. Aug 06, 2009
    • Dean Camera's avatar
      Make Endpoint control transfers more reliable; early-abort when an incomplete... · c830fcb0
      Dean Camera authored
      Make Endpoint control transfers more reliable; early-abort when an 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.
      c830fcb0
  2. Aug 05, 2009
    • Dean Camera's avatar
      Make Control Endpoint stream transfers more reliable by adding in early aborts... · 4421782b
      Dean Camera authored
      Make Control Endpoint stream transfers more reliable by adding in early 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.
      4421782b
    • Dean Camera's avatar
      Renamed all library events to properly seperate out Device and Host mode... · c5038f1b
      Dean Camera authored
      Renamed all library events to properly seperate out Device and Host mode 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.
      c5038f1b
  3. Jul 28, 2009
  4. Jul 24, 2009
  5. Jul 21, 2009
    • Dean Camera's avatar
      Added new USB_DeviceState variable to keep track of the current Device mode USB state. · e071f389
      Dean Camera authored
      Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers.
      
      Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality.
      
      Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead.
      
      Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
      e071f389
    • Dean Camera's avatar
      Add explicit guards to all device mode tasks to ensure the device is connected... · 67f390fe
      Dean Camera authored
      Add explicit guards to all device mode tasks to ensure the device is connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
      67f390fe
  6. Jul 20, 2009
  7. Jul 19, 2009
  8. Jul 16, 2009
    • Dean Camera's avatar
      Added new TOTAL_NUM_CONFIGURATIONS option, removed... · 37f8a84f
      Dean Camera authored
      Added new TOTAL_NUM_CONFIGURATIONS option, removed USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility).
      
      Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
      37f8a84f
  9. Jul 13, 2009
  10. Jul 11, 2009
    • Dean Camera's avatar
      Added incomplete PrinterHost demo application. · e0af6014
      Dean Camera authored
      Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder.
      
      Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
      e0af6014
  11. Jun 28, 2009
    • Dean Camera's avatar
      Added const modifiers to device mode class drivers. · f1076ac4
      Dean Camera authored
      Added parameter directions to function parameter documentation.
      
      Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
      f1076ac4
  12. Jun 26, 2009
    • Dean Camera's avatar
      Optimize vendor/product description string display code in MassStorageHost. · 1756087c
      Dean Camera authored
      Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed.
      
      Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails.
      
      Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
      1756087c
  13. Jun 23, 2009
  14. Jun 20, 2009
  15. Jun 19, 2009
  16. Jun 18, 2009
    • Dean Camera's avatar
      Break device mode class driver interfaces into seperate config and state... · f896c00c
      Dean Camera authored
      Break device mode class driver interfaces into seperate config and state structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
      f896c00c
    • Dean Camera's avatar
      Added new USB_Host_ClearPipeStall() convenience function to clear a stall... · e338cb6f
      Dean Camera authored
      Added new USB_Host_ClearPipeStall() convenience function to clear a stall condition on an attached device's endpoint.
      
      Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor.
      
      Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption.
      
      Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
      e338cb6f
  17. Jun 16, 2009
  18. Jun 15, 2009
Loading