Dean Camera
31daf04c6a
Fix SoftUART.c not compiling due to accidental check in of changes not yet complete in the rest of the XPLAINBridge project code.
2010-10-13 14:23:23 +00:00
Dean Camera
5a4def7478
Clean up excessive whitespace at the end of each line using the wspurify tool made by Laszlo Monda
2010-10-13 14:05:35 +00:00
Dean Camera
3a03da9705
Fixed ISR definition conflict in the XPLAIN bridge between the software UART and the AVRISP-MKII ISP modules.
2010-10-10 06:23:45 +00:00
Dean Camera
263178fbb6
Add better description of the Ultra-Lightweight Ring Buffer header files.
2010-08-29 07:49:36 +00:00
Dean Camera
ff09cf9c73
Fix XPLAINBridge project discarding characters from the USB interface due to a double read from the endpoint.
...
Make XPLAINBridge and USBtoSerial projects more reliable by forcing a flush if the UART-to-USB buffer becomes nearly full.
Reduce locking in the LightweightRingBuffer.h header files by only locking on the update of the buffer count, and require insertions and removals from each buffer to occur in only one execution thread.
Fix CDC_*_ReceiveByte() returning 0 when the interface is not configured, instead of the new -1 error value.
Fix CDC_Host_ReceiveByte() not re-freezing the pipe if no packet has been received.
Remove redundant Pipe token set commands in the CDC and RNDIS host class drivers.
2010-08-01 14:03:13 +00:00
Dean Camera
0f45b9c8e0
More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary.
2010-07-30 09:48:35 +00:00
Dean Camera
6bda628718
Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability.
...
Add missing const qualifiers to the demos.
2010-07-21 16:19:32 +00:00
Dean Camera
dfe50ff349
Added ability to set the serial baud rate via the user's terminal in the XPLAINBridge project.
2010-07-15 11:01:31 +00:00
Dean Camera
e2e1fe5aad
Fixed possible buffer overrun in the XPLAINBridge project when in serial bridge mode.
2010-07-15 04:45:31 +00:00
Dean Camera
8de31cbb78
Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns will not occur regardless of hardware and baud rate settings.
2010-07-12 07:11:50 +00:00
Dean Camera
0bcc82ac28
Alter the ring buffer library headers to have both atomic and non-atomic insertion/removal routines. Modify the existing projects so that buffer operations performed in an ISR use the shorted non-atomic versions, as they are already performed in a blocking ISR.
...
Alter USBtoSerial demo so that it does not enter a blocking loop to send data from the USB to the USART, as this can cause dropped bytes in the reception code if large amounts of data are sent in both directions at the same time. Added a flush timer to the USBtoSerial code for the USART to USB interface, so that multiple bytes can be sent in the same USB packet.
2010-07-12 07:04:19 +00:00
Dean Camera
3fd246041b
Add glitch protection to the software UART in the XPLAINBridge project code, so that very short glitches on the RX line don't cause a frame reception to occur.
2010-07-12 02:23:11 +00:00
Dean Camera
229935184b
Major changes to the XPLAINBridge software UART code for performance and reliability. New code reduces the number of missed characters and misread characters.
2010-07-11 14:14:08 +00:00
Dean Camera
55d7e1e65b
Make XPLAINBridge serial bridge much more reliable for the reception of characters from the XMEGA through the software UART interface.
2010-06-24 08:12:27 +00:00
Dean Camera
ad29e79b94
Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial projects, so that they should never become full under normal conditions.
2010-06-24 07:42:18 +00:00
Dean Camera
711542ee89
Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as the new 1.7 Doxygen's default stylesheet is much better.
2010-06-16 11:01:01 +00:00
Dean Camera
036a156ff4
Slight improvements to the reliability of the software UART in the XPLAINBridge project.
2010-06-12 08:39:12 +00:00
Dean Camera
5fa0e9c007
Oops - light weight ring buffer documentation used \ref instead of \param to document function parameters.
2010-06-10 01:30:32 +00:00
Dean Camera
b02217d745
Add missing documentation to the lightweight ring buffer code in the XPLAINBridge project.
2010-06-10 01:26:10 +00:00
Dean Camera
fc92f9969c
Minor documentation cleanups.
2010-06-03 15:32:45 +00:00
Dean Camera
8d993afc53
Replace ring buffer library in Benito and USBtoSerial projects with the new lightweight ring buffer header to improve reliability.
2010-05-26 13:26:10 +00:00
Dean Camera
bb9fb1051c
Add better documentation to the Software UART code in the XPLAINBridge project.
2010-05-26 08:10:35 +00:00
Dean Camera
1c407b9669
Switch software UART over to timer 1 and remove timer prescaling to try to prevent integer rounding errors and thus minimize the possible error of the UART code.
2010-05-26 07:51:25 +00:00
Dean Camera
f64e3db07a
Rename software USART driver globals to make the code more in line with the rest of the XPLAINBridge project.
2010-05-26 07:35:27 +00:00
Dean Camera
79742c5d24
Make software USART used in the XPLAINBridge project directly check and store into the ring buffers, rather than polling from the main program loop to avoid added latency.
2010-05-26 06:59:55 +00:00
Dean Camera
9b29d1dc50
Create a new LightweightRingBuffer.h header file for the XPLAIN project to abstract out the new ring buffer without a performance penalty.
2010-05-26 06:35:02 +00:00
Dean Camera
9c037a952f
The RingBuff library code has been replaced in the XPLAINBridge project with an ultra lightweight buffer to help improve the reliability of the bridge.
2010-05-26 06:15:05 +00:00
Dean Camera
071e02c6b6
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
2010-05-08 03:12:14 +00:00
Dean Camera
fc8e4837a9
Add const keyword to the demo function parameters where possible.
2010-04-18 12:10:30 +00:00
Dean Camera
c77b30e9e6
Clean up XPLAINBridge code.
2010-02-16 13:12:59 +00:00
Dean Camera
7f9f97c792
Update copyright year to 2010.
2009-12-30 23:49:19 +00:00
Dean Camera
d4ca7fb44c
Fix MIT license language to make its intent clearer.
2009-12-28 00:34:20 +00:00
Dean Camera
b408a5fe62
Add const qualifier to the parameters of Projects' functions where possible.
2009-12-20 06:23:24 +00:00
Dean Camera
f69f03cb0d
Started implementing the low level PDI protocol in the AVRISP project, for XMEGA device programming.
2009-12-03 00:53:45 +00:00
Dean Camera
f92b56191d
Add new more reliable software UART for the XPLAINBridge project by David Prentice and Peter Danneger.
2009-12-02 14:19:06 +00:00
Dean Camera
fec31947a6
Removed John Steggall's software UART code from the XPLAIN Bridge project due to reliability issues.
2009-12-02 14:03:57 +00:00
Dean Camera
e5057fec8e
Enable pullup on the PD5 pin of the AVR in the XPLAINBridge project - this is connected to the XMEGA's /RESET line, need to enable pullup to prevent spurrious resets.
2009-11-26 13:59:11 +00:00
Dean Camera
f37d21bbe9
Updated John Steggall's software USART in the XPLAINBridge project.
2009-11-26 01:17:29 +00:00
Dean Camera
c05c7c7df4
Added new XPLAIN serial Bridge project (thanks to John Steggall for the software UART code).
2009-11-25 00:36:18 +00:00