pub/USBasp.git
15 years agoMake sure that the NVM bus/controller busy waits in the AVRISP MKII clone project...
Dean Camera [Fri, 30 Apr 2010 08:27:21 +0000 (08:27 +0000)]
Make sure that the NVM bus/controller busy waits in the AVRISP MKII clone project abort properly if a timeout occurs while waiting for a response.

15 years agoThe Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() functions...
Dean Camera [Thu, 29 Apr 2010 14:54:11 +0000 (14:54 +0000)]
The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() functions are now inline, to reduce overhead.

15 years agoUse puts_P() and printf_P() instead of the normal variants where possible in the...
Dean Camera [Wed, 28 Apr 2010 14:33:10 +0000 (14:33 +0000)]
Use puts_P() and printf_P() instead of the normal variants where possible in the Host mode Class Driver demos.

15 years agoOops - relocated USBInterrupt.h header file requires adjusted include paths for the...
Dean Camera [Wed, 28 Apr 2010 08:20:15 +0000 (08:20 +0000)]
Oops - relocated USBInterrupt.h header file requires adjusted include paths for the other USB driver header files.

15 years agoRelocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel...
Dean Camera [Wed, 28 Apr 2010 08:15:16 +0000 (08:15 +0000)]
Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel directory as it is hardware-dependent.

15 years agoRemove incomplete/nonfunctional MIDI class bootloader.
Dean Camera [Wed, 28 Apr 2010 08:00:46 +0000 (08:00 +0000)]
Remove incomplete/nonfunctional MIDI class bootloader.

15 years agoUSB_Init() no longer calls sei() to enable global interrupts - this must now be done...
Dean Camera [Wed, 28 Apr 2010 07:48:26 +0000 (07:48 +0000)]
USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.

15 years agoMake AVRISP-MKII clone project's software PDI/TPI mode more robust by keeping track...
Dean Camera [Wed, 28 Apr 2010 06:33:48 +0000 (06:33 +0000)]
Make AVRISP-MKII clone project's software PDI/TPI mode more robust by keeping track of timeouts while waiting for a Tx/Rx to finish.

15 years agoFix TeensyHID bootloader Doxygen configuration file's CREATE_SUBDIRS options set...
Dean Camera [Tue, 27 Apr 2010 10:07:18 +0000 (10:07 +0000)]
Fix TeensyHID bootloader Doxygen configuration file's CREATE_SUBDIRS options set to true instead of false (thanks to Andrei Krainev).

15 years agoAdded ability to search by Channel PSM to the GetChannelData() function in the Blueto...
Dean Camera [Thu, 22 Apr 2010 14:08:00 +0000 (14:08 +0000)]
Added ability to search by Channel PSM to the GetChannelData() function in the BluetoothHost demo.

Added new HCI states to properly initialize the bluetooth dongle and retrieve the local BDADDR.

Factored out Bluetooth state information into a new state structure for easy reference in the user application.

Added new StackInitialized() Bluetooth stack callback function.

15 years agoFixed HID Device Class Driver not allocating a temporary buffer when the host request...
Dean Camera [Tue, 20 Apr 2010 08:52:51 +0000 (08:52 +0000)]
Fixed HID Device Class Driver not allocating a temporary buffer when the host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski).

Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.

15 years agoAdd start of a SDP service table, which will be linked to the Bluetooth SDP code.
Dean Camera [Mon, 19 Apr 2010 12:39:58 +0000 (12:39 +0000)]
Add start of a SDP service table, which will be linked to the Bluetooth SDP code.

15 years agoMake bluetooth SDP code correctly unpack the search UUIDs and parameters.
Dean Camera [Mon, 19 Apr 2010 10:53:14 +0000 (10:53 +0000)]
Make bluetooth SDP code correctly unpack the search UUIDs and parameters.

Minor documentation improvements.

15 years agoAdd const keyword to the demo function parameters where possible.
Dean Camera [Sun, 18 Apr 2010 12:10:30 +0000 (12:10 +0000)]
Add const keyword to the demo function parameters where possible.

15 years agoAdd bluetooth channel connection callback to the incomplete BluetoothHost demo.
Dean Camera [Sun, 18 Apr 2010 04:47:52 +0000 (04:47 +0000)]
Add bluetooth channel connection callback to the incomplete BluetoothHost demo.

15 years agoMinor documentation improvements.
Dean Camera [Thu, 15 Apr 2010 14:22:06 +0000 (14:22 +0000)]
Minor documentation improvements.

15 years agoRename FunctionAttributes.h to Attributes.h, as some attributes are applicable to...
Dean Camera [Thu, 15 Apr 2010 11:04:24 +0000 (11:04 +0000)]
Rename FunctionAttributes.h to Attributes.h, as some attributes are applicable to variables also. Add new ATTR_NOINIT attribute for global variables.

Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo.

Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing.

15 years agoFixed Set/Clear Feature requests directed to a non-configured endpoint not returning...
Dean Camera [Wed, 14 Apr 2010 13:46:49 +0000 (13:46 +0000)]
Fixed Set/Clear Feature requests directed to a non-configured endpoint not returning a stall to the host.

Make TeensyHID bootloader use an 8 byte control endpoint to match the official Teensy, just in case Paul decides to authenticate on that attribute in the future.

15 years agoRemoved two-step endpoint/pipe bank clear and switch sequence for smaller, faster...
Dean Camera [Tue, 13 Apr 2010 23:29:11 +0000 (23:29 +0000)]
Removed two-step endpoint/pipe bank clear and switch sequence for smaller, faster endpoint/pipe code.

Added spacing between multiple paragraphs in Doxygen \note sections.

Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.

15 years agoRemoved invalid dfu and flip related targets from the bootloaders - bootloaders can...
Dean Camera [Tue, 13 Apr 2010 12:10:04 +0000 (12:10 +0000)]
Removed invalid dfu and flip related targets from the bootloaders - bootloaders can only be replaced with an external programmer.

15 years agoDocument the Bluetooth ACL layer. Remove unneeded parameters from the signalling...
Dean Camera [Tue, 13 Apr 2010 11:19:04 +0000 (11:19 +0000)]
Document the Bluetooth ACL layer. Remove unneeded parameters from the signalling command processing routines.

Change over the code so that the bluetooth packet data is read in by the stack rather than the user application, to make it more unform for sending/receiving, and so the library can handle incomming fragmentation in the future.

Start Service Discovery Protocol decoding and processing.

15 years agoAdd some more documentation to the half-completed Bluetooth Host demo, fix the OpenCh...
Dean Camera [Mon, 12 Apr 2010 14:26:56 +0000 (14:26 +0000)]
Add some more documentation to the half-completed Bluetooth Host demo, fix the OpenChannel() command initialising the channel information structure to the wrong initial state once the CONNECTION REQUEST command has been sent to the remote device.

15 years agoFix Bluetooth stack CONNECTION RESPONSE packets - for this command and this command...
Dean Camera [Mon, 12 Apr 2010 13:42:35 +0000 (13:42 +0000)]
Fix Bluetooth stack CONNECTION RESPONSE packets - for this command and this command only, the source/destination roles are switched. Reverse the Local/Remote channel ordering so that Windows mobile and other stacks which depend on valid channel values to connect.

15 years agoAdd HCI debugging with verbosity control to the BluetoothHost demo.
Dean Camera [Sun, 11 Apr 2010 06:19:58 +0000 (06:19 +0000)]
Add HCI debugging with verbosity control to the BluetoothHost demo.

Add Link Key Request event processing so that paired devices always re-authenticate until appropriate link key store/retrieve callbacks are implemented.

15 years agoFix up Bluetooth Demo's options processing on incoming channel configuration requests.
Dean Camera [Sun, 11 Apr 2010 02:45:42 +0000 (02:45 +0000)]
Fix up Bluetooth Demo's options processing on incoming channel configuration requests.

15 years agoAdd LUFA-side channel open/close routines, add signalling handlers for the creation...
Dean Camera [Sat, 10 Apr 2010 07:33:19 +0000 (07:33 +0000)]
Add LUFA-side channel open/close routines, add signalling handlers for the creation and configuration of channels from the local device to the remote device, to add to the existing remote to local channel capabilities.

15 years agoBluetooth demo can now create and maintain logical channels - need to determine why...
Dean Camera [Sat, 10 Apr 2010 05:58:37 +0000 (05:58 +0000)]
Bluetooth demo can now create and maintain logical channels - need to determine why Windows machines refuse to connect.

15 years agoMake Bluetooth signalling handler routines use the generic Bluetooth_SendPacket(...
Dean Camera [Tue, 6 Apr 2010 13:39:18 +0000 (13:39 +0000)]
Make Bluetooth signalling handler routines use the generic Bluetooth_SendPacket() routine for their responses. Use a better method of controlling the debug output verbosity.

15 years agoAdd bidirectional channel configuration -- remote device is not ACKing sent Configura...
Dean Camera [Tue, 6 Apr 2010 08:14:08 +0000 (08:14 +0000)]
Add bidirectional channel configuration -- remote device is not ACKing sent Configuration Requests, needs further debugging. Implement Bluetooth spec's channel states.

Use abbreviations for the structure and function names where possible to try to cut down on the code verbosity.

15 years agoAdd packet reception and send routines to the ACL layer of the incomplete Bluetooth...
Dean Camera [Tue, 6 Apr 2010 03:56:45 +0000 (03:56 +0000)]
Add packet reception and send routines to the ACL layer of the incomplete Bluetooth Host demo.

15 years agoAdd information request/response signal handler to the Bluetooth Host demo.
Dean Camera [Tue, 6 Apr 2010 02:48:47 +0000 (02:48 +0000)]
Add information request/response signal handler to the Bluetooth Host demo.

Ensure that the AVRISP-MKII project's Windows avrdude compatibility define is named properly in all parts of the code.

15 years agoAdd Bluetooth signalling echo request/response handlers, disconnection request/respon...
Dean Camera [Mon, 5 Apr 2010 12:13:33 +0000 (12:13 +0000)]
Add Bluetooth signalling echo request/response handlers, disconnection request/response handlers.

Add Bluetooth connection request/complete/disconnection callbacks.

Remove debugging from HCI layer, as it is now operational -- add guards to ACL debug statements to reduce logging chattyness so that the overall command sequences can be observed and debugged.

15 years agoAdd user callback function to the Bluetooth host demo to filter out connections from...
Dean Camera [Mon, 5 Apr 2010 08:09:12 +0000 (08:09 +0000)]
Add user callback function to the Bluetooth host demo to filter out connections from remote devices. Add in ability to reject connections based on their bluetooth device address.

Clean up RelayBoard project code.

Make AVRISP project clear the XMEGA target's reset register twice; this does not appear to take affect properly the first time under some circumstances.

15 years agoMore improvements to the incomplete BluetoothHost demo - add Disconnection Event...
Dean Camera [Thu, 1 Apr 2010 04:30:21 +0000 (04:30 +0000)]
More improvements to the incomplete BluetoothHost demo - add Disconnection Event processing.

Remove unused macro in the host mode demos for the maximum Configuration Descriptor size.

15 years agoMassive cleanups to the incomplete BluetoothHost demo, to make the HCL layer code...
Dean Camera [Wed, 31 Mar 2010 14:32:03 +0000 (14:32 +0000)]
Massive cleanups to the incomplete BluetoothHost demo, to make the HCL layer code much easier to read, block less and work correctly.

15 years agoAdded WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project to make...
Dean Camera [Wed, 31 Mar 2010 09:20:24 +0000 (09:20 +0000)]
Added WIN_LIBUSB_COMPAT compile time option to the AVRISP programmer project to make the code compatible with Windows builds of avrdude at the expense of AVRStudio compatibility.

15 years agoAdd RelayBoard project patch from OBinou.
Dean Camera [Wed, 31 Mar 2010 06:44:54 +0000 (06:44 +0000)]
Add RelayBoard project patch from OBinou.

15 years agoAdd updated board driver directory summaries to the documentation.
Dean Camera [Tue, 30 Mar 2010 23:49:45 +0000 (23:49 +0000)]
Add updated board driver directory summaries to the documentation.

15 years agoOops, incorrectly edited the Benito buttons driver file instead of the JM-DB-U2 butto...
Dean Camera [Tue, 30 Mar 2010 23:39:10 +0000 (23:39 +0000)]
Oops, incorrectly edited the Benito buttons driver file instead of the JM-DB-U2 buttons driver file.

Fix up preprocessor guards in the new board driver files.

15 years agoAdd missing board Buttons driver for the USBTINY MKII board target.
Dean Camera [Tue, 30 Mar 2010 09:51:08 +0000 (09:51 +0000)]
Add missing board Buttons driver for the USBTINY MKII board target.

15 years agoOops - make sure board driver dispatch headers test for the correct BOARD define...
Dean Camera [Tue, 30 Mar 2010 09:46:31 +0000 (09:46 +0000)]
Oops - make sure board driver dispatch headers test for the correct BOARD define values.

Add button support for the BENITO board target.

15 years agoAdded support for the JM-DB-U2 board hardware.
Dean Camera [Tue, 30 Mar 2010 09:28:45 +0000 (09:28 +0000)]
Added support for the JM-DB-U2 board hardware.

15 years agoAdded board hardware driver support for the Benito programmer.
Dean Camera [Tue, 30 Mar 2010 09:08:26 +0000 (09:08 +0000)]
Added board hardware driver support for the Benito programmer.

15 years agoAdded board hardware driver support for Tom's USBTINY MKII programmer.
Dean Camera [Tue, 30 Mar 2010 08:32:46 +0000 (08:32 +0000)]
Added board hardware driver support for Tom's USBTINY MKII programmer.

15 years agoAdd briefs for the library core structures.
Dean Camera [Mon, 29 Mar 2010 13:32:36 +0000 (13:32 +0000)]
Add briefs for the library core structures.

15 years agoAdd file-level brief documentation.
Dean Camera [Mon, 29 Mar 2010 07:49:58 +0000 (07:49 +0000)]
Add file-level brief documentation.

Remove accidentally duplicated model-specific peripheral driver files.

15 years agoAdd new LUFA logo by Ryo Yamauchi.
Dean Camera [Thu, 25 Mar 2010 08:13:39 +0000 (08:13 +0000)]
Add new LUFA logo by Ryo Yamauchi.

15 years agoAll Class Driver Host mode demos now correctly set the board LEDs to READY once the...
Dean Camera [Thu, 25 Mar 2010 06:34:38 +0000 (06:34 +0000)]
All Class Driver Host mode demos now correctly set the board LEDs to READY once the enumeration process has completed.

Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.

15 years agoAdded new Relay Controller Board project (thanks to OBinou).
Dean Camera [Wed, 24 Mar 2010 08:06:23 +0000 (08:06 +0000)]
Added new Relay Controller Board project (thanks to OBinou).

Added hardware board driver support for the PJRC Teensy line of USB AVR boards.

15 years agoFixed incorrect definition of HID_ALIGN_DATA() causing incorrect HID report item...
Dean Camera [Wed, 24 Mar 2010 05:58:20 +0000 (05:58 +0000)]
Fixed incorrect definition of HID_ALIGN_DATA() causing incorrect HID report item data alignment.

15 years agoFixed compilation error in the AudioInput demos when MICROPHONE_BIASED_TO_HALF_RAIL...
Dean Camera [Wed, 24 Mar 2010 05:50:09 +0000 (05:50 +0000)]
Fixed compilation error in the AudioInput demos when MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian).

Minor documentation cleanups.

Make sure HID class driver uses properly cast pointers when writing to the report buffer.

15 years agoChange over MIDIToneGenerator to use only a single channel (MIDI channel 1) due to...
Dean Camera [Tue, 23 Mar 2010 10:09:49 +0000 (10:09 +0000)]
Change over MIDIToneGenerator to use only a single channel (MIDI channel 1) due to cycle constraints.

15 years agoAdded incomplete MIDIToneGenerator project.
Dean Camera [Tue, 23 Mar 2010 09:16:47 +0000 (09:16 +0000)]
Added incomplete MIDIToneGenerator project.

15 years agoStandardized the naming scheme given to configuration descriptor sub-elements in...
Dean Camera [Mon, 22 Mar 2010 07:12:25 +0000 (07:12 +0000)]
Standardized the naming scheme given to configuration descriptor sub-elements in the Device mode demos, bootloaders and projects.

Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.

15 years agoDouble bank CDC endpoints in the XPLAIN Bridge project, re-enable JTAG once the mode...
Dean Camera [Sun, 21 Mar 2010 12:21:13 +0000 (12:21 +0000)]
Double bank CDC endpoints in the XPLAIN Bridge project, re-enable JTAG once the mode selection pin has been sampled.

15 years agoFixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked endpoints.
Dean Camera [Fri, 19 Mar 2010 07:33:30 +0000 (07:33 +0000)]
Fixed LowLevel MassStorage demo broken on the U2 AVRs due to double-banked endpoints.

15 years agoRemove redundant check in the software PDI programming code of the AVRISP project.
Dean Camera [Wed, 17 Mar 2010 13:07:22 +0000 (13:07 +0000)]
Remove redundant check in the software PDI programming code of the AVRISP project.

15 years agoSoftware PDI mode breaks unless the software USART has 100 cycles between bits.
Dean Camera [Wed, 17 Mar 2010 11:48:39 +0000 (11:48 +0000)]
Software PDI mode breaks unless the software USART has 100 cycles between bits.

15 years agoIncreased throughput of the USBtoSerial demo on systems that send multiple bytes...
Dean Camera [Tue, 16 Mar 2010 12:14:09 +0000 (12:14 +0000)]
Increased throughput of the USBtoSerial demo on systems that send multiple bytes per packet (thanks to Opendous Inc.).

15 years agoDon't enable the pullup on the target /RESET line in the AVRISP project for PDI mode...
Dean Camera [Tue, 16 Mar 2010 12:09:22 +0000 (12:09 +0000)]
Don't enable the pullup on the target /RESET line in the AVRISP project for PDI mode - clearing the XMEGA's reset control register twice is enough to release it from reset. Possible silicon bug, since the official Atmel programmers have the same issue.

15 years agoFixed PDI programming mode in the AVRISP programmer project not exiting programming...
Dean Camera [Tue, 16 Mar 2010 11:47:11 +0000 (11:47 +0000)]
Fixed PDI programming mode in the AVRISP programmer project not exiting programming mode correctly (clear target Reset key twice, set /RESET pin to pullup).

Add newlines to the MIDI event printf() statements in the MIDI host demos.

15 years agoImprove documentation for the ADC and TWI drivers.
Dean Camera [Mon, 15 Mar 2010 05:38:29 +0000 (05:38 +0000)]
Improve documentation for the ADC and TWI drivers.

15 years agoFixed ADC routines not correctly returning the last result when multiple channels...
Dean Camera [Sat, 13 Mar 2010 10:14:51 +0000 (10:14 +0000)]
Fixed ADC routines not correctly returning the last result when multiple channels were read.

Fixed ADC routines failing to read the extended channels (Channels 8 to 13, Internal Temperature Sensor) on the U4 series USB AVR parts.

15 years agoAdded ENABLE_TELNET_SERVER compile time option to the Webserver project to disable...
Dean Camera [Wed, 10 Mar 2010 12:48:20 +0000 (12:48 +0000)]
Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable the TELNET server if desired.

Change over static strings in the Webserver project to use PROGMEM where possible.

15 years agoFix incorrect LED mask name in the Webserver project.
Dean Camera [Tue, 9 Mar 2010 13:22:51 +0000 (13:22 +0000)]
Fix incorrect LED mask name in the Webserver project.

Fix missing text from the Host Mode States enum documentation.

15 years agoWebserver project now uses the board LEDs to indicate the current IP configuration...
Dean Camera [Tue, 9 Mar 2010 05:15:08 +0000 (05:15 +0000)]
Webserver project now uses the board LEDs to indicate the current IP configuration state.

Don't double-read data from the attached disk in the incomplete StandaloneProgrammer project when in host mode.

15 years agoMinor documentation updates.
Dean Camera [Mon, 1 Mar 2010 02:39:02 +0000 (02:39 +0000)]
Minor documentation updates.

15 years agoFix TWI driver not aborting when faced with no response after attempting to address...
Dean Camera [Thu, 25 Feb 2010 02:47:42 +0000 (02:47 +0000)]
Fix TWI driver not aborting when faced with no response after attempting to address a device on the bus.

15 years agoAdded a timeout value to the TWI_StartTransmission() function, within which the addre...
Dean Camera [Wed, 24 Feb 2010 09:49:19 +0000 (09:49 +0000)]
Added a timeout value to the TWI_StartTransmission() function, within which the addressed device must respond.

Fixed TWI_StartTransmission() corrupting the contents of the GPIOR0 register.

15 years agoFix incorrect error when directly including the LUFA internal USB library components.
Dean Camera [Wed, 24 Feb 2010 07:01:59 +0000 (07:01 +0000)]
Fix incorrect error when directly including the LUFA internal USB library components.

15 years agoRevert changes made for the partial port to the AVR32 architecture.
Dean Camera [Wed, 24 Feb 2010 06:58:23 +0000 (06:58 +0000)]
Revert changes made for the partial port to the AVR32 architecture.

15 years agoMore AVR32 achitecture ports.
Dean Camera [Wed, 24 Feb 2010 06:21:46 +0000 (06:21 +0000)]
More AVR32 achitecture ports.

15 years agoMore porting of the USB core to the AVR32.
Dean Camera [Tue, 23 Feb 2010 14:46:11 +0000 (14:46 +0000)]
More porting of the USB core to the AVR32.

15 years agoStart porting the USB core to the AVR32 UC3B.
Dean Camera [Tue, 23 Feb 2010 07:13:29 +0000 (07:13 +0000)]
Start porting the USB core to the AVR32 UC3B.

15 years agoUpdate Temperature board driver to be AVR32 compatible when the ADC peripheral driver...
Dean Camera [Tue, 23 Feb 2010 03:51:17 +0000 (03:51 +0000)]
Update Temperature board driver to be AVR32 compatible when the ADC peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports.

Add SPI driver aliases for the old function names in the AVR8 driver, so that existing code will still compile against the new version.

15 years agoFixed software PDI/TPI programming mode in the AVRISP project not correctly toggling...
Dean Camera [Tue, 23 Feb 2010 01:03:27 +0000 (01:03 +0000)]
Fixed software PDI/TPI programming mode in the AVRISP project not correctly toggling just the clock pin.

Fix broken AVR8 Serial peripheral driver.

15 years agoChange over board hardware drivers to use the custom uintN_t and intN_t native word...
Dean Camera [Mon, 22 Feb 2010 12:58:40 +0000 (12:58 +0000)]
Change over board hardware drivers to use the custom uintN_t and intN_t native word size types.

15 years agoUpdate manual pages to reference unfinished AVR32 port, add port status to the Future...
Dean Camera [Mon, 22 Feb 2010 12:45:52 +0000 (12:45 +0000)]
Update manual pages to reference unfinished AVR32 port, add port status to the Future Changes page.

15 years agoAdd start of an AVR32 SPI driver.
Dean Camera [Mon, 22 Feb 2010 12:36:08 +0000 (12:36 +0000)]
Add start of an AVR32 SPI driver.

15 years agoRename AVRU4U6U9 peripheral driver directory to AVR8.
Dean Camera [Mon, 22 Feb 2010 12:05:36 +0000 (12:05 +0000)]
Rename AVRU4U6U9 peripheral driver directory to AVR8.

15 years agoMake SPI and USART peripheral dispatch driver headers in preparation for a set of...
Dean Camera [Mon, 22 Feb 2010 12:01:09 +0000 (12:01 +0000)]
Make SPI and USART peripheral dispatch driver headers in preparation for a set of AVR32 peripheral drivers.

15 years agoAdd drivers for the EVK1101 - begin full port to the AVR32 UC3B line of AVRs.
Dean Camera [Mon, 22 Feb 2010 11:44:34 +0000 (11:44 +0000)]
Add drivers for the EVK1101 - begin full port to the AVR32 UC3B line of AVRs.

15 years agoOops - need to revert changes made to ease testing of the software PDI programming...
Dean Camera [Sun, 21 Feb 2010 22:15:52 +0000 (22:15 +0000)]
Oops - need to revert changes made to ease testing of the software PDI programming mode.

15 years agoRemove dual ISR for software PDI mode, use a single ISR instead to reduce code comple...
Dean Camera [Sun, 21 Feb 2010 22:11:49 +0000 (22:11 +0000)]
Remove dual ISR for software PDI mode, use a single ISR instead to reduce code complexity.

15 years agoMore fixes to the AVRISP command timeout system so that it should no longer lock...
Dean Camera [Sun, 21 Feb 2010 06:26:33 +0000 (06:26 +0000)]
More fixes to the AVRISP command timeout system so that it should no longer lock up while processing command no matter what the conditions.

15 years agoIncreased the speed of both software and hardware TPI/PDI programming modes of the...
Dean Camera [Sun, 21 Feb 2010 05:44:12 +0000 (05:44 +0000)]
Increased the speed of both software and hardware TPI/PDI programming modes of the AVRISP project.

15 years agoOops - missed a few references to the old global TimeoutMSRemaining counter in ISPTar...
Dean Camera [Sat, 20 Feb 2010 12:17:48 +0000 (12:17 +0000)]
Oops - missed a few references to the old global TimeoutMSRemaining counter in ISPTarget.c of the AVRISP-MKII clone project.

15 years agoAVRISP programmer project now has a more robust timeout system, allowing for a doubli...
Dean Camera [Fri, 19 Feb 2010 05:17:41 +0000 (05:17 +0000)]
AVRISP programmer project now has a more robust timeout system, allowing for a doubling of the software USART speed for PDI and TPI programming.

15 years agoCommit for the 100219 release.
Dean Camera [Fri, 19 Feb 2010 00:07:22 +0000 (00:07 +0000)]
Commit for the 100219 release.

15 years agoUse a temporary variable to hold the current URI length in the Webserver, rather...
Dean Camera [Thu, 18 Feb 2010 05:33:35 +0000 (05:33 +0000)]
Use a temporary variable to hold the current URI length in the Webserver, rather than calling strlen() multiple times on an unchanged buffer. Clean up uip-split.c.

15 years agoTurn OFF double banking in the Webserver demo - leaving it on seems to destroy the...
Dean Camera [Thu, 18 Feb 2010 05:10:24 +0000 (05:10 +0000)]
Turn OFF double banking in the Webserver demo - leaving it on seems to destroy the system throughput.

15 years agoAdd uIP-split code to the Webserver project, so that each packet is split in half...
Dean Camera [Thu, 18 Feb 2010 02:19:43 +0000 (02:19 +0000)]
Add uIP-split code to the Webserver project, so that each packet is split in half to avoid the delayed-ACK problem when communicating with other devices. Condense HTTP server code, so that the HTTP headers are all sent from the one state. Make default filename append to any directory URI, rather than just the root directory.

15 years agoClean up XPLAINBridge code.
Dean Camera [Tue, 16 Feb 2010 13:12:59 +0000 (13:12 +0000)]
Clean up XPLAINBridge code.

15 years agoMake sure the button report set masks use OR in all circumstances, to prevent user...
Dean Camera [Tue, 16 Feb 2010 12:25:31 +0000 (12:25 +0000)]
Make sure the button report set masks use OR in all circumstances, to prevent user confusion. While the first set of the buttons report item can be a direct assignment, it is not immediately clear to new developers why this is the case.

15 years agoOops - missing brackets in the declaration of a string in TELNETServerApp.c.
Dean Camera [Mon, 15 Feb 2010 13:50:04 +0000 (13:50 +0000)]
Oops - missing brackets in the declaration of a string in TELNETServerApp.c.

15 years agoAdd missing TWI_Init() call to the TemperatureDataLogger project. Make DUMMY_RTC...
Dean Camera [Mon, 15 Feb 2010 13:40:53 +0000 (13:40 +0000)]
Add missing TWI_Init() call to the TemperatureDataLogger project. Make DUMMY_RTC compile time option the default, so that it works correctly on the USBKEY and other Atmel boards out of the box.

15 years agoFix HID Host Class driver sending incorrect ReportType values to the device when...
Dean Camera [Sun, 14 Feb 2010 22:13:11 +0000 (22:13 +0000)]
Fix HID Host Class driver sending incorrect ReportType values to the device when issuing requests via the control pipe.

15 years agoAdd NO_VTARGET_DETECT compile time option to the AVRISP-MKII clone project, to disabl...
Dean Camera [Sat, 13 Feb 2010 03:21:28 +0000 (03:21 +0000)]
Add NO_VTARGET_DETECT compile time option to the AVRISP-MKII clone project, to disable VTARGET detection on AVR models with an on-chip ADC.

15 years agoSpeed up Webserver demo data rate by not sending a full ethernet frame each time...
Dean Camera [Fri, 12 Feb 2010 07:54:28 +0000 (07:54 +0000)]
Speed up Webserver demo data rate by not sending a full ethernet frame each time, preventing the receiver from using a delayed ACK scheme which slows down the connection. TELNET server cleanup.

15 years agoMove DHCP negotiation timer into the DHCP connection application state structure...
Dean Camera [Fri, 12 Feb 2010 07:27:26 +0000 (07:27 +0000)]
Move DHCP negotiation timer into the DHCP connection application state structure, so that each connection gets its own timeout counter (only one connection currently used, but this way is more correct). Add const correctness to static data in the TELNETServerApp.c and HTTPServerApp.c files.