- Aug 09, 2010
-
-
Dean Camera authored
Removed complicated logic for the Endpoint_ConfigureEndpoint() function to use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
-
- Aug 08, 2010
-
-
Dean Camera authored
Fix invocations of avr-size in all makefiles broken on unpatched *nix systems, due to the recent update to the latest WinAVR makefile template.
-
- Aug 02, 2010
-
-
Dean Camera authored
-
- Aug 01, 2010
-
-
Dean Camera authored
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.
-
- Jul 31, 2010
-
-
Dean Camera authored
Fixed Serial peripheral driver not turning off the USART before reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock).
-
- Jul 30, 2010
-
-
Dean Camera authored
More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary.
-
Dean Camera authored
Altered the CDC Deivice and Host Class drivers' receive byte routines, so that no data is indicated by a negative return value. Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
-
- Jul 29, 2010
-
-
Dean Camera authored
-
- Jul 21, 2010
-
-
Dean Camera authored
Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability. Add missing const qualifiers to the demos.
-
- Jul 19, 2010
-
-
Dean Camera authored
Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
-
- Jul 18, 2010
-
-
Dean Camera authored
-
- Jul 15, 2010
-
-
Dean Camera authored
Disable strict aliasing explicitly in the project makefiles, as this is apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
-
Dean Camera authored
Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
-
Dean Camera authored
-
Dean Camera authored
-
- Jul 13, 2010
-
-
Dean Camera authored
Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device is bus-powered only. Add compile time options to reduce the compiled size of the firmware.
-
Dean Camera authored
-
- Jul 12, 2010
-
-
Dean Camera authored
-
Dean Camera authored
Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns will not occur regardless of hardware and baud rate settings.
-
Dean Camera authored
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.
-
Dean Camera authored
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.
-
- Jul 11, 2010
-
-
Dean Camera authored
Major changes to the XPLAINBridge software UART code for performance and reliability. New code reduces the number of missed characters and misread characters.
-
- Jul 02, 2010
-
-
Dean Camera authored
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.
-
- Jun 24, 2010
-
-
Dean Camera authored
Make XPLAINBridge serial bridge much more reliable for the reception of characters from the XMEGA through the software UART interface.
-
Dean Camera authored
Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial projects, so that they should never become full under normal conditions.
-
- Jun 21, 2010
-
-
Dean Camera authored
Moved calls to V2Params_UpdateParamValues() out of the main AVRISP-MKII and XPLAINBridge project loops and into the AVRISP management function.
-
- Jun 16, 2010
-
-
Dean Camera authored
Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as the new 1.7 Doxygen's default stylesheet is much better.
-
- Jun 12, 2010
-
-
Dean Camera authored
-
Dean Camera authored
-
- Jun 10, 2010
-
-
Dean Camera authored
Oops - light weight ring buffer documentation used \ref instead of \param to document function parameters.
-
Dean Camera authored
-
- Jun 03, 2010
-
-
Dean Camera authored
-
- May 27, 2010
-
-
Dean Camera authored
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.
-
- May 26, 2010
-
-
Dean Camera authored
Replace ring buffer library in Benito and USBtoSerial projects with the new lightweight ring buffer header to improve reliability.
-
Dean Camera authored
-
Dean Camera authored
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.
-
Dean Camera authored
Rename software USART driver globals to make the code more in line with the rest of the XPLAINBridge project.
-
Dean Camera authored
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.
-
Dean Camera authored
Create a new LightweightRingBuffer.h header file for the XPLAIN project to abstract out the new ring buffer without a performance penalty.
-
Dean Camera authored
The RingBuff library code has been replaced in the XPLAINBridge project with an ultra lightweight buffer to help improve the reliability of the bridge.
-