Dean Camera
7251da6581
Add EEPROM read/write support to the Mass Storage class bootloader.
2013-03-30 17:16:29 +00:00
Dean Camera
829ecefe41
Clean up the VirtualFAT implementation.
2013-03-30 15:13:42 +00:00
Dean Camera
b956fedeeb
Minor cleanup of the Mass Storage bootloader VirtualFAT code.
2013-03-29 13:14:07 +00:00
Dean Camera
ddd6632295
Oops - ensure the SCSI transfer length is correct in the Mass Storage bootloader.
2013-03-29 10:40:40 +00:00
Dean Camera
907cb2459c
Minor documentation improvements.
2013-03-29 10:29:11 +00:00
Dean Camera
83d5c4729e
Update Mass Storage bootloader for Linux compatibility, and to reduce the compiled bootloader size. Linux appears to replace files with a cluster offset on the disk rather than re-using the same disk clusters (unlike Windows) so the file offset needs to be tracked and compensated for.
2013-03-29 10:23:09 +00: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
f2e974954b
Minor documentation improvements.
2013-03-26 18:59:45 +00:00
Dean Camera
3bc066cd69
Clean up the Mass Storage bootloader virtual FAT directory entry definitions.
2013-03-25 21:09:55 +00:00
Dean Camera
169f21fbb1
Add Long File Name (VFAT) entry to the Mass Storage class bootloader, so that systems such as Linux that load a VFAT filesystem driver instead of the legacy MSDOS filesystem do not corrupt the volume by trying to write a LFN entry.
2013-03-25 20:58:33 +00:00
Dean Camera
141f24b4a1
Add known-issues documentation section to the various LUFA bootloaders.
2013-03-22 23:24:02 +00:00
Dean Camera
54e46d7818
Add smaller AVR8 targets to the Mass Storage bootloader target list in the Bootloader build test.
2013-03-20 20:03:00 +00:00
Dean Camera
9d988fdc22
Make the Mass Storage bootloader compatible with the original (green) XPLAIN boards.
2013-03-20 19:08:54 +00:00
Dean Camera
199cf8f183
Significantly reduce the size of the Mass Storage class bootloader, by removing dependencies on large LUFA internal functions.
2013-03-20 19:02:29 +00:00
Dean Camera
262b7d7b7b
Make Mass Storage bootloader makefile variable naming consistent.
2013-03-18 19:25:36 +00:00
Dean Camera
03cdb09071
Minor documentation improvements.
2013-03-18 19:24:55 +00:00
Dean Camera
88bcc6fde5
Speed up Mass Storage bootloader by turning off the internal clock divider, as there is enough FLASH space to do so.
2013-03-18 17:27:18 +00:00
Dean Camera
1703283893
Ensure bootloader makefile calculation functions are uniform across all bootloaders.
2013-03-18 17:21:02 +00:00
Dean Camera
be33d3a515
Update Mass Storage bootloader so that it can support devices with only 4KB bootloader sections by creating a special AUX section before the real bootloader section to store part of the bootloader code.
2013-03-18 17:18:11 +00:00
Dean Camera
f8a1dc7424
Minor documentation improvements.
2013-03-18 17:04:33 +00:00
Dean Camera
f429975e01
Tweak the LUFA config for the Mass Storage class bootloader to reduce the compiled size slightly by removing unused features.
2013-03-17 16:37:00 +00:00
Dean Camera
1575ca57bb
Minor documentation improvements.
2013-03-14 21:08:53 +00:00
Dean Camera
e635872612
Small size improvement in the Printer and Mass Storage class bootloaders.
2013-03-13 21:19:31 +00:00
Dean Camera
68c317c4e9
Fix off-by-one error in the Mass Storage bootloader file size, add missing Volume Label directory entry. Remove incorrect reference to "printer" in the bootloader documentation.
2013-03-10 19:53:48 +00:00
Dean Camera
de9d05f32a
Enable Mass Storage bootloader builds in the BootloaderTest build test.
2013-03-10 09:42:12 +00:00
Dean Camera
0b1f33e2a2
Move out the Mass Storage class bootloader to the main Bootloader directory now that it is functional.
2013-03-10 09:35:43 +00:00
Dean Camera
ef7b6a274c
Fix Printer bootloader top level documentation.
2013-03-10 09:34:28 +00:00
Dean Camera
3f52d6ee06
Add top level documentation to the Mass Storage class bootloader.
2013-03-10 09:32:03 +00:00
Dean Camera
dddb709c43
Oops - fix broken FAT_DATE() and FAT_TIME() macros.
2013-03-10 09:21:57 +00:00
Dean Camera
df9b04c87f
Add documentation to the incomplete Mass Storage class bootloader, update the virtual FAT file entry so that the bootloader section is omitted (not user readable/writable). Fix some minor documentation errors in the Printer class bootloader.
2013-03-10 09:20:55 +00:00
Dean Camera
6c9632ae38
Minor optimizations and corrections to the incomplete Mass Storage class bootloader.
2013-03-10 08:38:47 +00:00
Dean Camera
d5cff25cd1
Update Bootloader buld test to generate bootloaders using the new Printer class bootloader. Optimize incomplete Mass Storage bootloader LUFA configuration.
2013-03-09 11:11:05 +00:00
Dean Camera
e62e50c663
Add dummy handler for SCSI_CMD_START_STOP_UNIT in all project SCSI handling routines, to prevent ejection errors on *nix systems due to an unknown SCSI command.
2013-03-09 10:59:53 +00:00
Dean Camera
d5d83b8e8f
Add LED flashing to the incomplete Mass Storage class bootloader. Clean up virtual FAT implementation.
2013-03-09 10:51:19 +00:00
Dean Camera
bb8754e2b8
Add FLASH writing routine to the VirtualFAT layer of the incomplete Mass Storage class bootloader.
2013-03-09 10:32:17 +00:00
Dean Camera
63e1fc6e6c
Make the VirtualFAT firmware file read from device flash when opened by the host in the incomplete Mass Storage class bootloader.
2013-03-09 09:24:26 +00:00
Dean Camera
d5d9ff73e5
Remove debug code from the incomplete Mass Storage class bootloader, rename main source files.
2013-03-09 09:17:42 +00:00
Dean Camera
0f0f9638a3
Use real firmware file size in the VirtualFAT layer, clean up FAT12 chain update function.
2013-03-09 09:13:44 +00:00
Dean Camera
f00754ed97
FAT heuristics mean a disk as small as the one emulated in the incomplete Mass Storage bootloader *must* be FAT12, not FAT16. Update to use a FAT12 cluster chain.
2013-03-09 08:48:00 +00:00
Dean Camera
6da1677bc3
Fix off-by-one in the VirtualFAT cluster chain generator.
2013-03-09 08:08:31 +00:00
Dean Camera
7f5dab4f26
Refactor macros in the VirtualFAT implementation of the incomplete Mass Storage bootloader.
2013-03-09 08:00:22 +00:00
Dean Camera
f0c7a11670
Corrections and debug channel in the Incomplete Mass Storage class bootloader.
2013-03-09 07:49:46 +00:00
Dean Camera
4753528b9e
Add APIs to the incomplete Mass Storage bootloader.
2013-03-08 15:52:05 +00:00
Dean Camera
64f17a679f
Add the start of a new Mass Storage class bootloader.
2013-03-08 15:50:12 +00:00
Dean Camera
7d4062fa54
Use a temporary variable for the Printer bootloader HEX parser when combining the current and previous data tokens to form a data word, to simplify the code.
2013-03-06 19:48:27 +00:00
Dean Camera
2e7fc37ad2
Fix incorrect HEX extended address parsing in the Printer class bootloader.
2013-03-04 17:44:41 +00:00
Dean Camera
d999ca8f30
Fix incorrect Bootloader documentation.
2013-03-04 16:43:32 +00:00
Dean Camera
0c40ef8897
Add documentation to the Printer class bootloader, add LED flash when the bootloader is active.
2013-03-03 14:34:07 +00:00
Dean Camera
041bdf8954
Add bootloader API functions to the Printer class bootloader.
2013-03-03 14:14:45 +00:00
Dean Camera
63e80bea08
Add additional comments to the Printer class bootloader, fix incorrect VID/PID values.
2013-03-03 14:10:13 +00:00
Dean Camera
8a43da6b37
Add new Printer class USB bootloader.
2013-03-03 13:35:46 +00:00
Dean Camera
2b4658de2c
Fix swapped product IDs for the ATMEGA8U2 and AT90USB82 in the DFU class bootloader.
2013-02-24 14:17:46 +00:00
Dean Camera
5b089fbbf3
Whitespace fixes in the LUFA configuration files.
2013-01-29 19:59:52 +00:00
Dean Camera
8d22cedfc4
Minor documentation improvements.
2013-01-29 19:40:30 +00:00
Dean Camera
2413d114b7
Upgrade Doxygen configuration files to the latest version.
2013-01-20 13:58:53 +00:00
Dean Camera
5cdc29616c
Update and add missing Atmel Studio project description XML files.
2013-01-10 21:09:53 +00:00
Dean Camera
de0df8b162
Update copyright year to 2013.
2013-01-03 11:37:33 +00:00
Dean Camera
13dd494cfe
Upgrade Doxygen configuration files to the latest Doxygen version.
2013-01-03 11:32:19 +00:00
Dean Camera
7d037c7db8
Remove support for devices that were not put into production.
2013-01-03 10:49:44 +00:00
Dean Camera
c786d8a0b7
Remove dependency on the "bc" command line calculator tool in the bootloaders to make compiling on Windows easier with only MinGW.
2012-11-10 16:47:04 +00:00
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
72fc4a204d
Clean up unnecessary CPPCheck static analysis suppression comments, force Doxygen and GCC compiler specific macros as being always undefined when performing a static analysis of the code.
2012-10-14 20:18:46 +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
fc2cbe0700
Shorten the product string descriptors in the CDC and DFU bootloaders to ensure that differences in the toolchain version don't push it over a binary size boundary.
2012-09-15 22:13:51 +00:00
Dean Camera
c8f7cf7621
Fix up the StaticAnalysis build test so that it does not report invalid configurations.
2012-09-15 14:52:15 +00:00
Dean Camera
c93259fbdb
Remove incorrect PROGMEM qualifier on the Manufacturer string descriptors in the DFU and CDC class bootloaders (thanks to Oliver Zander).
2012-09-13 20:26:32 +00:00
Dean Camera
9eef78d21e
Fixed incompatibility in the CDC class bootloader on some systems (thanks to Sylvain Munaut).
2012-08-27 16:39:06 +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
1cb60c1214
Spell-check latest trunk source code.
2012-08-18 14:54:37 +00:00
Dean Camera
3e50a59486
Fix up non-unique DFU/CDC bootloader signatures.
2012-08-16 19:18:07 +00:00
Dean Camera
1ba60b4a18
Fixed missing Win-32bit compatibility sections in the LUFA INF driver files (thanks to Christan Beharrell).
2012-08-16 19:15:18 +00:00
Dean Camera
94f5f31f10
Upgrade Doxygen configuration files, custom style CSS and DOXYGEN build module for the latest Doxygen release.
2012-08-13 05:11:27 +00:00
Dean Camera
9c590e41d7
Add help text to the project makefiles to help new users get information on the improved build system.
2012-08-11 11:51:43 +00:00
Dean Camera
e5781d172e
Upgrade Doxygen configuration files to 1.8.1.2.
2012-07-29 15:18:21 +00:00
Dean Camera
db3f8565b8
Enhance bootloader descriptor strings in the CDC and DFU bootloaders.
2012-07-29 15:14:56 +00:00
Dean Camera
5b8b5018f2
Minor documentation improvements.
2012-07-15 18:49:42 +00:00
Dean Camera
3c1b28cf5f
Use immediate variable expansion in the second-deepest level makefile scripts to prevent multiple evaluation of the PROJECT_DIRECTORIES variable.
2012-07-14 23:04:37 +00:00
Dean Camera
b7e3c86e4e
Rename build system module makefiles from "lufa.MODULE.in" to "lufa_MODULE.mk" to prevent makefile from assuming the include is an old style build rule, slowing down the build process.
...
Prevent the BUILD module from shell-executing multiple processes to determine the avr-size flags to speed up the build, unless the size rule is invoked.
Add warnings and set warnings as errors to the SingleUSBModeTest build test makefile.
2012-07-14 13:18:13 +00:00
Dean Camera
1faa5ba70a
Fix project makefiles - remove trailing slash from LUFA_PATH entries and the XPLAINBridge project AVRISP file include path to prevent build errors.
2012-07-11 19:57:19 +00:00
Dean Camera
3bf7ce15d5
Fix up makefile .NOTPARALLEL heuristics so that linear building is only enforced if no object folder set and the "all" target is run. Rename library "ConfigDescriptor.c" file to "ConfigDescriptors.c" to ensure that object filenames are unique.
2012-07-10 19:33:39 +00:00
Dean Camera
7f29c468d7
Slightly better method of recursive make - use proper make dependencies to allow for parallel builds.
2012-07-10 18:30:41 +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
10944d9ddf
Update CDC driver INF files so that they should work even on systems without usbser.sys extracted by default (see MS KB entry 837637).
2012-07-07 13:43:15 +00:00
Dean Camera
2e27cc2670
Fixed CDC and DFU bootloaders API page erase and write function failures (thanks to Martin Lambert).
2012-06-29 04:55:44 +00:00
Dean Camera
c9ba8f2a2c
Clean up bootloader makefiles to make them a bit more readable.
2012-06-26 17:54:04 +00:00
Dean Camera
aba33a0334
Don't enforce silent output on submake - pass down the value set by the user implicitly instead.
2012-06-24 19:38:37 +00:00
Dean Camera
7e65340c31
Revert change to assembly file comment syntax; this apparently breaks on the current AVR32 GNU assembler.
2012-06-19 19:31:01 +00:00
Dean Camera
7d83e10b7f
Re-add in DFU bootloader Manufacturer string, as the dfu-programmer utility breaks if it is not present.
2012-06-17 12:55:50 +00:00
Dean Camera
751806458b
Replace C style comments in assembly code with true assembly comments for consistency and to prevent it from confusing syntax highlighters.
2012-06-17 10:59:49 +00:00
Dean Camera
4da2ba9f1c
Modify CDC and DFU bootloaders so that the various BootloaderAPI components are in unique sections and mapped explicitly - this will ensure the API and signature entries are always linked at the correct explicit address.
2012-06-15 16:02:19 +00:00
Dean Camera
deb6fce7bc
Remove unused makefile macro from the DFU bootloader.
2012-06-12 17:10:24 +00:00
Dean Camera
9ab445518a
Add OBJDIR optional build variable to the BULD build system module, to allow the user project to relocate the output object and dependency files to a different directory.
2012-06-10 19:39:40 +00:00
Dean Camera
61b5740a25
Clean up bootloader makefile comments.
2012-06-09 13:39:56 +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
d887c0c73c
Fix typos in recursive make rules.
2012-06-04 17:09:44 +00:00
Dean Camera
49ca5c3c83
Add new ATPROGRAM build system module. Add ATPROGRAM and CPPCHECK modules to all application makefiles.
2012-06-04 16:31:50 +00:00
Dean Camera
a57c4eabae
Add emergency aborts to the recursive makefiles to prevent system failures due to infinite recursion if something happens while building the project lists.
2012-06-04 15:38:05 +00:00
Dean Camera
8f8f347891
Quiet initial recursive makefile invocation for all projects.
2012-06-03 15:20:51 +00:00