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.
15 years ago
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.
15 years ago
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.
15 years ago
Dean Camera
2b0d93c129
Correct misspellings in the Bluetooth demo code.
15 years ago
Dean Camera
c326fe9605
Rewrote the implementation of the SwapEndian_16() and SwapEndian_32() functions so that they compile down in most instances to minimal loads and stores rather than complicated shifts.
...
Fixed SCSI.c implementations of all the demos/projects casting the block count to a 32-bit temporary before calling SwapEndian_16().
15 years ago
Dean Camera
70983caea5
Move out Bluetooth stack callback functions to a seperate BluetoothEvents.c/.h set of files for clarity in the Incomplete BluetoothHost demo. Add a new stack callback for opened ACL channels, make the demo save the RFCOMM channel when opened so that it does not have to search for it on each iteration of the main program loop.
15 years ago
Dean Camera
8b053d6ba5
Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request.
...
Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
15 years ago
Dean Camera
d29a408ffd
Add default "all" makefile targets to the demo tree makefiles.
15 years ago
Dean Camera
016a4c068a
Make loops in AVRISP-MKII Clone project's XPROG protocol infinite rather than looping on the timeout value, as this is already checked inside the loop anyway.
15 years ago
Dean Camera
55d7e1e65b
Make XPLAINBridge serial bridge much more reliable for the reception of characters from the XMEGA through the software UART interface.
15 years ago
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.
15 years ago
Dean Camera
988604b25d
Moved calls to V2Params_UpdateParamValues() out of the main AVRISP-MKII and XPLAINBridge project loops and into the AVRISP management function.
15 years ago
Dean Camera
51c2dcf3b0
Fixed broken PDI EEPROM Section Erase functionality in the AVRISP-MKII project.
15 years ago
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.
15 years ago
Dean Camera
a14ece5f57
Change over Doxygen \note documentation to \pre where applicable.
15 years ago
Dean Camera
27fb44268f
Update TemperatureDataLogger and Webserver projects to the latest FATFS library version.
15 years ago
Dean Camera
d57e7369a2
Oops - temp code left in the XPLAINBridge project which prevented it from entering programmer mode.
15 years ago
Dean Camera
036a156ff4
Slight improvements to the reliability of the software UART in the XPLAINBridge project.
15 years ago
Dean Camera
5fa0e9c007
Oops - light weight ring buffer documentation used \ref instead of \param to document function parameters.
15 years ago
Dean Camera
b02217d745
Add missing documentation to the lightweight ring buffer code in the XPLAINBridge project.
15 years ago
Dean Camera
c2e340320c
Document lightweight ring buffer header files.
15 years ago
Dean Camera
2dabb4e55f
Add the svn:eol-style property onto new files which where missing it to ensure uniform line endings.
15 years ago
Dean Camera
6d53cdba83
More documentation fixes.
15 years ago
Dean Camera
fc92f9969c
Minor documentation cleanups.
15 years ago
Dean Camera
008e0e2e0a
Add start of RFCOMM service layer to the incomplete BluetoothHost demo.
...
Reduce the size of the attribute search list from 15 ranges to 8 to save RAM.
15 years ago
Dean Camera
3b95b8dedc
Added new VTARGET_REF_VOLTS and VTARGET_SCALE_FACTOR compile time defines to the AVRISP-MKII programmer project to set the VTARGET reference voltage and scale factor.
...
Fixed XPLAINBridge project not correctly reading the XMEGA's supply voltage when reporting back to the host.
15 years ago
Dean Camera
8d993afc53
Replace ring buffer library in Benito and USBtoSerial projects with the new lightweight ring buffer header to improve reliability.
15 years ago
Dean Camera
670413603f
The EEPROM stream read/write functions now use eeprom_update_byte() instead of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan.
...
Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile parameters to EEPROM to preserve its lifespan.
15 years ago
Dean Camera
bb9fb1051c
Add better documentation to the Software UART code in the XPLAINBridge project.
15 years ago
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.
15 years ago
Dean Camera
f64e3db07a
Rename software USART driver globals to make the code more in line with the rest of the XPLAINBridge project.
15 years ago
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.
15 years ago
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.
15 years ago
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.
15 years ago
Dean Camera
776485a6c5
Remove obsolete entry from the Doxygen configuration files.
15 years ago
Dean Camera
3e515cdfa8
Short UUIDs are measured in bytes, not bits -- update Service Discovery Protocol code so that it can now correctly match against UUIDs in the service table.
15 years ago
Dean Camera
a883cf65dc
Renamed CDC device class demos' ManagementEndpoint descriptor to NotificationEndpoint to more accurately indicate its purpose.
15 years ago
Dean Camera
f13bc35a19
Begin processing code for Service Discovery Protocol attributes.
15 years ago
Dean Camera
ff61dfa505
Fixed AVRISP project not sending a full erase-and-write EEPROM command to XMEGA targets when writing to the EEPROM instead of the split write-only command (thanks to Tim Margush).
15 years ago
Dean Camera
80d85090ba
Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs after programming or reading from the last page of FLASH.
15 years ago
Dean Camera
34047efc7e
Remove incorrect check for the current device state in the Set Configuration request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances.
...
Move out the SPI prescaler list to a PROGMEM module-level variable in ISPTarget.c.
15 years ago
Dean Camera
571159df1b
Additional fix to the AVRISP-MKII clone project for 256KB AVRs.
15 years ago
Dean Camera
cd0093a14b
Fixed AVRISP-MKII clone project not correctly issuing SET EXTENDED ADDRESS commands when the extended address boundary is crossed during programming or readback (thanks to Gerard Sexton).
...
Fixed warnings when building the AVRISP-MKII clone project with the ENABLE_XPROG_PROTOCOL compile time option disabled.
15 years ago
Dean Camera
d3c623e1e1
The LIBUSB_FILTERDRV_COMPAT compile time option in the XPLAINBridge and AVRISP-MKII projects has been renamed LIBUSB_DRIVER_COMPAT, as it applies to all software on all platforms using the libUSB driver.
...
Fix Benito makefile which was accidentally changed during testing.
15 years ago
Dean Camera
e277ff0cf4
Removed TeensyHID bootloader, per request from Paul at PJRC.
15 years ago
Dean Camera
05ac59d0ee
Add new ReportType parameter to the HID class driver device callback and host report sending routines.
...
Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix.
15 years ago
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.
15 years ago
Dean Camera
e331b531c6
Change over instances of "make" in the makefiles to "$(MAKE)" to allow for the make tool to be overridden.
15 years ago
Dean Camera
57fe6b4fb9
Don't cast the line encoding baud rate to a uint16_t before performing the baud rate calculation in the Benito project.
15 years ago
Dean Camera
27eb17cb93
Change over unix line-endings to dos line endings.
15 years ago