Dean Camera
9740d3a55f
Make "HighByte" variable in the CDC Bootloader a uint8_t rather than a bool to be more semantically correct, since it is bitwise ORed to obtain a byte address in the AVR's flash memory.
2012-10-28 13:56:14 +00:00
Dean Camera
1f33bc2fd3
Minor cleanup of the CDC bootloader.
2012-10-20 11:27:18 +00:00
Dean Camera
eee252603b
Minor documentation improvements.
2012-10-05 20:22:19 +00:00
Dean Camera
1eefbf9041
Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA specific sei() macro, for future demo/project portability.
2012-09-17 21:00:59 +00:00
Dean Camera
603a7d86e9
Add human readable definitions for the AVR109 protocol commands in the CDC class bootloader.
2012-08-27 16:38:00 +00:00
Dean Camera
56d368f2de
Reduce bootloader magic key to 16 bits to save FLASH space.
2012-07-07 15:30:35 +00:00
Dean Camera
cd0bd7bf90
Added new JTAG_ENABLE() macro for the AVR8 architecture. Fixed the 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.
2012-06-09 13:00:56 +00:00
Dean Camera
56e792c95b
Switch over Demos, Bootloaders and Projects to the new and improved build system.
2012-06-01 22:32:43 +00:00
Dean Camera
615d34f1b7
Turn off watchdog before jumping to the user application in the DFU and CDC based bootloaders, for the specific case of /HWB being low during reset (where the bootloader will re-enter).
2012-05-21 16:37:34 +00:00
Dean Camera
430973263b
Fix bootloaders to make the StaticAnalysis build test happy.
2012-05-05 21:27:07 +00:00
Dean Camera
04740d680e
The library bootloaders will now correctly start the user application after a watchdog-based application start, even if the /HWB line is held low externally during the reset phase.
2012-04-29 17:15:06 +00:00
Dean Camera
47f6a35013
Reintegrate the FullEPAddresses development branch into trunk.
2012-04-14 14:41:17 +00:00
Dean Camera
f1b6ddb710
Update file contributor copyrights for 2012.
2012-02-04 22:38:44 +00:00
Dean Camera
2c806f6cee
Update file header copyrights for 2012.
2012-02-04 22:32:30 +00:00
Dean Camera
9f99c7fa03
Fixed DFU class bootloader not resetting the LED pins as high impedance inputs when a software jump to the user applications is requested.
2012-01-29 14:37:30 +00:00
Dean Camera
bc3db793e9
Minor bootloader tweaks; make some functions static where possible to reduce the compiled binary size, add additional comments to the makefiles.
2012-01-15 14:07:14 +00:00
Dean Camera
f201f6697b
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
2011-12-23 01:51:39 +00:00
Dean Camera
075538abb9
Use the proper "-Wl,--undefined=BootloaderAPI_JumpTable" linker command line 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.).
2011-11-23 14:09:01 +00:00
Dean Camera
1a4a26271e
Added User Application APIs to the CDC and DFU class bootloaders.
2011-10-11 06:20:18 +00:00
Dean Camera
0407b92584
Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing.
2011-04-23 03:50:13 +00:00
Dean Camera
513db46548
Added LED flashing to the CDC and DFU class bootloaders to indicate when they are running.
2011-04-23 03:45:29 +00:00
Dean Camera
899df7d331
Renamed all low level Endpoint_Read_*, Endpoint_Write_* and 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.
2011-04-04 12:52:30 +00:00
Dean Camera
782614dbb5
Add static keyword to all project globals whose scope should be restricted 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.
2011-02-10 17:55:49 +00:00
Dean Camera
cae0fa73d7
Added HID class bootloader, compatible with a modified version of the command line Teensy loader from PJRC.com.
2011-02-09 21:34:00 +00:00
Dean Camera
1d433d4506
Update copyright year on all source files.
2011-01-01 13:00:56 +00:00
Dean Camera
857a82674f
Readd incomplete MIDIToneGenerator project, which can now correctly generate up to three simultaneous notes from MIDI channel 0.
2010-11-24 13:57:44 +00:00
Dean Camera
fb76acb084
Renamed the EVENT_USB_Device_UnhandledControlRequest() event to EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
2010-11-05 05:15:20 +00:00
Dean Camera
40db485c79
Rename new CDC class bootloader NO_LOCK_BYTE_SUPPORT compile time option to NO_LOCK_BYTE_WRITE_SUPPORT as reads are still permitted.
...
Clean up CDC bootloader command processing code.
2010-10-29 08:20:36 +00:00
Dean Camera
475323e400
Added new NO_BLOCK_SUPPORT, NO_EEPROM_BYTE_SUPPORT, NO_FLASH_BYTE_SUPPORT and NO_LOCK_BYTE_SUPPORT compile time options to the CDC class bootloader.
2010-10-29 08:07:49 +00:00
Dean Camera
cb779e3d7d
Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
2010-10-28 06:08:58 +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
b2a30cd48a
Added CDC functional descriptor structs to the Low Level CDC demos and CDC 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).
2010-09-28 13:27:19 +00:00
Dean Camera
e61345f872
Fixed incorrect signature reported in the CDC class bootloader for the ATMEGA32U2.
2010-09-14 11:19:44 +00:00
Dean Camera
885170f5b4
Removed unused line encoding data and control requests from the CDC Bootloader code, to save space.
2010-05-26 12:44:05 +00:00
Dean Camera
54e69dbee1
Switch to using the correct intptr_t type use where a pointer must be cast to an integer type.
2010-05-26 12:24:44 +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
c3db72afdc
Make CDC class bootloader hard-reset the AVR when exited instead of a 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.
2010-05-06 07:27:13 +00:00
Dean Camera
59c4871f80
USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.
2010-04-28 07:48:26 +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
d6edfe35c8
Spell check all source code variables, comments and strings.
2009-11-09 13:15:28 +00:00
Dean Camera
664a292181
Application documentation/comment cleanup.
2009-10-08 07:18:28 +00:00
Dean Camera
51566d1a81
Added new Pipe_IsFrozen() macro to determine if the currently selected pipe 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.
2009-09-20 12:01:25 +00:00
Dean Camera
1190652c0b
Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.
2009-09-06 20:30:26 +00:00
Dean Camera
99c447c754
Fixed issue in USBtoSerial demos where the USART Rx line was not having its 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.
2009-08-05 13:16:36 +00:00
Dean Camera
c5038f1bf4
Renamed all library events to properly seperate out Device and Host mode 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.
2009-08-05 06:36:31 +00:00
Dean Camera
e071f3897a
Added new USB_DeviceState variable to keep track of the current Device mode 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.
2009-07-21 13:31:21 +00:00
Dean Camera
f1076ac4d6
Added const modifiers to device mode class drivers.
...
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).
2009-06-28 13:39:08 +00:00
Dean Camera
e0420015df
Re-add signature byte defines to the DFU and CDC class bootloaders -- the 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.
2009-06-21 05:04:18 +00:00
Dean Camera
28343b1475
Updated bootloaders to use the new main() function layout and remove any references to the scheduler to keep them in line with the rest of the library.
2009-06-09 06:05:01 +00:00