Dean Camera
603a7d86e9
Add human readable definitions for the AVR109 protocol commands in the CDC class bootloader.
12 years ago
Dean Camera
56d368f2de
Reduce bootloader magic key to 16 bits to save FLASH space.
13 years ago
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.
13 years ago
Dean Camera
56e792c95b
Switch over Demos, Bootloaders and Projects to the new and improved build system.
13 years ago
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).
13 years ago
Dean Camera
430973263b
Fix bootloaders to make the StaticAnalysis build test happy.
13 years ago
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.
13 years ago
Dean Camera
47f6a35013
Reintegrate the FullEPAddresses development branch into trunk.
13 years ago
Dean Camera
f1b6ddb710
Update file contributor copyrights for 2012.
13 years ago
Dean Camera
2c806f6cee
Update file header copyrights for 2012.
13 years ago
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.
13 years ago
Dean Camera
bc3db793e9
Minor bootloader tweaks; make some functions static where possible to reduce the compiled binary size, add additional comments to the makefiles.
13 years ago
Dean Camera
f201f6697b
Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line.
13 years ago
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.).
13 years ago
Dean Camera
1a4a26271e
Added User Application APIs to the CDC and DFU class bootloaders.
13 years ago
Dean Camera
0407b92584
Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing.
14 years ago
Dean Camera
513db46548
Added LED flashing to the CDC and DFU class bootloaders to indicate when they are running.
14 years ago
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.
14 years ago
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.
14 years ago
Dean Camera
cae0fa73d7
Added HID class bootloader, compatible with a modified version of the command line Teensy loader from PJRC.com.
14 years ago
Dean Camera
1d433d4506
Update copyright year on all source files.
14 years ago
Dean Camera
857a82674f
Readd incomplete MIDIToneGenerator project, which can now correctly generate up to three simultaneous notes from MIDI channel 0.
14 years ago
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.
14 years ago
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.
14 years ago
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.
14 years ago
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.
14 years ago
Dean Camera
5a4def7478
Clean up excessive whitespace at the end of each line using the wspurify tool made by Laszlo Monda
14 years ago
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).
14 years ago
Dean Camera
e61345f872
Fixed incorrect signature reported in the CDC class bootloader for the ATMEGA32U2.
14 years ago
Dean Camera
885170f5b4
Removed unused line encoding data and control requests from the CDC Bootloader code, to save space.
15 years ago
Dean Camera
54e69dbee1
Switch to using the correct intptr_t type use where a pointer must be cast to an integer type.
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
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.
15 years ago
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.
15 years ago
Dean Camera
7f9f97c792
Update copyright year to 2010.
15 years ago
Dean Camera
d4ca7fb44c
Fix MIT license language to make its intent clearer.
15 years ago
Dean Camera
d6edfe35c8
Spell check all source code variables, comments and strings.
15 years ago
Dean Camera
664a292181
Application documentation/comment cleanup.
15 years ago
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.
15 years ago
Dean Camera
1190652c0b
Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.
15 years ago
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.
15 years ago
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.
15 years ago
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.
16 years ago
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).
16 years ago
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.
16 years ago
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.
16 years ago
Dean Camera
ac70ddd0a1
Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments.
16 years ago
Dean Camera
2ee9fc7077
Rewritten event system to remove all macros, to make user code clearer.
...
Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley).
Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code.
Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
16 years ago
Dean Camera
6a8e27f7ee
Fixed Endpoint_Write_Control_* functions writing more data than expected by the host, causing it to panic (thanks to Johannes Raschke).
16 years ago
Dean Camera
13935a31b9
Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes Raschke).
16 years ago