Commit Graph

72 Commits

Author SHA1 Message Date
Dean Camera
4ad929f19d Update copyrights for 2017. 2017-04-18 20:30:29 +10:00
Eric Tang
738ded0f02 Update functions used to write to EEPROM 2016-04-19 22:28:40 -07:00
Dean Camera
1e05d46b66 Update copyrights to 2016. 2016-01-31 16:11:09 +11:00
Dean Camera
6b06bc6237 Fixed missing bounds checks and off-by-one in the DFU bootloader signature bytes (thanks to Reuti) 2015-11-08 14:50:24 +11:00
Dean Camera
1d2680b358 Update copyrights to 2015 (better late than never). 2015-05-17 13:14:29 +10:00
Dean Camera
a09cb7e3d8 Fix bootloaders not starting user application if the HWB is grounded during watchdog reset. 2014-10-12 16:43:30 +11:00
Dean Camera
4c637c93ba Add Leonardo compatibility to most bootloaders, run user application if BOOTRST fuse is set and the last reset cause was not the /RESET pin. 2014-10-11 16:43:41 +11:00
Dean Camera
df366e055d Don't run user application in the bootloader unless a valid app is present (thanks to Alex Kazik). 2014-10-11 15:15:02 +11:00
Dean Camera
e368a89987 Update copyrights for 2014. 2014-01-04 10:45:02 +11:00
Dean Camera
6b214472b7 Fix signature bytes in the DFU class bootloader. 2013-11-03 15:44:55 +01:00
Dean Camera
4ba4097716 Fixed race condition in the DFU class bootloader causing failed device reprogramming in some circumstances (thanks to Luis Mendes). 2013-03-27 18:55:30 +00:00
Dean Camera
de0df8b162 Update copyright year to 2013. 2013-01-03 11:37:33 +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
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
d4684b29b9 Ensure the DFU bootloader disables and clears the activity LED toggle timer when a soft-reset to application space is used. 2012-05-29 19:40:05 +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
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
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
7dffa15c16 Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru. 2011-06-05 13:55:56 +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
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.
2011-04-08 05:05:05 +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
088bfb10b2 Change bootloader makefiles to automatically compute the bootloader starting address from a flash size and bootloader section size, expressed in KB. 2011-02-09 17:58:21 +00:00
Dean Camera
43b9d552bb Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable(). 2011-01-30 23:12:06 +00:00
Dean Camera
1d433d4506 Update copyright year on all source files. 2011-01-01 13:00:56 +00:00
Dean Camera
82fa9149d7 Fixed broken DFU bootloader, added XPLAIN support for bootloader start when XCK jumpered to ground. 2010-11-27 01:27:55 +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
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
d975250331 Add the "REQ_" prefix to the DFU class bootloader class-specific request constants. 2010-09-12 12:37:16 +00:00
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. 2010-08-05 09:31:51 +00:00
Dean Camera
612df774d9 Oops - fix mixed "initialize" and "initialise" - opt for American spelling due to its wide use in technical standards. 2010-07-30 10:58:16 +00:00
Dean Camera
0f45b9c8e0 More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary. 2010-07-30 09:48:35 +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
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
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). 2010-01-24 13:38:20 +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
414b92e812 Add to the existing CDC Class Driver's CreateStream() function documentation to explicitly state that the created streams are bidirectional. 2009-11-29 05:19:41 +00:00