Dean Camera
de0df8b162
Update copyright year to 2013.
12 years ago
Dean Camera
eee252603b
Minor documentation improvements.
12 years ago
Dean Camera
1eefbf9041
Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA specific sei() macro, for future demo/project portability.
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
d4684b29b9
Ensure the DFU bootloader disables and clears the activity LED toggle timer when a soft-reset to application space is used.
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
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
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
7dffa15c16
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
14 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
de9bd767dc
Correct UC3 global interrupt functions.
...
Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function.
Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
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
088bfb10b2
Change bootloader makefiles to automatically compute the bootloader starting address from a flash size and bootloader section size, expressed in KB.
14 years ago
Dean Camera
43b9d552bb
Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
14 years ago
Dean Camera
1d433d4506
Update copyright year on all source files.
14 years ago
Dean Camera
82fa9149d7
Fixed broken DFU bootloader, added XPLAIN support for bootloader start when XCK jumpered to ground.
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
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
d975250331
Add the "REQ_" prefix to the DFU class bootloader class-specific request constants.
14 years ago
Dean Camera
3c72896e84
Fixed software application start command broken in the DFU class bootloader when dfu-programmer is used due to application start address corruption.
14 years ago
Dean Camera
612df774d9
Oops - fix mixed "initialize" and "initialise" - opt for American spelling due to its wide use in technical standards.
14 years ago
Dean Camera
0f45b9c8e0
More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary.
14 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
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
871d9bf1af
Fixed DFU bootloader programming not discarding the correct number of filler bytes from the host when non-aligned programming ranges are specified (thanks to Thomas Bleeker).
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
414b92e812
Add to the existing CDC Class Driver's CreateStream() function documentation to explicitly state that the created streams are bidirectional.
15 years ago
Dean Camera
c8b72f955f
Corrected incorrect signature bytes for the AT90USB82 and added support for the ATMEGAXX2 variant AVRs to the DFU bootloader.
...
Added warning to the EVENT_USB_Device_Connect() and EVENT_USB_Device_Disconnect() events that they may be fired multiple times during device enumeration on the series 2 AVRs.
15 years ago
Dean Camera
1190652c0b
Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.
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
1756087c3e
Optimize vendor/product description string display code in MassStorageHost.
...
Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed.
Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails.
Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
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
bde64666fb
Finished CDC device class driver documentation.
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
7eb4eb7cdd
Fix all device mode demos broken in the recent API changes.
...
Change USBtoSerial Tx to polling-driven rather than interrupt driven, to ensure more time for the Rx interrupt to be serviced.
16 years ago