Commit Graph

434 Commits

Author SHA1 Message Date
Dean Camera
f835323682 Merge branch 'XMEGA-Demo-Ports-ClockOnly' 2013-05-20 16:40:26 +02:00
Dean Camera
b37bde5675 Minor documentation improvements. 2013-05-20 13:55:47 +02:00
Dean Camera
139fabb6cd Add platform includes to the bootloaders. 2013-05-19 22:13:41 +02:00
Dean Camera
758ddfcc68 Assume 16MHz crystal by default in the AVR8 bootloaders. 2013-05-19 21:52:37 +02:00
Dean Camera
fbc57f965e Update Doxygen configuration files to the latest version. 2013-05-19 15:47:34 +02:00
Dean Camera
e342ba8f64 Add symbolic names for USB Device String Descriptors within the demos, applications and bootloaders. 2013-05-15 18:40:25 +02:00
Dean Camera
0ad234c194 Fix Printer class bootloader - descriptors are stored in SRAM, not FLASH. 2013-05-14 22:25:03 +02:00
Dean Camera
3d0e6d055b Minor documentation improvements. 2013-05-14 22:23:17 +02:00
Dean Camera
46bb98d9dc Shrink the size of the Printer class bootloader by refactoring the page flush code into a static function. 2013-05-10 17:48:52 +02:00
Dean Camera
f9a919aa77 Fix typos in the bootloader API table entry names. 2013-05-10 16:59:03 +02:00
Dean Camera
7b5b8f199f Tighten up Printer bootloader implementation; fold the IsHEX() function logic into HexToDecimal() and remove redundant state machine state logic to save space in the compiled binary. 2013-05-05 19:34:20 +00:00
Dean Camera
b68a71af38 Update the Printer class bootloader to use the new Printer Device Class driver, rather than implementing the Printer USB class manually. 2013-05-05 19:08:15 +00:00
Dean Camera
1949b98e6c Minor documentation improvements. 2013-05-01 11:36:55 +00:00
Dean Camera
29bfe7a09c Add move-to-root directives to all ASF XML application modules, to make the code easier to find in the release version of Atmel Studio 6.1. 2013-04-23 20:40:56 +00:00
Dean Camera
91946e6d62 Improve bootloader compile error message text when building without the correct optimization level. 2013-04-08 19:35:00 +00:00
Dean Camera
dd08100a7d Clean up bootloader project ASF integration code. 2013-04-06 19:42:46 +00:00
Dean Camera
9aabce09f1 Add bootloader projects for Atmel Studio 6.1 (requires latest AS6.1 trunk). 2013-04-06 14:41:40 +00:00
Dean Camera
ace61d757e Add checks to the bootloaders so that they will give a user-friendly compile error if not compiled with size optimizations. 2013-04-06 14:34:57 +00:00
Dean Camera
09ae9ad004 Minor documentation improvements. 2013-04-04 20:29:40 +00:00
Dean Camera
e40f0eb289 Automatically exit the printer class bootloader and start the application when the end of the HEX file is reached (thanks to Hans Schou). 2013-04-04 20:02:52 +00:00
Dean Camera
7dc5295103 Minor clean up of the Mass Storage bootloader. 2013-03-31 14:15:03 +00:00
Dean Camera
85343a436d Add ATTR_NEVER_INLINE attribute. Add EEPROM byte read/write proxy functions to the Mass Storage bootloader to prevent link errors due to linker relaxations. 2013-03-31 09:37:30 +00:00
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