Commit Graph

365 Commits

Author SHA1 Message Date
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