aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/CDC/BootloaderCDC.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2013.Dean Camera2013-01-031-2/+2
|
* Make "HighByte" variable in the CDC Bootloader a uint8_t rather than a bool ↵Dean Camera2012-10-281-1/+1
| | | | to be more semantically correct, since it is bitwise ORed to obtain a byte address in the AVR's flash memory.
* Minor cleanup of the CDC bootloader.Dean Camera2012-10-201-4/+4
|
* Minor documentation improvements.Dean Camera2012-10-051-1/+1
|
* Use the framework provided GlobalInterruptEnable() function instead of the ↵Dean Camera2012-09-171-1/+1
| | | | AVR8/XMEGA specific sei() macro, for future demo/project portability.
* Add human readable definitions for the AVR109 protocol commands in the CDC ↵Dean Camera2012-08-271-32/+33
| | | | class bootloader.
* Reduce bootloader magic key to 16 bits to save FLASH space.Dean Camera2012-07-071-1/+1
|
* Added new JTAG_ENABLE() macro for the AVR8 architecture. Fixed the ↵Dean Camera2012-06-091-0/+21
| | | | | | JTAG_DISABLE() macro clearing all other bits in MCUSR when called. Moved the XPLAIN board specific bootloader entry condition code to the Application_Jump_Check() function of the DFU bootloader, added support for the original XPLAIN board to the CDC class bootloader.
* Switch over Demos, Bootloaders and Projects to the new and improved build ↵Dean Camera2012-06-011-1/+1
| | | | system.
* Turn off watchdog before jumping to the user application in the DFU and CDC ↵Dean Camera2012-05-211-0/+6
| | | | based bootloaders, for the specific case of /HWB being low during reset (where the bootloader will re-enter).
* Fix bootloaders to make the StaticAnalysis build test happy.Dean Camera2012-05-051-1/+2
|
* The library bootloaders will now correctly start the user application after ↵Dean Camera2012-04-291-0/+24
| | | | a watchdog-based application start, even if the /HWB line is held low externally during the reset phase.
* Reintegrate the FullEPAddresses development branch into trunk.Dean Camera2012-04-141-14/+9
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Fixed DFU class bootloader not resetting the LED pins as high impedance ↵Dean Camera2012-01-291-1/+1
| | | | inputs when a software jump to the user applications is requested.
* Minor bootloader tweaks; make some functions static where possible to reduce ↵Dean Camera2012-01-151-2/+2
| | | | the compiled binary size, add additional comments to the makefiles.
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-4/+4
| | | | trailing whitespace at the end of each line.
* Use the proper "-Wl,--undefined=BootloaderAPI_JumpTable" linker command line ↵Dean Camera2011-11-231-4/+0
| | | | parameter in the bootloaders to ensure that the API jump tables are not discarded, rather than the previous C volatile pointer hack (thanks to Opendous Inc.).
* Added User Application APIs to the CDC and DFU class bootloaders.Dean Camera2011-10-111-0/+4
|
* Make DFU and CDC class bootloaders also toggle the LEDs on command activity ↵Dean Camera2011-04-231-0/+3
| | | | in addition to the periodic flashing.
* Added LED flashing to the CDC and DFU class bootloaders to indicate when ↵Dean Camera2011-04-231-0/+14
| | | | they are running.
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-041-2/+2
| | | | | | Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-101-10/+10
| | | | | | to the same module as they are declared in. Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
* Added HID class bootloader, compatible with a modified version of the ↵Dean Camera2011-02-091-0/+7
| | | | command line Teensy loader from PJRC.com.
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Readd incomplete MIDIToneGenerator project, which can now correctly generate ↵Dean Camera2010-11-241-1/+1
| | | | up to three simultaneous notes from MIDI channel 0.
* Renamed the EVENT_USB_Device_UnhandledControlRequest() event to ↵Dean Camera2010-11-051-4/+4
| | | | EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
* Rename new CDC class bootloader NO_LOCK_BYTE_SUPPORT compile time option to ↵Dean Camera2010-10-291-188/+195
| | | | | | NO_LOCK_BYTE_WRITE_SUPPORT as reads are still permitted. Clean up CDC bootloader command processing code.
* Added new NO_BLOCK_SUPPORT, NO_EEPROM_BYTE_SUPPORT, NO_FLASH_BYTE_SUPPORT ↵Dean Camera2010-10-291-24/+28
| | | | and NO_LOCK_BYTE_SUPPORT compile time options to the CDC class bootloader.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-63/+64
| | | | tool made by Laszlo Monda
* Added CDC functional descriptor structs to the Low Level CDC demos and CDC ↵Dean Camera2010-09-281-0/+42
| | | | | | class bootloader, to improve the readability of the descriptors. Fixed BootloaderCDC project failing on some operating systems due to removed Line Encoding options (thanks to Alexey Belyaev).
* Fixed incorrect signature reported in the CDC class bootloader for the ↵Dean Camera2010-09-141-3/+3
| | | | ATMEGA32U2.
* Removed unused line encoding data and control requests from the CDC ↵Dean Camera2010-05-261-71/+2
| | | | Bootloader code, to save space.
* Switch to using the correct intptr_t type use where a pointer must be cast ↵Dean Camera2010-05-261-4/+4
| | | | to an integer type.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-576/+576
| | | | correctly converted to the target system's native end of line style.
* Make CDC class bootloader hard-reset the AVR when exited instead of a ↵Dean Camera2010-05-061-21/+8
| | | | | | soft-reset. Reduce size of the TeensyHID bootloader slightly. Fix the TeensyHID bootloader for the larger USB AVR devices, since Paul uses a different (undocumented) addressing scheme on these devices.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-281-0/+3
| | | | be done in the user application once all init code has run.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Spell check all source code variables, comments and strings.Dean Camera2009-11-091-1/+1
|
* Application documentation/comment cleanup.Dean Camera2009-10-081-1/+0
|
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-201-2/+2
| | | | | | | | is frozen. Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID. More additions to the unfinished HID Host Class Driver.
* Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.Dean Camera2009-09-061-9/+0
|
* Fixed issue in USBtoSerial demos where the USART Rx line was not having its ↵Dean Camera2009-08-051-9/+9
| | | | | | | | pullup enabled at startup, leading to noise being received from the Rx pin when left floating. Removed unused relative Common.h header include from the DriverStubs board stub drivers. Fixed Benito programmer, use the correct LED functions where needed to ensure correct status display at all times.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-4/+4
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-15/+32
| | | | | | | | | | | | USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-281-2/+2
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Re-add signature byte defines to the DFU and CDC class bootloaders -- the ↵Dean Camera2009-06-211-3/+3
| | | | SIGNATURE_x defines in the AVR device header files only exist in a newer version of avr-libc than is in the Debian repositories, causing build issues on Linux.