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.
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.
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.
Dean Camera [Wed, 31 Mar 2010 06:44:54 +0000 (06:44 +0000)]
Add RelayBoard project patch from OBinou.
Dean Camera [Tue, 30 Mar 2010 23:49:45 +0000 (23:49 +0000)]
Add updated board driver directory summaries to the documentation.
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.
Dean Camera [Tue, 30 Mar 2010 09:51:08 +0000 (09:51 +0000)]
Add missing board Buttons driver for the USBTINY MKII board target.
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.
Dean Camera [Tue, 30 Mar 2010 09:28:45 +0000 (09:28 +0000)]
Added support for the JM-DB-U2 board hardware.
Dean Camera [Tue, 30 Mar 2010 09:08:26 +0000 (09:08 +0000)]
Added board hardware driver support for the Benito 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.
Dean Camera [Mon, 29 Mar 2010 13:32:36 +0000 (13:32 +0000)]
Add briefs for the library core structures.
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.
Dean Camera [Thu, 25 Mar 2010 08:13:39 +0000 (08:13 +0000)]
Add new LUFA logo by Ryo Yamauchi.
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.
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.
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.
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.
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.
Dean Camera [Tue, 23 Mar 2010 09:16:47 +0000 (09:16 +0000)]
Added incomplete MIDIToneGenerator project.
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.
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.
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.
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.
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.
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.).
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.
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.
Dean Camera [Mon, 15 Mar 2010 05:38:29 +0000 (05:38 +0000)]
Improve documentation for the ADC and TWI drivers.
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.
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.
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.
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.
Dean Camera [Mon, 1 Mar 2010 02:39:02 +0000 (02:39 +0000)]
Minor documentation updates.
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.
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.
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.
Dean Camera [Wed, 24 Feb 2010 06:58:23 +0000 (06:58 +0000)]
Revert changes made for the partial port to the AVR32 architecture.
Dean Camera [Wed, 24 Feb 2010 06:21:46 +0000 (06:21 +0000)]
More AVR32 achitecture ports.
Dean Camera [Tue, 23 Feb 2010 14:46:11 +0000 (14:46 +0000)]
More porting of the USB core to the AVR32.
Dean Camera [Tue, 23 Feb 2010 07:13:29 +0000 (07:13 +0000)]
Start porting the USB core to the AVR32 UC3B.
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.
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.
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.
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.
Dean Camera [Mon, 22 Feb 2010 12:36:08 +0000 (12:36 +0000)]
Add start of an AVR32 SPI driver.
Dean Camera [Mon, 22 Feb 2010 12:05:36 +0000 (12:05 +0000)]
Rename AVRU4U6U9 peripheral driver directory to AVR8.
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.
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.
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.
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.
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.
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.
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.
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.
Dean Camera [Fri, 19 Feb 2010 00:07:22 +0000 (00:07 +0000)]
Commit for the 100219 release.
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.
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.
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.
Dean Camera [Tue, 16 Feb 2010 13:12:59 +0000 (13:12 +0000)]
Clean up XPLAINBridge code.
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.
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.
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.
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.
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.
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.
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.
Dean Camera [Fri, 12 Feb 2010 05:05:03 +0000 (05:05 +0000)]
Fix DHCPClient init code in the Webserver project writing to the incorrect application state location (thanks to Mike Alexander).
Dean Camera [Fri, 12 Feb 2010 05:01:11 +0000 (05:01 +0000)]
Fixed accuracy of the SERIAL_UBBRVAL() and SERIAL_2X_UBBRVAL() macros for higher baudrates (thanks to Renaud Cerrato).
Dean Camera [Thu, 11 Feb 2010 04:05:02 +0000 (04:05 +0000)]
Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
Dean Camera [Wed, 10 Feb 2010 04:07:06 +0000 (04:07 +0000)]
Fixed lack of SECTION ERASE command in TPI programming mode of the AVRISP project preventing fuses from being cleared.
Dean Camera [Wed, 10 Feb 2010 04:02:10 +0000 (04:02 +0000)]
Added .5MHz recovery clock to the AVRISP programmer project when in ISP programming mode to correct mis-set fuses.
Fixed AVRISP project not extending the command delay after each successful page/word/byte program.
Dean Camera [Tue, 9 Feb 2010 12:30:51 +0000 (12:30 +0000)]
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.
Dean Camera [Mon, 8 Feb 2010 03:32:31 +0000 (03:32 +0000)]
Fix LowLevel Keyboard demo -- accidentally trying to dereference a uint8_t type in ProcessLEDReport().
Dean Camera [Mon, 8 Feb 2010 03:16:09 +0000 (03:16 +0000)]
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.
Dean Camera [Sun, 7 Feb 2010 14:03:48 +0000 (14:03 +0000)]
Split out LED report processing from the host into a seperate routine in the LowLevel KeyboardMouse device demo, to avoid duplicate code.
Dean Camera [Sun, 7 Feb 2010 13:56:36 +0000 (13:56 +0000)]
Added Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and demos.
Dean Camera [Sun, 7 Feb 2010 10:46:02 +0000 (10:46 +0000)]
Make Webserver allow HTTP requests for files with up to 50 characters in the path instead of 30, to be in synch with the project documentation.
Change Webserver project's ENABLE_DHCP compile time option to ENABLE_DHCP_CLIENT to more accurately indicate its function.
Dean Camera [Sun, 7 Feb 2010 07:31:53 +0000 (07:31 +0000)]
Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class driver and Keyboard demos.
Dean Camera [Fri, 5 Feb 2010 07:27:01 +0000 (07:27 +0000)]
Fixed SerialStream driver not setting stdin to the created serial stream.
Dean Camera [Fri, 5 Feb 2010 06:44:10 +0000 (06:44 +0000)]
Oops - serial stream driver should return _FDEV_EOF when no data has been received, not EOF.
Dean Camera [Fri, 5 Feb 2010 03:59:42 +0000 (03:59 +0000)]
Fixed SerialStream driver blocking while waiting for characters to be received instead of returning EOF.
Dean Camera [Thu, 4 Feb 2010 02:27:09 +0000 (02:27 +0000)]
New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver).
Spell-check code/comments in the Webserver/AVRISP-MKII projects.
Dean Camera [Wed, 3 Feb 2010 14:09:56 +0000 (14:09 +0000)]
Re-add Webserver uIP application polling, apply patch to uIP by Andrew Ruder to fix corrupt TCP streams when multiple applications are used and the applications are polled for more data.
Dean Camera [Wed, 3 Feb 2010 13:08:37 +0000 (13:08 +0000)]
Fix TELNET server locking up if an invalid command was issued.
Dean Camera [Wed, 3 Feb 2010 11:31:59 +0000 (11:31 +0000)]
Disable uIP connection polling for now - this seems to corrupt the buffers.
Dean Camera [Wed, 3 Feb 2010 10:39:33 +0000 (10:39 +0000)]
Add a TELNET server to the webserver project, which currently can list active TCP connections.
Dean Camera [Wed, 3 Feb 2010 00:57:49 +0000 (00:57 +0000)]
Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.
Dean Camera [Wed, 3 Feb 2010 00:48:06 +0000 (00:48 +0000)]
Exclude FATFs from the Webserver project documentation. Rename the functions in the HTTPServerApp.c/.h files so that they use the correct "HTTPServerApp_" prefix, and not "Webserver_".
Dean Camera [Tue, 2 Feb 2010 14:02:18 +0000 (14:02 +0000)]
Add documentation to the USB Class Drivers module on how to use the Host mode class drivers.
Dean Camera [Tue, 2 Feb 2010 13:29:07 +0000 (13:29 +0000)]
Minor fixups to the documentation and preprocessor tokens.
Dean Camera [Tue, 2 Feb 2010 12:56:29 +0000 (12:56 +0000)]
Remove now unused conf directory from the uIP stack in the Webserver project.
Dean Camera [Tue, 2 Feb 2010 12:51:05 +0000 (12:51 +0000)]
Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels.
Dean Camera [Tue, 2 Feb 2010 05:56:47 +0000 (05:56 +0000)]
Make packet processing code in the Webserver project a bit neater using a switch statement instead of an if-else-if chain.
Dean Camera [Tue, 2 Feb 2010 04:33:58 +0000 (04:33 +0000)]
Fix TPI mode chip erase code not properly erasing the target memory space.
Dean Camera [Tue, 2 Feb 2010 03:46:49 +0000 (03:46 +0000)]
Oops - new Write Word alignment code in the TPI programming function means that the WriteBuffer parameter is no longer const.
Dean Camera [Tue, 2 Feb 2010 03:27:28 +0000 (03:27 +0000)]
Make TPI writes add a dummy high byte if the data isn't word-aligned.
Dean Camera [Tue, 2 Feb 2010 03:22:45 +0000 (03:22 +0000)]
Make TPI programming protocol program in words, not bytes to satisfy the datasheet conditions.
Dean Camera [Mon, 1 Feb 2010 12:35:48 +0000 (12:35 +0000)]
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.
Dean Camera [Mon, 1 Feb 2010 10:34:07 +0000 (10:34 +0000)]
Make board specific and device peripheral specific drivers' file documentation copy over to the module documentation, so that it is visible in the normal module view of the library documentation.