Commit 423d4018 authored by Dean Camera's avatar Dean Camera
Browse files

Fixed Benito project discarding incoming data from the USB virtual serial port...

Fixed Benito project discarding incoming data from the USB virtual serial port when the USART is busy.

Minor documentation improvements.
parent 0595ac27
...@@ -7,7 +7,23 @@ ...@@ -7,7 +7,23 @@
/** \page Page_ChangeLog Project Changelog /** \page Page_ChangeLog Project Changelog
* *
* \section Sec_ChangeLogXXXXXX Version XXXXXX * \section Sec_ChangeLogXXXXXX Version XXXXXX
* None yet. * <b>New:</b>
* - Core:
* - None
* - Library Applications:
* - None
*
* <b>Changed:</b>
* - Core:
* - None
* - Library Applications:
* - None
*
* <b>Fixed:</b>
* - Core:
* - None
* - Library Applications:
* - Fixed Benito project discarding incoming data from the USB virtual serial port when the USART is busy
* *
* \section Sec_ChangeLog101122 Version 101122 * \section Sec_ChangeLog101122 Version 101122
* <b>New:</b> * <b>New:</b>
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
* - Linnix UDIP * - Linnix UDIP
* - MattairTech JM-DB-U2 * - MattairTech JM-DB-U2
* - Maximus USB * - Maximus USB
* - Microsin AVR-USB162
* - Minimus USB * - Minimus USB
* - Olimex AVR-USB-162 * - Olimex AVR-USB-162
* - PJRC Teensy (all revisions and versions) * - PJRC Teensy (all revisions and versions)
......
...@@ -92,4 +92,9 @@ ...@@ -92,4 +92,9 @@
* - Elektor Magazine, "USB is Cool/Sucks" by Jerry Jacobs and Chris Vossen (minor mention), January 2010 Issue * - Elektor Magazine, "USB is Cool/Sucks" by Jerry Jacobs and Chris Vossen (minor mention), January 2010 Issue
* - Elektor Magazine, "20 x Open Source" by Jens Nickel, March 2010 Issue * - Elektor Magazine, "20 x Open Source" by Jens Nickel, March 2010 Issue
* - Circuit Cellar Magazine, "Advanced USB Design Debugging" by Collin O'Flynn, August 2010 Issue * - Circuit Cellar Magazine, "Advanced USB Design Debugging" by Collin O'Flynn, August 2010 Issue
*
* \section Sec_LUFANotableMentions Other Notable Mentions of LUFA
* - Adafruit "Ask an Engineer", 7th November 2010
* - Arduino 2010 Keynote speech
* - The Amp Hour podcast blog #11
*/ */
...@@ -92,10 +92,9 @@ int main(void) ...@@ -92,10 +92,9 @@ int main(void)
for (;;) for (;;)
{ {
/* Echo bytes from the host to the target via the hardware USART */ /* Echo bytes from the host to the target via the hardware USART */
int16_t ReceivedByte = CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface); if ((UCSR1A & (1 << UDRE1)) && CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface))
if (!(ReceivedByte < 0) && (UCSR1A & (1 << UDRE1)))
{ {
UDR1 = ReceivedByte; UDR1 = CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface);
LEDs_TurnOnLEDs(LEDMASK_TX); LEDs_TurnOnLEDs(LEDMASK_TX);
PulseMSRemaining.TxLEDPulse = TX_RX_LED_PULSE_MS; PulseMSRemaining.TxLEDPulse = TX_RX_LED_PULSE_MS;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
/** \file /** \file
* *
* Main source file for the Standalone Programmer project. This file contains the main tasks of * Main source file for the Standalone Programmer project. This file contains the main tasks of
* the demo and is responsible for the initial application hardware configuration. * the project and is responsible for the initial application hardware configuration.
*/ */
#define INCLUDE_FROM_STANDALONEPROG_C #define INCLUDE_FROM_STANDALONEPROG_C
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
/** \file /** \file
* *
* Main source file for the LEDNotfier project. This file contains the main tasks of * Main source file for the LEDNotfier project. This file contains the main tasks of
* the demo and is responsible for the initial application hardware configuration. * the project and is responsible for the initial application hardware configuration.
*/ */
#include "LEDNotifier.h" #include "LEDNotifier.h"
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
/** \file /** \file
* *
* Main source file for the USBtoSerial project. This file contains the main tasks of * Main source file for the USBtoSerial project. This file contains the main tasks of
* the demo and is responsible for the initial application hardware configuration. * the project and is responsible for the initial application hardware configuration.
*/ */
#include "USBtoSerial.h" #include "USBtoSerial.h"
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
/** \file /** \file
* *
* Main source file for the XPLAINBridge project. This file contains the main tasks of * Main source file for the XPLAINBridge project. This file contains the main tasks of
* the demo and is responsible for the initial application hardware configuration. * the project and is responsible for the initial application hardware configuration.
*/ */
#include "XPLAINBridge.h" #include "XPLAINBridge.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment