aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/XPLAINBridge
Commit message (Collapse)AuthorAgeFilesLines
...
* Added new RingBuffer_Peek() function to the lightweight ring buffer headers.Dean Camera2010-12-121-0/+11
|
* Fixed broken DFU bootloader, added XPLAIN support for bootloader start when ↵Dean Camera2010-11-271-0/+1
| | | | XCK jumpered to ground.
* Fix typos in the XPLAINBridge project preventing compilation.Dean Camera2010-11-261-2/+2
|
* Changed the XPLAINBridge software UART to use the regular CTC mode instead ↵Dean Camera2010-11-252-8/+8
| | | | of the alternative CTC mode via the Input Capture register, to reduce user confusion.
* Fixed Benito project discarding incoming data from the USB virtual serial ↵Dean Camera2010-11-231-1/+1
| | | | | | port when the USART is busy. Minor documentation improvements.
* Lower bulk endpoint polling rate in the descriptors to the lowest possible ↵Dean Camera2010-11-221-2/+2
| | | | value to give maximum throughput.
* Fixed incorrect PollingIntervalMS values in the demo/project/bootloader ↵Dean Camera2010-11-102-4/+4
| | | | endpoint descriptors (thanks to MCS Electronics).
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-052-3/+3
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Fixed USBtoSerial and XPLAINBridge demos discarding data from the PC if the ↵Dean Camera2010-11-031-4/+10
| | | | send buffer becomes full.
* Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean Camera2010-11-021-5/+5
| | | | | | generation in the AVRISP-MKII clone project. Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
* Rescue clock of the AVRISP-MKII moved to the AVR's OCR1A pin, so that the ↵Dean Camera2010-11-021-5/+5
| | | | clock can be generated at all times when 125KHz ISP programming mode is selected.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2810-12/+12
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-252-13/+13
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-242-2/+0
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Fix SoftUART.c not compiling due to accidental check in of changes not yet ↵Dean Camera2010-10-131-3/+3
| | | | complete in the rest of the XPLAINBridge project code.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-1311-192/+202
| | | | tool made by Laszlo Monda
* Fixed ISR definition conflict in the XPLAIN bridge between the software UART ↵Dean Camera2010-10-102-11/+16
| | | | and the AVRISP-MKII ISP modules.
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-301-1/+1
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-282-14/+15
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Remove dfu-programmer program switches, to ensure maximum compatibility with ↵Dean Camera2010-09-241-2/+2
| | | | all dfu-programmer versions.
* Added the --suppress-bootloader-mem option to the makefile dfu target, to ↵Dean Camera2010-09-241-3/+3
| | | | | | | | ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). Fixed incorrect command name for EEPROM memory programming in the makefile dfu-ee target. Makefile whitespace fixes.
* Make project makefiles correctly clean intermeditary build files from ↵Dean Camera2010-09-151-2/+2
| | | | assembly and C++ sources (thanks to Daniel Czigany).
* Remove remaining void* descriptor casts in the projects and demos that were ↵Dean Camera2010-08-294-19/+19
| | | | not removed when the GetDescriptor callback function's signature was altered.
* Add better description of the Ultra-Lightweight Ring Buffer header files.Dean Camera2010-08-291-1/+8
|
* Changed the signature of the CALLBACK_USB_GetDescriptor() callback function ↵Dean Camera2010-08-242-2/+3
| | | | so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-12/+7
| | | | | | 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.
* Fix invocations of avr-size in all makefiles broken on unpatched *nix ↵Dean Camera2010-08-081-1/+4
| | | | systems, due to the recent update to the latest WinAVR makefile template.
* Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser ↵Dean Camera2010-08-021-1/+2
| | | | in some situations.
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-013-63/+84
| | | | | | | | | | | | | | 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.
* Fixed Serial peripheral driver not turning off the USART before ↵Dean Camera2010-07-311-1/+1
| | | | reconfiguring it, which would cause incorrect operation to occur (thanks to Bob Paddock).
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-303-4/+4
| | | | EN-GB spelling dictionary.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-301-1/+2
| | | | | | 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.
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-3/+3
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-218-9/+29
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-192-74/+58
| | | | 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.
* Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean Camera2010-07-181-1/+1
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-151-0/+1
| | | | 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.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-151-18/+6
| | | | | | 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.
* Added ability to set the serial baud rate via the user's terminal in the ↵Dean Camera2010-07-156-13/+37
| | | | XPLAINBridge project.
* Fixed possible buffer overrun in the XPLAINBridge project when in serial ↵Dean Camera2010-07-152-1/+21
| | | | bridge mode.
* Change AVRISP-MKII and XPLAINBridge descriptors to indicate that the device ↵Dean Camera2010-07-133-3/+5
| | | | is bus-powered only. Add compile time options to reduce the compiled size of the firmware.
* Add remaining AVRStudio project files to the library projects.Dean Camera2010-07-131-0/+1
|
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-121-1/+2
|
* Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer ↵Dean Camera2010-07-121-1/+1
| | | | overruns will not occur regardless of hardware and baud rate settings.
* Alter the ring buffer library headers to have both atomic and non-atomic ↵Dean Camera2010-07-122-10/+44
| | | | | | 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.
* Add glitch protection to the software UART in the XPLAINBridge project code, ↵Dean Camera2010-07-122-8/+14
| | | | so that very short glitches on the RX line don't cause a frame reception to occur.
* Major changes to the XPLAINBridge software UART code for performance and ↵Dean Camera2010-07-113-55/+60
| | | | reliability. New code reduces the number of missed characters and misread characters.
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-022-2/+3
| | | | | | 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.
* Make XPLAINBridge serial bridge much more reliable for the reception of ↵Dean Camera2010-06-241-11/+5
| | | | characters from the XMEGA through the software UART interface.
* Maximise the size of the ring buffers in the Benito/XPLAINBridge/USBtoSerial ↵Dean Camera2010-06-241-1/+1
| | | | projects, so that they should never become full under normal conditions.