pub/USBasp.git
15 years agoRename the AT90USBXXX67 internal driver directory to AVRU4U6U7.
Dean Camera [Tue, 3 Nov 2009 11:11:51 +0000 (11:11 +0000)]
Rename the AT90USBXXX67 internal driver directory to AVRU4U6U7.

15 years agoAdd const attribute to class driver APIs.
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.

15 years agoMake HID device class driver ignore the previous HID report comparison buffer when...
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.

15 years agoUse clearer buffer names in the USBtoSerial project to prevent confusion.
Dean Camera [Mon, 26 Oct 2009 11:27:13 +0000 (11:27 +0000)]
Use clearer buffer names in the USBtoSerial project to prevent confusion.

15 years agoMake HID device class driver reselect the correct endpoint after the user callbacks...
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.

15 years agoMoved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo...
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.

15 years agoFix invalid Event name rule in demo/project makefiles.
Dean Camera [Fri, 16 Oct 2009 08:04:51 +0000 (08:04 +0000)]
Fix invalid Event name rule in demo/project makefiles.

15 years agoFix AudioOutput and AudioInput class driver demos' descriptors -- incorrect value...
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.

15 years agoMake Audio device demos compatible with AVRs running at 16MHz instead of 8MHz.
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.

15 years agoAdded stdio.h stream examples for the virtual CDC UART in the CDC host demos.
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.

15 years agoAdd new MIDI Host Class driver to the library, and new MIDIHost ClassDriver demo.
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.

15 years agoApplication documentation/comment cleanup.
Dean Camera [Thu, 8 Oct 2009 07:18:28 +0000 (07:18 +0000)]
Application documentation/comment cleanup.

15 years agoAdd new MIDIHost LowLevel demo application.
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.

15 years agoFix accidentally changed code breaking the HID descriptor parser.
Dean Camera [Mon, 5 Oct 2009 05:20:30 +0000 (05:20 +0000)]
Fix accidentally changed code breaking the HID descriptor parser.

15 years agoFix broken Endpoint/Pipe stream templates.
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.

15 years agoMinor documentation fixups.
Dean Camera [Sat, 3 Oct 2009 15:30:29 +0000 (15:30 +0000)]
Minor documentation fixups.

15 years agoChanged Audio Class driver sample read/write functions to be inline, to reduce the...
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.

15 years agoAdded support for the Atmel XPLAIN board.
Dean Camera [Fri, 2 Oct 2009 09:11:37 +0000 (09:11 +0000)]
Added support for the Atmel XPLAIN board.

15 years agoCleanups to the Device mode Mass Storage demo applications' SCSI routines.
Dean Camera [Fri, 2 Oct 2009 07:40:24 +0000 (07:40 +0000)]
Cleanups to the Device mode Mass Storage demo applications' SCSI routines.

15 years agoAdded pinouts to the AVRISP project for a standard ISP 6 Pin header to make construct...
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.

15 years agoAdded new HID_HOST_BOOT_PROTOCOL_ONLY compile time token to reduce the size of the...
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.

15 years agoFixed issue in the HID Host class driver's HID_Host_SendReportByID() routine using...
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.

15 years agoRemoved mostly useless "TestApp" demo, as it was mainly useful only for checking...
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.

15 years agoFix missing semicolons in the *WithParser Host mode demos.
Dean Camera [Tue, 29 Sep 2009 07:21:47 +0000 (07:21 +0000)]
Fix missing semicolons in the *WithParser Host mode demos.

15 years agoFix 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.

15 years agoAdd information on the new MouseHostDevice dual role demo to the library documentatio...
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.

15 years agoRemove old OTG demo directory with useless TestApp demo. Add new DualRole directory...
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.

15 years agoFixed PrinterHost demo returning invalid Device ID data when the attached device...
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).

15 years agoDoxygen fixes to \param directives to give data direction in all projects. Make HID...
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.

15 years agoFix incorrect names for the HID Host protocol setting routines.
Dean Camera [Thu, 24 Sep 2009 01:52:57 +0000 (01:52 +0000)]
Fix incorrect names for the HID Host protocol setting routines.

15 years agoFix more build errors in the LowLevel "WithParser" HID Host demos.
Dean Camera [Tue, 22 Sep 2009 10:05:17 +0000 (10:05 +0000)]
Fix more build errors in the LowLevel "WithParser" HID Host demos.

15 years agoFix broken Host ClassDriver MouseHostWithParser demo.
Dean Camera [Tue, 22 Sep 2009 09:52:25 +0000 (09:52 +0000)]
Fix broken Host ClassDriver MouseHostWithParser demo.

15 years agoAdd new error condition to the HID Report Parser for when a report is parsed but...
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.

15 years agoMove Dataflash operational checking code out from SCSI.c into the DataflashManager...
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.

15 years agoAdd new attributes to the HID Report Parser and HID Host Mode Class driver to keep...
Dean Camera [Mon, 21 Sep 2009 12:23:09 +0000 (12:23 +0000)]
Add new attributes to the HID Report Parser and HID Host Mode Class driver to keep track of the largest report the device can send for buffer allocation purposes. Change MouseHostWithParser and KeyboardHostWithParser demos to only allocate the needed number of bytes.

15 years agoFinish initial draft of the Host Mode HID Class driver.
Dean Camera [Mon, 21 Sep 2009 10:49:06 +0000 (10:49 +0000)]
Finish initial draft of the Host Mode HID Class driver.

Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.

15 years agoAdded new MassStorageKeyboard Device Class Driver demo (thanks to Matthias Hullin).
Dean Camera [Mon, 21 Sep 2009 08:07:26 +0000 (08:07 +0000)]
Added new MassStorageKeyboard Device Class Driver demo (thanks to Matthias Hullin).

15 years agoFix broken MagStripe demo due to the HID Class driver changes.
Dean Camera [Mon, 21 Sep 2009 06:46:39 +0000 (06:46 +0000)]
Fix broken MagStripe demo due to the HID Class driver changes.

15 years agoFix building of KeyboardHostWithParser and MouseHostWithParser demos broken by HIDPar...
Dean Camera [Mon, 21 Sep 2009 06:32:16 +0000 (06:32 +0000)]
Fix building of KeyboardHostWithParser and MouseHostWithParser demos broken by HIDParser API changes.

15 years agoFix broken KeyboardMouse ClassDriver device demo - use internal HID Class Driver...
Dean Camera [Mon, 21 Sep 2009 06:13:00 +0000 (06:13 +0000)]
Fix broken KeyboardMouse ClassDriver device demo - use internal HID Class Driver structures for boot protocol reports.

15 years agoAdd const qualifiers to Host mode Class drivers.
Dean Camera [Mon, 21 Sep 2009 06:08:39 +0000 (06:08 +0000)]
Add const qualifiers to Host mode Class drivers.

Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.

15 years agoOops - Keyboard boot report structure should be an array of 6 keycodes.
Dean Camera [Sun, 20 Sep 2009 13:01:45 +0000 (13:01 +0000)]
Oops - Keyboard boot report structure should be an array of 6 keycodes.

15 years agoRemove type definitions of the keyboard and mouse boot protocol report layouts from...
Dean Camera [Sun, 20 Sep 2009 12:52:35 +0000 (12:52 +0000)]
Remove type definitions of the keyboard and mouse boot protocol report layouts from the Device Class Driver demos, as they are now located inside the class driver.

15 years agoAdd KeyboardHost HID Host Class driver demo to the library.
Dean Camera [Sun, 20 Sep 2009 12:46:26 +0000 (12:46 +0000)]
Add KeyboardHost HID Host Class driver demo to the library.

15 years agoFinish Class Driver MouseHost demo. Update HID Host Class driver; boot protocol now...
Dean Camera [Sun, 20 Sep 2009 12:34:07 +0000 (12:34 +0000)]
Finish Class Driver MouseHost demo. Update HID Host Class driver; boot protocol now works, still need to finish and test report protocol mode.

15 years agoAdded new Pipe_IsFrozen() macro to determine if the currently selected pipe is frozen.
Dean Camera [Sun, 20 Sep 2009 12:01:25 +0000 (12:01 +0000)]
Added new Pipe_IsFrozen() macro to determine if the currently selected pipe 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.

15 years agoAdded support for the officially recommended layout of the external peripherals conne...
Dean Camera [Thu, 17 Sep 2009 23:34:16 +0000 (23:34 +0000)]
Added support for the officially recommended layout of the external peripherals connected to the BUMBLEB board.

Added flag to the HID Host Class driver to indicate the currently selected reporting protocol.

15 years agoFix Mass Storage Host Class driver GetMaxLUN command - incorrect function return...
Dean Camera [Thu, 17 Sep 2009 13:12:21 +0000 (13:12 +0000)]
Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function 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.

15 years agoFix LUFA event list generation rule in the main LUFA makefile (thanks to Thomas Bleeker).
Dean Camera [Mon, 14 Sep 2009 06:01:32 +0000 (06:01 +0000)]
Fix LUFA event list generation rule in the main LUFA makefile (thanks to Thomas Bleeker).

15 years agoFixed MIDI Device Class driver not sending/receiving MIDI packets of the correct...
Dean Camera [Mon, 14 Sep 2009 05:57:17 +0000 (05:57 +0000)]
Fixed MIDI Device Class driver not sending/receiving MIDI packets of the correct size (thanks to Thomas Bleeker).

15 years agoFixed Low Level USBtoSerial demo not storing received characters (thanks to Michael...
Dean Camera [Sun, 13 Sep 2009 08:29:31 +0000 (08:29 +0000)]
Fixed Low Level USBtoSerial demo not storing received characters (thanks to Michael from DirectAid.ca).

15 years agoRevert changed CDC_Device_Flush() prototype accidentially changed in the last commit.
Dean Camera [Thu, 10 Sep 2009 07:05:26 +0000 (07:05 +0000)]
Revert changed CDC_Device_Flush() prototype accidentially changed in the last commit.

15 years agoPrevent the CDC Device Class driver from sending empty IN packets on every service...
Dean Camera [Thu, 10 Sep 2009 06:41:57 +0000 (06:41 +0000)]
Prevent the CDC Device Class driver from sending empty IN packets on every service task call - only send termination packets when data is in the endpoint.

15 years agoRemove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out standard descri...
Dean Camera [Wed, 9 Sep 2009 13:17:04 +0000 (13:17 +0000)]
Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out 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.

15 years agoChange HID report parser so that it can calculate and record the sizes (IN, OUT and...
Dean Camera [Wed, 9 Sep 2009 08:34:24 +0000 (08:34 +0000)]
Change HID report parser so that it can calculate and record the sizes (IN, 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.

15 years agoAdd Host mode Class driver demo summaries.
Dean Camera [Wed, 9 Sep 2009 04:22:49 +0000 (04:22 +0000)]
Add Host mode Class driver demo summaries.

15 years agoFinish Still Image Host class driver.
Dean Camera [Wed, 9 Sep 2009 04:18:37 +0000 (04:18 +0000)]
Finish Still Image Host class driver.

15 years agoAdd link to third-party signed version of the official FLIP DFU driver for 64-bit...
Dean Camera [Mon, 7 Sep 2009 10:50:58 +0000 (10:50 +0000)]
Add link to third-party signed version of the official FLIP DFU driver for 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.

15 years agoRemove information about 64 bit Windows OS signing requirements for the CDC based...
Dean Camera [Mon, 7 Sep 2009 08:11:17 +0000 (08:11 +0000)]
Remove information about 64 bit Windows OS signing requirements for the CDC based demos -- apparently the native CDC driver can be installed without first disabling the OS's driver signing requirements.

15 years agoCorrected incorrect signature bytes for the AT90USB82 and added support for the ATMEG...
Dean Camera [Mon, 7 Sep 2009 07:57:00 +0000 (07:57 +0000)]
Corrected incorrect signature bytes for the AT90USB82 and added support for the ATMEGAXX2 variant AVRs to the DFU bootloader.

Added warning to the EVENT_USB_Device_Connect() and EVENT_USB_Device_Disconnect() events that they may be fired multiple times during device enumeration on the series 2 AVRs.

15 years agoFixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.
Dean Camera [Sun, 6 Sep 2009 20:30:26 +0000 (20:30 +0000)]
Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.

15 years agoAdd in new invalid event hook check targets to project makefiles to produce compilati...
Dean Camera [Sun, 6 Sep 2009 05:58:40 +0000 (05:58 +0000)]
Add in new invalid event hook check targets to project makefiles to produce 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.

15 years agoAdded 64 bit OS driver installation instructions to the readme for all CDC based...
Dean Camera [Sun, 6 Sep 2009 04:22:46 +0000 (04:22 +0000)]
Added 64 bit OS driver installation instructions to the readme for all CDC based projects.

15 years agoChanged Still Image Host class driver to auto-fill TransactionID element of sent...
Dean Camera [Sun, 6 Sep 2009 04:15:35 +0000 (04:15 +0000)]
Changed Still Image Host class driver to auto-fill TransactionID element of 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.

15 years agoAdd StillImage Host Class Driver functions for opening and closing sessions. Ensure...
Dean Camera [Wed, 2 Sep 2009 13:08:55 +0000 (13:08 +0000)]
Add StillImage Host Class Driver functions for opening and closing sessions. 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".

15 years agoAdd user-filtering to the HID report parser, so that the user code can decide which...
Dean Camera [Wed, 2 Sep 2009 07:16:52 +0000 (07:16 +0000)]
Add user-filtering to the HID report parser, so that the user code can decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.

15 years agoFixed error in PrinterHost preventing the full page data from being sent to the attac...
Dean Camera [Wed, 2 Sep 2009 00:27:52 +0000 (00:27 +0000)]
Fixed error in PrinterHost preventing the full page data from being sent to the attached device.

15 years agoChanged HIDParser to only zero out important values in the Parsed HID Report Item...
Dean Camera [Tue, 1 Sep 2009 15:46:46 +0000 (15:46 +0000)]
Changed HIDParser to only zero out important values in the Parsed HID Report Item Information structure to save cycles.

15 years agoFix up MissileLauncher demo's ConfigurationDescriptor.c so that it uses the new USB_G...
Dean Camera [Tue, 1 Sep 2009 13:57:47 +0000 (13:57 +0000)]
Fix up MissileLauncher demo's ConfigurationDescriptor.c so that it uses the new USB_GetDeviceConfigDescriptor() function parameters.

15 years agoAdded documentation for the constants and enums of the new StillImage Host Class...
Dean Camera [Tue, 1 Sep 2009 13:47:11 +0000 (13:47 +0000)]
Added documentation for the constants and enums of the new StillImage Host Class driver added to the library so far.

15 years agoFixed StillImageHost not correctly freezing and unfreezing data pipes while waiting...
Dean Camera [Tue, 1 Sep 2009 13:35:30 +0000 (13:35 +0000)]
Fixed StillImageHost not correctly freezing and unfreezing data pipes while waiting for a response block header.

Added basic PIMA commands to the StillImage Host Class driver - need to extend to PIMA specific command functions.

15 years agoMove check for devices not supporting internal serials in demos which make use of...
Dean Camera [Tue, 1 Sep 2009 11:16:57 +0000 (11:16 +0000)]
Move check for devices not supporting internal serials in demos which make use of USE_INTERNAL_SERIAL to Descriptors.c from Descriptors.h so that the warning is only generated at most once per compilation.

15 years agoAdd return codes to the CDC Host Class driver String/Byte transmission functions.
Dean Camera [Mon, 31 Aug 2009 13:58:03 +0000 (13:58 +0000)]
Add return codes to the CDC Host Class driver String/Byte transmission functions.

15 years agoAdd extra check for OUT ZLP in the CDC Device Class driver service task to quickly...
Dean Camera [Mon, 31 Aug 2009 12:43:28 +0000 (12:43 +0000)]
Add extra check for OUT ZLP in the CDC Device Class driver service task to quickly clear zero-length termination packets from the host.

15 years agoRemoved unused INCLUDE_FROM_BOARD_DRIVER internal define from the board driver dispat...
Dean Camera [Mon, 31 Aug 2009 08:35:52 +0000 (08:35 +0000)]
Removed unused INCLUDE_FROM_BOARD_DRIVER internal define from the board driver dispatch headers.

15 years agoOops - with new changes to the way the device Configuration Descriptor is retrieved...
Dean Camera [Mon, 31 Aug 2009 08:27:48 +0000 (08:27 +0000)]
Oops - with new changes to the way the device Configuration Descriptor is retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters.

15 years agoChanged the parameters and behaviour of the USB_GetDeviceConfigDescriptor() function...
Dean Camera [Mon, 31 Aug 2009 07:48:32 +0000 (07:48 +0000)]
Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() function so that it now performs size checks and data validations internally, to simplify user code.

15 years agoRemove deleted source files from the Device mode Class driver demos to enable them...
Dean Camera [Sun, 30 Aug 2009 11:42:16 +0000 (11:42 +0000)]
Remove deleted source files from the Device mode Class driver demos to enable them to be built.

15 years agoRemove deleted source files from the LUFA library makefile.
Dean Camera [Sun, 30 Aug 2009 11:40:26 +0000 (11:40 +0000)]
Remove deleted source files from the LUFA library makefile.

Renamed parameters of SI_Host_ConfigurePipes() to match other Host mode Class drivers.

15 years agoAdded start of the Still Image Host Class driver demo and driver code.
Dean Camera [Sun, 30 Aug 2009 11:36:04 +0000 (11:36 +0000)]
Added start of the Still Image Host Class driver demo and driver code.

Re-enabled building of the Host mode demos ClassDriver directory.

15 years agoRemove skeleton Audio and MIDI Host mode Class drivers -- will not implement in next...
Dean Camera [Sun, 30 Aug 2009 10:43:41 +0000 (10:43 +0000)]
Remove skeleton Audio and MIDI Host mode Class drivers -- will not implement in next release.

15 years agoReplace -finline-limit with -fno-inline-small-functions in project makefiles.
Dean Camera [Sun, 30 Aug 2009 06:52:03 +0000 (06:52 +0000)]
Replace -finline-limit with -fno-inline-small-functions in project makefiles.

15 years agoMove ADC VTARGET sampling to a new V2Params_UpdateParamValues() in the AVRISP project...
Dean Camera [Sun, 30 Aug 2009 03:51:44 +0000 (03:51 +0000)]
Move ADC VTARGET sampling to a new V2Params_UpdateParamValues() in the AVRISP project so that there is a central place where all non-PC set target values can be updated easily.

15 years agoIncrease AVRISP command timeout to 240ms up from 150ms to prevent some ISP commands...
Dean Camera [Fri, 28 Aug 2009 08:24:50 +0000 (08:24 +0000)]
Increase AVRISP command timeout to 240ms up from 150ms to prevent some ISP commands from timing out too early.

Add check to the PROGRAM FLASH ISP and PROGRAM EEPROM ISP handler to return an explicit error when the host attempts to write more data than the device is able to buffer.

15 years agoMake WaitWhileBusy function in the AVRISP project more explicit about how it sends...
Dean Camera [Thu, 27 Aug 2009 23:07:53 +0000 (23:07 +0000)]
Make WaitWhileBusy function in the AVRISP project more explicit about how it sends and receives the busy check command.

Reduce size of PROGRAM FLASH ISP or PROGRAM EEPROM ISP buffer to 256 bytes to prevent blowing the stack on the smallest USB AVR models.

15 years agoFixed Device mode HID Class driver not explicitly initializing the ReportSize paramet...
Dean Camera [Thu, 27 Aug 2009 22:34:41 +0000 (22:34 +0000)]
Fixed Device mode HID Class driver not explicitly initializing the ReportSize parameter to zero before calling callback routine, so that ignored callbacks don't cause incorrect data to be sent.

15 years agoCondensed SCSI command functions in the LowLevel Mass Storage Host demo, to save...
Dean Camera [Thu, 27 Aug 2009 13:12:44 +0000 (13:12 +0000)]
Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to 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).

15 years agoAdd check to Pipe_IsEndpointBound() in the Mass Storage Host mode Class driver to...
Dean Camera [Thu, 27 Aug 2009 11:43:37 +0000 (11:43 +0000)]
Add check to Pipe_IsEndpointBound() in the Mass Storage Host mode Class driver to ensure that multiple instances of the driver can be used on a single device with multiple Mass Storage interfaces.

15 years agoSimplified Host mode Mass Storage Class driver to reduce compiled program size.
Dean Camera [Thu, 27 Aug 2009 08:17:06 +0000 (08:17 +0000)]
Simplified Host mode Mass Storage Class driver to reduce compiled program size.

15 years agoFix memory corruption in Host mode Mass Storage Class driver.
Dean Camera [Thu, 27 Aug 2009 08:01:33 +0000 (08:01 +0000)]
Fix memory corruption in Host mode Mass Storage Class driver.

15 years agoAdded better USB Class driver overviews.
Dean Camera [Thu, 27 Aug 2009 07:48:48 +0000 (07:48 +0000)]
Added better USB Class driver overviews.

15 years agoAdded new "Common" section to the class drivers, to hold all mode-independant definit...
Dean Camera [Thu, 27 Aug 2009 07:38:40 +0000 (07:38 +0000)]
Added new "Common" section to the class drivers, to hold all mode-independant definitions for clarity.

Moved SCSI command/sense constants into the Mass Storage Class driver, instead of the user-code.

15 years agoAdded extra note about missing OUT endpoint configuration to the HID Device mode...
Dean Camera [Thu, 27 Aug 2009 07:10:00 +0000 (07:10 +0000)]
Added extra note about missing OUT endpoint configuration to the HID Device mode Class driver.

Added pinout information to the AVRISP project.

15 years agoFixed Device mode HID Class driver always sending IN reports, even when no data is...
Dean Camera [Thu, 27 Aug 2009 06:36:01 +0000 (06:36 +0000)]
Fixed Device mode HID Class driver always sending IN reports, even when no data is to be reported.

15 years agoMinor documentation fixes to the completed Host mode Class drivers.
Dean Camera [Thu, 27 Aug 2009 06:32:12 +0000 (06:32 +0000)]
Minor documentation fixes to the completed Host mode Class drivers.

15 years agoCompleted initial Host mode Mass Storage class driver.
Dean Camera [Thu, 27 Aug 2009 06:28:18 +0000 (06:28 +0000)]
Completed initial Host mode Mass Storage class driver.

15 years agoAdded MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host mode Mass...
Dean Camera [Wed, 26 Aug 2009 08:20:55 +0000 (08:20 +0000)]
Added MS_Host_TestUnitReady() and MS_Host_ReadDeviceCapacity() to the host mode Mass Storage Class driver.

15 years agoAdd SCSICodes.h to the Class Driver Common folder, and automatically include it in...
Dean Camera [Wed, 26 Aug 2009 07:51:40 +0000 (07:51 +0000)]
Add SCSICodes.h to the Class Driver Common folder, and automatically include it in both the Host and Device Mass Storage Class drivers. Delete existing version from the ClassDriver MassStorage device demo's /Lib/ folder.

15 years agoOops: Really disable building of Projects/Host/ClassDriver directory in the Projects...
Dean Camera [Wed, 26 Aug 2009 07:34:31 +0000 (07:34 +0000)]
Oops: Really disable building of Projects/Host/ClassDriver directory in the 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.

15 years agoMore work on the Mass Storage Host mode Class driver.
Dean Camera [Wed, 26 Aug 2009 07:01:32 +0000 (07:01 +0000)]
More work on the Mass Storage Host mode Class driver.

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.