pub/USBasp.git
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.

15 years agoFix DHCPClient init code in the Webserver project writing to the incorrect applicatio...
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).

15 years agoFixed accuracy of the SERIAL_UBBRVAL() and SERIAL_2X_UBBRVAL() macros for higher...
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).

15 years agoAdd more include protection macros to give the user warnings when they try to manuall...
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.

15 years agoFixed lack of SECTION ERASE command in TPI programming mode of the AVRISP project...
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.

15 years agoAdded .5MHz recovery clock to the AVRISP programmer project when in ISP programming...
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.

15 years agoFixed USB_GetHIDReportSize() returning the number of bits in the specified report...
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.

15 years agoFix LowLevel Keyboard demo -- accidentally trying to dereference a uint8_t type in...
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().

15 years agoFix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure erase...
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.

15 years agoSplit out LED report processing from the host into a seperate routine in the LowLevel...
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.

15 years agoAdded Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and demos.
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.

15 years agoMake Webserver allow HTTP requests for files with up to 50 characters in the path...
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.

15 years agoAdded keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class driver and...
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.

15 years agoFixed SerialStream driver not setting stdin to the created serial stream.
Dean Camera [Fri, 5 Feb 2010 07:27:01 +0000 (07:27 +0000)]
Fixed SerialStream driver not setting stdin to the created serial stream.

15 years agoOops - serial stream driver should return _FDEV_EOF when no data has been received...
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.

15 years agoFixed SerialStream driver blocking while waiting for characters to be received instea...
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.

15 years agoNew BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will...
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.

15 years agoRe-add Webserver uIP application polling, apply patch to uIP by Andrew Ruder to fix...
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.

15 years agoFix TELNET server locking up if an invalid command was issued.
Dean Camera [Wed, 3 Feb 2010 13:08:37 +0000 (13:08 +0000)]
Fix TELNET server locking up if an invalid command was issued.

15 years agoDisable uIP connection polling for now - this seems to corrupt the buffers.
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.

15 years agoAdd a TELNET server to the webserver project, which currently can list active TCP...
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.

15 years agoExlude the "INCLUDE_FROM_*" macros from the individual project's documentation.
Dean Camera [Wed, 3 Feb 2010 00:57:49 +0000 (00:57 +0000)]
Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation.

15 years agoExclude FATFs from the Webserver project documentation. Rename the functions in the...
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_".

15 years agoAdd documentation to the USB Class Drivers module on how to use the Host mode class...
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.

15 years agoMinor fixups to the documentation and preprocessor tokens.
Dean Camera [Tue, 2 Feb 2010 13:29:07 +0000 (13:29 +0000)]
Minor fixups to the documentation and preprocessor tokens.

15 years agoRemove now unused conf directory from the uIP stack in the Webserver project.
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.

15 years agoReplace the Webserver demo's uIP with the latest code ripped from the Contiki 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.

15 years agoMake packet processing code in the Webserver project a bit neater using a switch...
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.

15 years agoFix TPI mode chip erase code not properly erasing the target memory space.
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.

15 years agoOops - new Write Word alignment code in the TPI programming function means that the...
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.

15 years agoMake TPI writes add a dummy high byte if the data isn't word-aligned.
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.

15 years agoMake TPI programming protocol program in words, not bytes to satisfy the datasheet...
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.

15 years agoFixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEU...
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.

15 years agoMake board specific and device peripheral specific drivers' file documentation copy...
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.

15 years agoFixed STK525 Dataflash driver using incorrect bit-shifting for Dataflash addresses...
Dean Camera [Mon, 1 Feb 2010 10:09:18 +0000 (10:09 +0000)]
Fixed STK525 Dataflash driver using incorrect bit-shifting for Dataflash addresses (thanks to Tim Mitchell).

15 years agoMake AVRISP XPROG function parameters const where possible.
Dean Camera [Mon, 1 Feb 2010 05:34:59 +0000 (05:34 +0000)]
Make AVRISP XPROG function parameters const where possible.

15 years agoFixed issues with EEPROM and FLASH ISP programming in the AVRISP project.
Dean Camera [Mon, 1 Feb 2010 03:42:10 +0000 (03:42 +0000)]
Fixed issues with EEPROM and FLASH ISP programming in the AVRISP project.

15 years agoFixed Pipe_IsEndpointBound() function not taking the endpoint's direction into account.
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.

15 years agoClean up HTTP webserver code in the Webserver project, so that it follows the uIP...
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.

15 years agoUse _delay_us() function in the XPROGTarget.c file to ensure timing requirements...
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.

15 years agoOops - PDI handshake delay was too long, causing the device's /RESET functionality...
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.

15 years agoBetter HTTP GET parsing in the Webserver demo, add application polling.
Dean Camera [Sun, 31 Jan 2010 04:23:55 +0000 (04:23 +0000)]
Better HTTP GET parsing in the Webserver demo, add application polling.

15 years agoAdd TCP retransmission support to the HTTP webserver in the Webserver project, so...
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.

15 years agoUpdate driver INF files - change manufacturer name from the original template's name...
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.

15 years agoOops - TPI programming is broken in the AVRISP project because the busy-flag check...
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.

15 years agoFix TPI communications in the AVRISP project when bit-banged USART mode is selected.
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.

15 years agoAdd MIME type handling to the Webserver project, so that files of different types...
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.

15 years agoRemoved the stream example code from the Low Level VirtualSerial demos, as they were...
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.

15 years agoSecond fix to Webserver project's makefile for the FATFs path case to fix *nix builds.
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.

15 years agoDelete FATFs .lst files from the Webserver project, accidentally committed.
Dean Camera [Thu, 28 Jan 2010 13:24:04 +0000 (13:24 +0000)]
Delete FATFs .lst files from the Webserver project, accidentally committed.

15 years agoOops - fix path case in the Webserver project makefile, to fix *nix builds.
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.

15 years agoFix up project documentation files' overview tables, so that multiple items occupy...
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.

15 years agoAdd FatFS library to the Webserver project, extend the HTTP server so that it now...
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.

15 years agoBe doubly-certain that the incomming CDC class driver's endpoint/pipe is flushed...
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.

15 years agoClean up Webserver project - add more Doxygen documentation for the new DHCP client...
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.

15 years agoAdd DHCP server to the Webserver demo for automatic network configuration. Correct...
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.

15 years agoEnsure TPI enable timing requirements are met in AVRISP-MKII programmer. Remove inval...
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.

15 years agoManually pull PDI clock pin high for 1ms before disabling PDI mode in the AVRISP...
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.

15 years agoExclude host application directories from the Doxygen input source file directories.
Dean Camera [Mon, 25 Jan 2010 13:20:46 +0000 (13:20 +0000)]
Exclude host application directories from the Doxygen input source file directories.

15 years agoAdd missing AVRISPDescriptors.c/.h files to the XPLAINBridge project.
Dean Camera [Mon, 25 Jan 2010 13:07:54 +0000 (13:07 +0000)]
Add missing AVRISPDescriptors.c/.h files to the XPLAINBridge project.

15 years agoMove TWI.c driver into the straight LUFA/Drivers/Peripheral/ directory.
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.

15 years agoAdd Webserver project Doxygen configuration file and overview document.
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.

15 years agoMoved initial completed version of the Webserver project out of the Projects/Incomple...
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.

15 years agoNeaten Webserver project code.
Dean Camera [Mon, 25 Jan 2010 12:01:02 +0000 (12:01 +0000)]
Neaten Webserver project code.

15 years agoFixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should...
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.

15 years agoCleanup and partially fix AVRISP-MKII project's TPI programming support.
Dean Camera [Mon, 25 Jan 2010 04:13:44 +0000 (04:13 +0000)]
Cleanup and partially fix AVRISP-MKII project's TPI programming support.

15 years agoADC2 and ADC3 channels do not exist on the U4 series USB AVRs.
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.

15 years agoMinor code cleanups, remove TemperatureDataLogger host application's Visual Studio...
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.

15 years agoAdded explicit ADC channel masks for the standard set of ADC channels, as the single...
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.

15 years agoFixed DFU bootloader programming not discarding the correct number of filler bytes...
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).

15 years agoEnhance TemperatureDatalogger project -- add RTC capabilities so that data is logged...
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.

15 years agoFix up the incomplete Webserver project so that it integrates with the uIP stack...
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.

15 years agoNew revision Benito hardware will be 16MHz, and use the ATMEGA32U2. Change makefile...
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.

15 years agoUpdate Benito project -- device should be reset when DTR is *asserted* not deasserted.
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.

15 years agoUpdate library manual with the new XPLAINBridge project's dual mode bridge/programmer...
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.

15 years agoClean up of the altered XPLAINBridge project.
Dean Camera [Tue, 19 Jan 2010 05:38:21 +0000 (05:38 +0000)]
Clean up of the altered XPLAINBridge project.

15 years agoChanged XPLAINBridge project to be both a USB to USART bridge and a PDI programmer...
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.

15 years agoAdded master mode hardware TWI driver.
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.

15 years agoOops - missing brace in the updated Benito code causing compilation to fail.
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.

15 years agoFix the Benito project not pulsing the target's /RESET line when DTR is de-asserted.
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.

15 years agoClean up and add more comments to the AVRISP-MKII project. Make sure the SPI_MULTI...
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.

15 years agoFix incorrect preprocessor checks in the PLL prescaler mask determination code for...
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.

15 years agoFixed invalid USB controller PLL prescaler values for the ATMEGAxxU2 controllers
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.

15 years agoStarted Webserver RNDIS host project.
Dean Camera [Tue, 12 Jan 2010 07:29:43 +0000 (07:29 +0000)]
Started Webserver RNDIS host project.