Dean Camera [Mon, 1 Feb 2010 01:27:00 +0000 (01:27 +0000)]
Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction into account.
Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
Dean Camera [Sun, 31 Jan 2010 14:18:03 +0000 (14:18 +0000)]
Clean up HTTP webserver code in the Webserver project, so that it follows the uIP application structure guidelines and uses cleaner state machine based code.
Dean Camera [Sun, 31 Jan 2010 12:33:04 +0000 (12:33 +0000)]
Use _delay_us() function in the XPROGTarget.c file to ensure timing requirements are met, rather than a fixed number of NOPs.
Dean Camera [Sun, 31 Jan 2010 12:25:53 +0000 (12:25 +0000)]
Oops - PDI handshake delay was too long, causing the device's /RESET functionality to be re-enabled.
Dean Camera [Sun, 31 Jan 2010 04:23:55 +0000 (04:23 +0000)]
Better HTTP GET parsing in the Webserver demo, add application polling.
Dean Camera [Fri, 29 Jan 2010 09:21:38 +0000 (09:21 +0000)]
Add TCP retransmission support to the HTTP webserver in the Webserver project, so that lost segments are retransmitted as needed.
Dean Camera [Fri, 29 Jan 2010 06:32:20 +0000 (06:32 +0000)]
Update driver INF files - change manufacturer name from the original template's name to the Four Walled Cubicle website.
Dean Camera [Fri, 29 Jan 2010 06:02:02 +0000 (06:02 +0000)]
Oops - TPI programming is broken in the AVRISP project because the busy-flag check wasn't inverting the result.
Dean Camera [Fri, 29 Jan 2010 05:31:25 +0000 (05:31 +0000)]
Fix TPI communications in the AVRISP project when bit-banged USART mode is selected.
Dean Camera [Fri, 29 Jan 2010 02:43:07 +0000 (02:43 +0000)]
Add MIME type handling to the Webserver project, so that files of different types (e.g. images) can be served out to HTTP clients.
Dean Camera [Thu, 28 Jan 2010 14:12:26 +0000 (14:12 +0000)]
Removed the stream example code from the Low Level VirtualSerial demos, as they were buggy and only served to add clutter.
Dean Camera [Thu, 28 Jan 2010 13:25:50 +0000 (13:25 +0000)]
Second fix to Webserver project's makefile for the FATFs path case to fix *nix builds.
Dean Camera [Thu, 28 Jan 2010 13:24:04 +0000 (13:24 +0000)]
Delete FATFs .lst files from the Webserver project, accidentally committed.
Dean Camera [Thu, 28 Jan 2010 13:23:05 +0000 (13:23 +0000)]
Oops - fix path case in the Webserver project makefile, to fix *nix builds.
Dean Camera [Thu, 28 Jan 2010 13:17:36 +0000 (13:17 +0000)]
Fix up project documentation files' overview tables, so that multiple items occupy multiple lines in the same cell, rather than multiple cells.
Dean Camera [Thu, 28 Jan 2010 12:47:35 +0000 (12:47 +0000)]
Add FatFS library to the Webserver project, extend the HTTP server so that it now serves files from the Dataflash. Add Mass Storage device mode class driver so that files can be loaded to the board Dataflash when inserted into a PC.
Dean Camera [Thu, 28 Jan 2010 06:37:26 +0000 (06:37 +0000)]
Be doubly-certain that the incomming CDC class driver's endpoint/pipe is flushed only once when the bank is empty.
Dean Camera [Wed, 27 Jan 2010 13:45:08 +0000 (13:45 +0000)]
Clean up Webserver project - add more Doxygen documentation for the new DHCP client functions and defines.
Dean Camera [Wed, 27 Jan 2010 13:15:49 +0000 (13:15 +0000)]
Add DHCP server to the Webserver demo for automatic network configuration. Correct uIP timer clock not tracking the correct timespan.
Dean Camera [Wed, 27 Jan 2010 03:45:15 +0000 (03:45 +0000)]
Ensure TPI enable timing requirements are met in AVRISP-MKII programmer. Remove invalid code in the TPI read/write functions.
Dean Camera [Wed, 27 Jan 2010 02:59:54 +0000 (02:59 +0000)]
Manually pull PDI clock pin high for 1ms before disabling PDI mode in the AVRISP-MKII project, to ensure that the PDI bus is disabled in the target and /RESET functionality restored.
Dean Camera [Mon, 25 Jan 2010 13:20:46 +0000 (13:20 +0000)]
Exclude host application directories from the Doxygen input source file directories.
Dean Camera [Mon, 25 Jan 2010 13:07:54 +0000 (13:07 +0000)]
Add missing AVRISPDescriptors.c/.h files to the XPLAINBridge project.
Dean Camera [Mon, 25 Jan 2010 13:02:25 +0000 (13:02 +0000)]
Move TWI.c driver into the straight LUFA/Drivers/Peripheral/ directory.
Fix TemperatureDataLogger and Webserver project builds.
Dean Camera [Mon, 25 Jan 2010 12:46:57 +0000 (12:46 +0000)]
Add Webserver project Doxygen configuration file and overview document.
Fix Doxygen configuration files' input file exclusion filters.
Dean Camera [Mon, 25 Jan 2010 12:10:13 +0000 (12:10 +0000)]
Moved initial completed version of the Webserver project out of the Projects/Incomplete directory.
Dean Camera [Mon, 25 Jan 2010 12:01:02 +0000 (12:01 +0000)]
Neaten Webserver project code.
Dean Camera [Mon, 25 Jan 2010 11:50:41 +0000 (11:50 +0000)]
Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe.
Dean Camera [Mon, 25 Jan 2010 04:13:44 +0000 (04:13 +0000)]
Cleanup and partially fix AVRISP-MKII project's TPI programming support.
Dean Camera [Mon, 25 Jan 2010 02:15:27 +0000 (02:15 +0000)]
ADC2 and ADC3 channels do not exist on the U4 series USB AVRs.
Dean Camera [Mon, 25 Jan 2010 01:27:06 +0000 (01:27 +0000)]
Minor code cleanups, remove TemperatureDataLogger host application's Visual Studio Solution files, add LibHIDNet license files.
Dean Camera [Mon, 25 Jan 2010 00:52:45 +0000 (00:52 +0000)]
Added explicit ADC channel masks for the standard set of ADC channels, as the single-ended channel MUX masks are not equal to the channel number on some AVR models. Changed demos to use the new channel masks when using the ADC driver.
Dean Camera [Sun, 24 Jan 2010 13:38:20 +0000 (13:38 +0000)]
Fixed DFU bootloader programming not discarding the correct number of filler bytes from the host when non-aligned programming ranges are specified (thanks to Thomas Bleeker).
Dean Camera [Sun, 24 Jan 2010 11:13:23 +0000 (11:13 +0000)]
Enhance TemperatureDatalogger project -- add RTC capabilities so that data is logged along with the current time and date. Make logging interval configurable, set by a C# PC host application.
Dean Camera [Thu, 21 Jan 2010 13:45:44 +0000 (13:45 +0000)]
Fix up the incomplete Webserver project so that it integrates with the uIP stack correctly. Add simple HTTP webserver as a placeholder until FatFS can be integrated.
Begin to look into the RNDIS Host Class Driver, which seems to crash on test hardware after many packets have been received.
Dean Camera [Thu, 21 Jan 2010 06:25:07 +0000 (06:25 +0000)]
New revision Benito hardware will be 16MHz, and use the ATMEGA32U2. Change makefile to suit.
Dean Camera [Thu, 21 Jan 2010 06:13:54 +0000 (06:13 +0000)]
Update Benito project -- device should be reset when DTR is *asserted* not deasserted.
Dean Camera [Tue, 19 Jan 2010 05:43:58 +0000 (05:43 +0000)]
Update library manual with the new XPLAINBridge project's dual mode bridge/programmer functionality.
Dean Camera [Tue, 19 Jan 2010 05:38:21 +0000 (05:38 +0000)]
Clean up of the altered XPLAINBridge project.
Dean Camera [Tue, 19 Jan 2010 05:27:58 +0000 (05:27 +0000)]
Changed XPLAINBridge project to be both a USB to USART bridge and a PDI programmer, based on the state of a mode select pin.
Dean Camera [Tue, 19 Jan 2010 00:25:26 +0000 (00:25 +0000)]
Added master mode hardware TWI driver.
Fixed a bug in the incomplete Webserver project, where the packet data was not being written to and read from the correct buffer address.
Dean Camera [Sun, 17 Jan 2010 06:28:25 +0000 (06:28 +0000)]
Oops - missing brace in the updated Benito code causing compilation to fail.
Dean Camera [Sun, 17 Jan 2010 05:32:41 +0000 (05:32 +0000)]
Fix the Benito project not pulsing the target's /RESET line when DTR is de-asserted.
Dean Camera [Sun, 17 Jan 2010 04:39:33 +0000 (04:39 +0000)]
Clean up and add more comments to the AVRISP-MKII project. Make sure the SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs.
Dean Camera [Sat, 16 Jan 2010 00:40:52 +0000 (00:40 +0000)]
Fix incorrect preprocessor checks in the PLL prescaler mask determination code for the ATMEGA32U2.
Dean Camera [Fri, 15 Jan 2010 02:42:54 +0000 (02:42 +0000)]
Fixed invalid USB controller PLL prescaler values for the ATMEGAxxU2 controllers
Fixed lack of support for the ATMEGA32U2 in the DFU and CDC class bootloaders
Changed incomplete Webserver project over to using the uIP timer library.
Dean Camera [Tue, 12 Jan 2010 07:29:43 +0000 (07:29 +0000)]
Started Webserver RNDIS host project.
Dean Camera [Tue, 12 Jan 2010 00:42:00 +0000 (00:42 +0000)]
Fixed incorrect interface values in the VirtualSerialMouse and KeyboardMouse demo class driver structures.
Added caveat information to the CDC device class driver.
Dean Camera [Thu, 7 Jan 2010 13:23:43 +0000 (13:23 +0000)]
Oops - incorrect Dataflash chip select mask in the XPLAIN Dataflash driver.
Dean Camera [Thu, 7 Jan 2010 12:38:32 +0000 (12:38 +0000)]
Fix XPLAIN Dataflash and LED drivers.
Dean Camera [Wed, 6 Jan 2010 13:37:29 +0000 (13:37 +0000)]
Update Doxygen configuration files to the latest Doxygen version.
Dean Camera [Tue, 5 Jan 2010 13:52:34 +0000 (13:52 +0000)]
Added support to the MIDI Class drivers for packed data, where multiple MIDI events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
Dean Camera [Tue, 5 Jan 2010 04:50:18 +0000 (04:50 +0000)]
Inline USB management functions in the Class drivers which are standardized but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
Dean Camera [Mon, 4 Jan 2010 13:34:02 +0000 (13:34 +0000)]
Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed before the required library headers were included, causing a compilation error.
Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
Dean Camera [Mon, 4 Jan 2010 00:33:31 +0000 (00:33 +0000)]
Fix CDC blocking streams in Host mode locking up when the device is removed.
Dean Camera [Mon, 4 Jan 2010 00:14:09 +0000 (00:14 +0000)]
Fixed blocking CDC streams not aborting when the host is disconnected.
Dean Camera [Sun, 3 Jan 2010 03:48:40 +0000 (03:48 +0000)]
Clean up MassStorageKeyboard demo.
Dean Camera [Wed, 30 Dec 2009 23:49:19 +0000 (23:49 +0000)]
Update copyright year to 2010.
Dean Camera [Wed, 30 Dec 2009 13:38:05 +0000 (13:38 +0000)]
Oops - remove accidentally committed .lst files from the TemperatureDataLogger project.
Dean Camera [Wed, 30 Dec 2009 13:35:24 +0000 (13:35 +0000)]
Fix TemperatureDataLogger - sample tick timer wasn't being initialized in the correct CTC mode.
Dean Camera [Wed, 30 Dec 2009 09:02:44 +0000 (09:02 +0000)]
Oops - fix include directory for case-sensitive filesystems.
Dean Camera [Wed, 30 Dec 2009 09:00:29 +0000 (09:00 +0000)]
Add new TemperatureDataLogger project, a simple USB Mass Storage class Temperature Data Logger using the onboard Dataflash and Temperature sensor.
Dean Camera [Tue, 29 Dec 2009 14:54:52 +0000 (14:54 +0000)]
Reduced guard bit time in the AVRISP project PDI/TPI protocols to reduce the time needed to reverse the data communication direction.
Dean Camera [Tue, 29 Dec 2009 14:43:03 +0000 (14:43 +0000)]
Fixed AVRISP PDI race condition where the guard time between direction changes could be interpreted as a start bit. Fixed TPI interface lines not being changed correctly when in bit-banged TPI mode.
Dean Camera [Tue, 29 Dec 2009 05:18:16 +0000 (05:18 +0000)]
Change the AVRISP project's RESET LINE makefile tokens to AUX LINE, as it is not always used for target reset.
Dean Camera [Tue, 29 Dec 2009 05:08:08 +0000 (05:08 +0000)]
Minor documentation updates.
Dean Camera [Mon, 28 Dec 2009 07:50:20 +0000 (07:50 +0000)]
Fix TPI NVM Write handler -- AVRStudio sends out writes in page sized chunks, not byte sized chunks.
Dean Camera [Mon, 28 Dec 2009 07:17:21 +0000 (07:17 +0000)]
Add first draft of the TPI NVM commands for reading, writing and erasing a target. Needs testing when physical access to a part is available.
Dean Camera [Mon, 28 Dec 2009 02:58:23 +0000 (02:58 +0000)]
Add dummy undocumented TPI XPROG parameters to the AVRISP project so that TPI programming mode can be entered.
Dean Camera [Mon, 28 Dec 2009 00:55:23 +0000 (00:55 +0000)]
Remove duplicate #include of <avr/wdt.h> in the TeensyHID bootloader.
Dean Camera [Mon, 28 Dec 2009 00:34:20 +0000 (00:34 +0000)]
Fix MIT license language to make its intent clearer.
Dean Camera [Sun, 27 Dec 2009 14:17:01 +0000 (14:17 +0000)]
Fix mistakes in the XPROGTarget.c/.h files for TPI mode software USART clock rate and PDI mode XPLAIN board autoconfiguration.
Dean Camera [Sun, 27 Dec 2009 12:35:31 +0000 (12:35 +0000)]
Fix references to the renamed AVRISP-MKII project folder.
Dean Camera [Sun, 27 Dec 2009 12:28:29 +0000 (12:28 +0000)]
Rename AVRISP project folder to AVRISP-MKII.
Dean Camera [Sun, 27 Dec 2009 07:14:57 +0000 (07:14 +0000)]
Remove missed timer 0 init code in the ISP protocol handler in the AVRISP project. Switch the XPROG protocol target communications handler over to using Timer 1 COMA/COMB ISRs for the two physical layers, rather than COMA/ICR1. Speed up bit-banged USART mode slightly.
Dean Camera [Sat, 26 Dec 2009 05:20:10 +0000 (05:20 +0000)]
Fixed ISP mode in the AVRISP programmer project.
Dean Camera [Sat, 26 Dec 2009 04:13:55 +0000 (04:13 +0000)]
Added const where possible to the source functions in the Projects directory.
Added command timeout to the AVRISP project so that incorrectly connected targets no longer freeze the device.
Removed string descriptors from the TeensyHID bootloader to reduce its size.
Dean Camera [Thu, 24 Dec 2009 03:02:26 +0000 (03:02 +0000)]
Complete TPI protocol code to enter and exit TPI programming mode for the ATTINY 6-pin devices.
Dean Camera [Thu, 24 Dec 2009 02:52:10 +0000 (02:52 +0000)]
Complete combining of PDI and TPI target communication code files, stub out TINY NVM controller functions.
Dean Camera [Thu, 24 Dec 2009 02:29:01 +0000 (02:29 +0000)]
Rename PDITarget.c/.h to XPROGTarget.c/.h so that both PDI and TPI programming can be included in the one set of files.
Dean Camera [Thu, 24 Dec 2009 02:27:21 +0000 (02:27 +0000)]
Remove serial driver use from the AVRISP project now that it is no longer needed.
Dean Camera [Thu, 24 Dec 2009 02:14:04 +0000 (02:14 +0000)]
Combine PDIProtocol and TPIProtocol into a single XPROGProtocol set of files.
Dean Camera [Thu, 24 Dec 2009 01:59:36 +0000 (01:59 +0000)]
Rename PDIProtocol.c/.h to XPROGProtocol.c/.h as it will now handle both TPI and PDI programming.
Dean Camera [Thu, 24 Dec 2009 01:55:53 +0000 (01:55 +0000)]
Combine AVRISP project TPI and PDI lib directories - these protocols use the same underlying XPROG wrapper for the host-to-programmer command wrapping.
Dean Camera [Wed, 23 Dec 2009 14:52:52 +0000 (14:52 +0000)]
Correct include paths and makefile for the AVRISP project now that the protocol handlers are in seperate directories.
Dean Camera [Wed, 23 Dec 2009 14:45:47 +0000 (14:45 +0000)]
Make seperate ISP, PDI and TPI folders in the AVRISP project Lib subdirectory to hold each protocol's files.
Dean Camera [Wed, 23 Dec 2009 14:42:50 +0000 (14:42 +0000)]
Lower timeout periods in the AVRISP project. Increment firmware minor revision number in the AVRISP project so that it remains comatible with the latest AVRStudio without an upgrade warning.
Dean Camera [Wed, 23 Dec 2009 13:28:44 +0000 (13:28 +0000)]
Stub out more of the TPI programming protocol routines in the AVRISP project.
Dean Camera [Wed, 23 Dec 2009 13:07:51 +0000 (13:07 +0000)]
Seperate out XMEGA and TINY NVM routines into seperate files.
Dean Camera [Wed, 23 Dec 2009 12:54:15 +0000 (12:54 +0000)]
Start of implementation of the low level TPI programming protocol in the AVRISP project.
Dean Camera [Wed, 23 Dec 2009 07:38:53 +0000 (07:38 +0000)]
Fix TeensyHID bootloader - change vendor page in the descriptors to match the undocumented page needed for the new Teensy 2.0 boards.
Commit for the 091223 release.
Dean Camera [Mon, 21 Dec 2009 10:44:00 +0000 (10:44 +0000)]
Ooops - TeensyHID bootloader makefile should use a 16MHz FCPU, not 8MHz.
Dean Camera [Mon, 21 Dec 2009 08:29:12 +0000 (08:29 +0000)]
Ensure that unsupported SetFeature/ClearFeature request targets cause a STALL back to the host.
Dean Camera [Mon, 21 Dec 2009 07:42:43 +0000 (07:42 +0000)]
Correct TeensyHID bootloader descriptors to use the correct revision code for the ATMEGA32U4 based Teensy revision.
Dean Camera [Sun, 20 Dec 2009 22:33:48 +0000 (22:33 +0000)]
Fixed AVRISP project timeouts not checking for the correct timeout period (thanks to Carl Ott).
Dean Camera [Sun, 20 Dec 2009 13:00:49 +0000 (13:00 +0000)]
Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.
Dean Camera [Sun, 20 Dec 2009 12:09:22 +0000 (12:09 +0000)]
Fixed TeensyHID bootloader not enumerating to the host correctly.
Dean Camera [Sun, 20 Dec 2009 06:23:24 +0000 (06:23 +0000)]
Add const qualifier to the parameters of Projects' functions where possible.
Dean Camera [Sun, 20 Dec 2009 05:40:17 +0000 (05:40 +0000)]
Added CPU Usage monitor host app to the LEDNotifier project.
Dean Camera [Fri, 18 Dec 2009 05:34:11 +0000 (05:34 +0000)]
Add LEDNotifier project to the Projects folder build list. Add new LEDMixer C# host application for the LEDNotifier project.