pub/USBasp.git
16 years agoFixed minor issue with the RNDISEthernet demo DHCP protocol decoder routine using...
Dean Camera [Wed, 15 Apr 2009 00:56:12 +0000 (00:56 +0000)]
Fixed minor issue with the RNDISEthernet demo DHCP protocol decoder routine using incorrectly named variables (thanks to Jonathan Oakley).

Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei).

16 years agoCorrected AudioInput and AudioOutput demos, to fix endpoint underflows due to roundin...
Dean Camera [Tue, 14 Apr 2009 12:07:41 +0000 (12:07 +0000)]
Corrected AudioInput and AudioOutput demos, to fix endpoint underflows due to rounding in the sample reload timer.

16 years agoThe USB_Host_SendControlRequest() function no longer automatically selects the Contro...
Dean Camera [Tue, 14 Apr 2009 08:35:47 +0000 (08:35 +0000)]
The USB_Host_SendControlRequest() function no longer automatically selects the Control pipe (pipe 0), so that other control type pipes can be used with the function.

The USB Host management task now saves and restores the currently selected pipe before and after the task completes.

16 years agoAdjusted sample CTC timer calculations in the AudioOutput and AudioInput demos to...
Dean Camera [Tue, 14 Apr 2009 08:17:24 +0000 (08:17 +0000)]
Adjusted sample CTC timer calculations in the AudioOutput and AudioInput demos to account for situations where the division results in a value with no remainder, requiring one to be subtracted from the result (thanks to Robin Theunis).

16 years agoFixed RNDISEthenet demo checking the incorrect message field for packet size constrai...
Dean Camera [Mon, 13 Apr 2009 06:58:46 +0000 (06:58 +0000)]
Fixed RNDISEthenet demo checking the incorrect message field for packet size constraints (thanks to Jonathan).

Fixed WriteNextReport code in the GenericHIDHost demo using incorrect parameter types and not selecting the correct endpoint.

16 years agoFixed GenericHID demo not starting USB and HID management tasks when not using interr...
Dean Camera [Thu, 9 Apr 2009 00:00:59 +0000 (00:00 +0000)]
Fixed GenericHID demo not starting USB and HID management tasks when not using interrupt driven modes (thanks to Carl Kjeldsen).

16 years agoAdded support to the CDCHost demo for devices with mutiple CDC interfaces which are...
Dean Camera [Tue, 7 Apr 2009 11:46:54 +0000 (11:46 +0000)]
Added support to the CDCHost demo for devices with mutiple CDC interfaces which are not the correct ACM type preceeding the desired ACM CDC interface.

16 years agoAdded preprocessor checks and documentation to the bootloaders giving information...
Dean Camera [Tue, 7 Apr 2009 04:19:57 +0000 (04:19 +0000)]
Added preprocessor checks and documentation to the bootloaders giving information about missing SIGNATURE_x defines due to outdated avr-libc versions.

16 years agoRemoved all binary constants and replaced with decimal or hexadecimal constants so...
Dean Camera [Sun, 5 Apr 2009 07:00:11 +0000 (07:00 +0000)]
Removed all binary constants and replaced with decimal or hexadecimal constants so that unpatched GCC compilers can still build the code without having to be itself patched and recompiled first.

16 years agoMove StdRequestType.h, StreamCallbacks.h, USBMode.h from the LowLevel USB driver...
Dean Camera [Sun, 5 Apr 2009 06:27:49 +0000 (06:27 +0000)]
Move StdRequestType.h, StreamCallbacks.h, USBMode.h from the LowLevel USB driver directory to the HighLevel USB driver directory, where they are more suited.

16 years agoAdd call to MassStore_WaitForDataReceived() in MassStore_GetReturnedStatus() to ensur...
Dean Camera [Sun, 5 Apr 2009 04:05:07 +0000 (04:05 +0000)]
Add call to MassStore_WaitForDataReceived() in MassStore_GetReturnedStatus() to ensure that the CSW has been received in the extended MSC timeout period before continuing, to prevent long processing delays from causing the MassStore_GetReturnedStatus() to early-abort.

16 years agoAdded new PIMA_DATA_SIZE() define to the Still Image Host demo.
Dean Camera [Thu, 2 Apr 2009 10:13:12 +0000 (10:13 +0000)]
Added new PIMA_DATA_SIZE() define to the Still Image Host demo.

16 years agoAll comments in the library, bootloaders, demos and projects have now been spell...
Dean Camera [Wed, 1 Apr 2009 13:53:58 +0000 (13:53 +0000)]
All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected.

16 years agoMinor corrections to the library Doxygen documentation.
Dean Camera [Wed, 1 Apr 2009 13:10:05 +0000 (13:10 +0000)]
Minor corrections to the library Doxygen documentation.

16 years agoChanged GenericHID device demo to use the LUFA scheduler, added INTERRUPT_DATA_ENDPOI...
Dean Camera [Wed, 1 Apr 2009 07:43:50 +0000 (07:43 +0000)]
Changed GenericHID device demo to use the LUFA scheduler, added INTERRUPT_DATA_ENDPOINT and INTERRUPT_CONTROL_ENDPOINT compile time options.

16 years agoAdded new GenericHIDHost demo.
Dean Camera [Wed, 1 Apr 2009 07:21:45 +0000 (07:21 +0000)]
Added new GenericHIDHost demo.

Corrections to the KeyboardHost and MouseHost demos' pipe handling to freeze and unfreeze the data pipes at the point of use.

16 years agoFixed incorrect defined in Version.h.
Dean Camera [Wed, 1 Apr 2009 05:38:43 +0000 (05:38 +0000)]
Fixed incorrect defined in Version.h.

Fixed Still Image Host SImage_SendData() function not clearing the pipe bank after sending data.

16 years agoCommit for the 090401 release.
Dean Camera [Tue, 31 Mar 2009 11:56:00 +0000 (11:56 +0000)]
Commit for the 090401 release.

16 years agoMinor documentation fixes to correct formatting and typos.
Dean Camera [Sun, 29 Mar 2009 12:59:44 +0000 (12:59 +0000)]
Minor documentation fixes to correct formatting and typos.

16 years agoAdded new GenericHID device demo application.
Dean Camera [Sun, 29 Mar 2009 12:42:25 +0000 (12:42 +0000)]
Added new GenericHID device demo application.

16 years agoFixed MagStripe keyboard interface polling interval, increased to 4ms from 2ms to...
Dean Camera [Sun, 29 Mar 2009 06:31:24 +0000 (06:31 +0000)]
Fixed MagStripe keyboard interface polling interval, increased to 4ms from 2ms to maintain compatibility with Apple MacOS X. Fixed changelog comments on the size of the track buffers when compiling for the AT90USBXXX6/7.

16 years agoAdd new page to the documentation listing existing LUFA powered projects, fix up...
Dean Camera [Fri, 27 Mar 2009 08:45:39 +0000 (08:45 +0000)]
Add new page to the documentation listing existing LUFA powered projects, fix up some inaccuracies in the documentation.

16 years agoAVRISP Programmer code is no longer in the LUFA mainline, remove it's PID allocation.
Dean Camera [Fri, 27 Mar 2009 08:23:33 +0000 (08:23 +0000)]
AVRISP Programmer code is no longer in the LUFA mainline, remove it's PID allocation.

16 years agoFixed incorrect ADC driver init register manipulation (thanks to Tobias).
Dean Camera [Fri, 27 Mar 2009 03:11:58 +0000 (03:11 +0000)]
Fixed incorrect ADC driver init register manipulation (thanks to Tobias).

16 years agoCorrected bitfields -- the smallest datatype required for each bitfield is now used...
Dean Camera [Thu, 26 Mar 2009 03:22:02 +0000 (03:22 +0000)]
Corrected bitfields -- the smallest datatype required for each bitfield is now used, rather than relying on GCC to truncate unused bytes in bitfields (thanks to Walt Sacuta).

16 years agoFixed USBTask.h not conditionally including HostChapter9.h only when CAN_BE_DEVICE...
Dean Camera [Thu, 26 Mar 2009 00:20:28 +0000 (00:20 +0000)]
Fixed USBTask.h not conditionally including HostChapter9.h only when CAN_BE_DEVICE is defined (thanks to Ian Gregg).

16 years agoFixed documentation typoes and preprocessor checks relating to misspellings of the...
Dean Camera [Wed, 25 Mar 2009 22:43:00 +0000 (22:43 +0000)]
Fixed documentation typoes and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg).

16 years agoAdded missing documentation for AUDIO_SAMPLE_FREQUENCY configuration option in the...
Dean Camera [Wed, 25 Mar 2009 10:51:24 +0000 (10:51 +0000)]
Added missing documentation for AUDIO_SAMPLE_FREQUENCY configuration option in the audio device demos.

16 years agoFixed CDC demo not sending an empty packet after each transfer to prevent the host...
Dean Camera [Mon, 23 Mar 2009 05:43:49 +0000 (05:43 +0000)]
Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data.

Altered Project and Bootloader makefiles so that the path to the LUFA library can be set in one place.

16 years agoSeperated out OTG, Device and Host mode demos into seperate folders for clarity....
Dean Camera [Fri, 20 Mar 2009 06:34:41 +0000 (06:34 +0000)]
Seperated out OTG, Device and Host mode demos into seperate folders for clarity. Adjusted makefiles so that the path to the LUFA library can be set in one place.

16 years agoCombined Keyboad and Mouse normal and interrupt driven host demos into unified Keyboa...
Dean Camera [Fri, 20 Mar 2009 05:39:15 +0000 (05:39 +0000)]
Combined Keyboad and Mouse normal and interrupt driven host demos into unified Keyboard and Mouse host demos.

16 years agoEnsure that the Keyboard and Mouse demos adhere to the boot protocol specification...
Dean Camera [Thu, 19 Mar 2009 15:10:51 +0000 (15:10 +0000)]
Ensure that the Keyboard and Mouse demos adhere to the boot protocol specification in that they send a report before the idle period has elapsed if the report data has changed.

16 years agoCorrections to Keyboard and Mouse combined demos so that all modes (normal, interrupt...
Dean Camera [Thu, 19 Mar 2009 15:01:57 +0000 (15:01 +0000)]
Corrections to Keyboard and Mouse combined demos so that all modes (normal, interrupt, fully interrupt) work correctly.

16 years agoRemove now redundant MouseViaInt and MouseFullInt demos.
Dean Camera [Thu, 19 Mar 2009 14:17:16 +0000 (14:17 +0000)]
Remove now redundant MouseViaInt and MouseFullInt demos.

16 years agoCombined Mouse, MouseViaInt and MouseFullInt demos into a single unified demo.
Dean Camera [Thu, 19 Mar 2009 14:16:12 +0000 (14:16 +0000)]
Combined Mouse, MouseViaInt and MouseFullInt demos into a single unified demo.

Corrections to Keyboard demo.

Removed AVRISP_Programmer project due to code quality concerns.

16 years agoCombined Keyboard, KeyboardViaInt and KeyboardFullInt demos into a single unified...
Dean Camera [Thu, 19 Mar 2009 13:19:12 +0000 (13:19 +0000)]
Combined Keyboard, KeyboardViaInt and KeyboardFullInt demos into a single unified demo.

16 years agoFixed typos in the SPI driver SPI_SPEED_FCPU_DIV_64 and SPI_SPEED_FCPU_DIV_128 masks...
Dean Camera [Wed, 18 Mar 2009 09:14:09 +0000 (09:14 +0000)]
Fixed typos in the SPI driver SPI_SPEED_FCPU_DIV_64 and SPI_SPEED_FCPU_DIV_128 masks (thanks to Markus Zocholl).

16 years agoCorrected CDC class bootloader to fix a few bugs, changed address counter to store...
Dean Camera [Tue, 17 Mar 2009 13:56:26 +0000 (13:56 +0000)]
Corrected CDC class bootloader to fix a few bugs, changed address counter to store x2 addresses for convenience.

16 years agoIncomplete non-functional BluetoothHost demo removed until it has reached a stable...
Dean Camera [Tue, 17 Mar 2009 12:58:15 +0000 (12:58 +0000)]
Incomplete non-functional BluetoothHost demo removed until it has reached a stable state to prevent confusion.

16 years agoAdded DataflashManager_WriteBlocks_RAM() and DataflashManager_ReadBlocks_RAM() functi...
Dean Camera [Tue, 17 Mar 2009 10:45:32 +0000 (10:45 +0000)]
Added DataflashManager_WriteBlocks_RAM() and DataflashManager_ReadBlocks_RAM() functions to the MassStorage demo, to allow for easy interfacing with a FAT library for dataflash file level access.

16 years agoFixed broken Magstripe project and TeensyHID bootloader.
Dean Camera [Tue, 17 Mar 2009 05:27:51 +0000 (05:27 +0000)]
Fixed broken Magstripe project and TeensyHID bootloader.

16 years agoBoard Dataflash driver now allows for dataflash ICs which use different shifts for...
Dean Camera [Tue, 17 Mar 2009 04:43:34 +0000 (04:43 +0000)]
Board Dataflash driver now allows for dataflash ICs which use different shifts for setting the current page/byte address (thanks to Kenneth Clubb).

16 years agoAdded extra output to makefiles to indicate the currently selected BOARD parameter.
Dean Camera [Mon, 16 Mar 2009 11:29:00 +0000 (11:29 +0000)]
Added extra output to makefiles to indicate the currently selected BOARD parameter.

16 years agoRenamed NO_CLEARSET_FEATURE_REQUEST compile time token to NO_FEATURELESS_CONTROL_ONLY...
Dean Camera [Wed, 11 Mar 2009 13:11:58 +0000 (13:11 +0000)]
Renamed NO_CLEARSET_FEATURE_REQUEST compile time token to NO_FEATURELESS_CONTROL_ONLY_DEVICE and expanded its function to also remove parts of the Get Status chapter 9 request, to further reduce code usage.

16 years agoFixed incorrect/missing control status stage transfers on demos, bootloaders and...
Dean Camera [Tue, 10 Mar 2009 05:56:17 +0000 (05:56 +0000)]
Fixed incorrect/missing control status stage transfers on demos, bootloaders and applications (thanks to Nate Lawson).

16 years agoRemoved SetSystemClockPrescaler() macro, the clock_prescale_set() avr-libc macro...
Dean Camera [Mon, 9 Mar 2009 12:28:50 +0000 (12:28 +0000)]
Removed SetSystemClockPrescaler() macro, the clock_prescale_set() avr-libc macro has been corrected in recent avr-libc versions

16 years agoBranched trunk into MultiArch branch for future development of a multi-architecture...
Dean Camera [Mon, 9 Mar 2009 12:08:15 +0000 (12:08 +0000)]
Branched trunk into MultiArch branch for future development of a multi-architecture LUFA port.

16 years agoFixed interrupt driven HID device demos not clearing the interrupt flags in all circu...
Dean Camera [Mon, 9 Mar 2009 11:50:43 +0000 (11:50 +0000)]
Fixed interrupt driven HID device demos not clearing the interrupt flags in all circumstances.

16 years agoAltered DFU bootloader to use the signature byte constants located in the avr-libc...
Dean Camera [Mon, 9 Mar 2009 09:54:12 +0000 (09:54 +0000)]
Altered DFU bootloader to use the signature byte constants located in the avr-libc part headers, rather than redefining them in Descriptors.h.

16 years agoUpdated makefiles to reflect new dfu-ee programming target invocations (supplied...
Dean Camera [Wed, 4 Mar 2009 08:03:13 +0000 (08:03 +0000)]
Updated makefiles to reflect new dfu-ee programming target invocations (supplied by Opendous, Inc.).

Renamed the ATTR_ALWAYSINLINE function attribute macro to ATTR_ALWAYS_INLINE to match the style of the other function attribute macro names.

Added ATTR_ALWAYS_INLINE attribute to several inlined library functions, to ensure they are inlined in all circumstances.

Cleanups to Endpoint.h and Pipe.h. Added better documentation for the endpoint and pipe interrupts.

16 years agoUpdated changelog to reflect recent commit changes.
Dean Camera [Tue, 3 Mar 2009 08:19:32 +0000 (08:19 +0000)]
Updated changelog to reflect recent commit changes.

16 years agoChanged stream wait timeout counter to be 16-bit, so that very long timeout periods...
Dean Camera [Tue, 3 Mar 2009 08:19:06 +0000 (08:19 +0000)]
Changed stream wait timeout counter to be 16-bit, so that very long timeout periods can be set for correct communications with badly designed hosts or devices which greatly exceed the USB specification limits.

Mass Storage Host demo now uses a USB_STREAM_TIMEOUT_MS of two seconds to maintain compatibility with poorly designed devices.

16 years agoMakefiles and library modified to add a new F_CLOCK constant to give the unprescaled...
Dean Camera [Thu, 26 Feb 2009 05:48:47 +0000 (05:48 +0000)]
Makefiles and library modified to add a new F_CLOCK constant to give the unprescaled master input clock frequency, so that the correct PLL mask can be determined even when the CPU (F_CPU) clock rate is prescaled outside the normal input range of the PLL.

Started to clean up the AVRISP Programmer project code, donated by Opendous Inc.

16 years agoUSBtoSerial demo now discards all Rx data when not connected to a USB host, rather...
Dean Camera [Mon, 23 Feb 2009 09:30:29 +0000 (09:30 +0000)]
USBtoSerial demo now discards all Rx data when not connected to a USB host, rather than buffering characters for transmission next time the device is attached to a host.

16 years agoMoved all source to the trunk directory.
Dean Camera [Mon, 23 Feb 2009 07:08:34 +0000 (07:08 +0000)]
Moved all source to the trunk directory.

16 years agoMoved all source to the trunk directory.
Dean Camera [Mon, 23 Feb 2009 07:08:27 +0000 (07:08 +0000)]
Moved all source to the trunk directory.

16 years agoMoved all source to the trunk directory.
Dean Camera [Mon, 23 Feb 2009 07:08:24 +0000 (07:08 +0000)]
Moved all source to the trunk directory.

16 years agoMoved all source to the trunk directory.
Dean Camera [Mon, 23 Feb 2009 07:08:22 +0000 (07:08 +0000)]
Moved all source to the trunk directory.

16 years agoMoved all source to the trunk directory.
Dean Camera [Mon, 23 Feb 2009 07:08:17 +0000 (07:08 +0000)]
Moved all source to the trunk directory.

16 years agoMoved all source to the trunk directory.
Dean Camera [Mon, 23 Feb 2009 07:08:15 +0000 (07:08 +0000)]
Moved all source to the trunk directory.

16 years agoAdded trunk directory to remain inline with user SVN expectations.
Dean Camera [Mon, 23 Feb 2009 07:07:53 +0000 (07:07 +0000)]
Added trunk directory to remain inline with user SVN expectations.