Commit Graph

380 Commits

Author SHA1 Message Date
Markus Fröschle
657c105ee6 modified to enable remote debugging of basflash.s19.
basflash.s19 does not work in this version (hang)!
2013-02-16 08:30:04 +00:00
Markus Fröschle
a1e072f16f added basflash_start (startup()) as very first routine 2013-02-16 07:59:46 +00:00
Markus Fröschle
83695a927a extended to support 24-bit S2 and S8 records 2013-02-16 06:51:30 +00:00
Markus Fröschle
1a6d81ed1d continued implementing flash routines 2013-02-14 13:58:27 +00:00
Markus Fröschle
b49c9e628d added libbas.a to the "clean" target 2013-02-14 09:11:45 +00:00
Markus Fröschle
8f2612ae10 added intermediate files to svn:ignore 2013-02-14 09:09:51 +00:00
Markus Fröschle
0a2afd578a updated Makefile comments 2013-02-14 09:07:40 +00:00
Markus Fröschle
860d0bd703 fixed formatting 2013-02-14 07:18:11 +00:00
Markus Fröschle
257e92df8b fixed includes 2013-02-14 07:13:43 +00:00
Markus Fröschle
c28a1c49df Fixed comments 2013-02-14 07:08:50 +00:00
Markus Fröschle
63304d13c8 fixed comments 2013-02-14 06:54:27 +00:00
Markus Fröschle
b37e507590 added flash regions 2013-02-13 21:30:36 +00:00
Markus Fröschle
4615d7a757 ensured compiling on Mac OS X 2013-02-13 19:28:20 +00:00
Markus Fröschle
5bf9679129 added ROM/RAM translation addresses 2013-02-13 16:44:11 +00:00
Markus Fröschle
e9c7b5e453 added ROM/RAM translation addresses 2013-02-13 16:42:57 +00:00
Markus Fröschle
af9815d6b8 added string handling functions for path manipulation 2013-02-13 16:34:27 +00:00
Markus Fröschle
f3825b729e added skeleton for flashcode testing from SD card 2013-02-13 16:06:32 +00:00
Markus Fröschle
864a67c7e5 made "clean" target remove all mapfiles and intermediate linker scripts 2013-02-13 11:01:23 +00:00
Markus Fröschle
6e0165f6b8 started to do actual flashing code 2013-02-06 13:17:49 +00:00
Markus Fröschle
d81879b86a deciphered SDRAM initialization values (SDCR and SDMR) with Coldfire preprocessor macros 2013-02-05 16:33:35 +00:00
Markus Fröschle
075062972b deciphered SDRAM initialization values (SDCFG1 and 2) with Coldfire preprocessor macros 2013-02-05 10:41:18 +00:00
Markus Fröschle
d4819749d6 streamlined Makefile 2013-02-04 16:39:21 +00:00
Markus Fröschle
67ede2fddb fixed Makefile, fixed dependencies and removed doubly defined symbols 2013-02-04 10:38:11 +00:00
Markus Fröschle
69f147e9cf added sector erase logic. Does not compile currently. 2013-02-01 16:11:18 +00:00
Markus Fröschle
d759370bfc Going to extend basflash.c to
1.) load srec files to their RAM destination without flashing for testing
2.) load and flash srec files from SD card
2013-01-31 14:06:51 +00:00
Markus Fröschle
307720cbfc modified comments 2013-01-24 16:19:32 +00:00
Markus Fröschle
b4f05cfdf3 modified to use a library instead of individual objects - can be reused for basflash.{elf|srec} 2013-01-23 14:56:25 +00:00
Markus Fröschle
14ac2e71ba fixed doubly definition of wait_() routines 2013-01-21 13:13:33 +00:00
Markus Fröschle
a875f4062a avoid compiler warning due to bogus comparison 2013-01-21 11:06:35 +00:00
Markus Fröschle
b34d9fa714 removed unused function prototype 2013-01-20 12:04:17 +00:00
Markus Fröschle
2483fecf74 reintroduced setting TOS "magic values" for RAM to avoid FireTOS RAM test and speed up boot 2013-01-20 12:03:00 +00:00
Markus Fröschle
67a53b7f29 automatic dependency generation did not work 2012-12-26 08:12:13 +00:00
Markus Fröschle
c5106fbe91 improved SD-card speed 2012-12-20 22:08:24 +00:00
Markus Fröschle
f0f829ab31 2012-12-20 11:30:48 +00:00
Markus Fröschle
062db40213 started implementing flashin routines 2012-12-19 16:26:31 +00:00
Markus Fröschle
0094bd87a7 improved diagnostics 2012-12-19 07:30:23 +00:00
Markus Fröschle
b4d25e2f94 fixed comments 2012-12-18 23:49:01 +00:00
Markus Fröschle
371adb5581 removed timing routines from sd_card.c (since they were disappointing anyway)
modified S-record reader diagnostic output
2012-12-18 20:55:18 +00:00
Markus Fröschle
9a80c36081 S-record load to RAM tested successfully. basflash.s19 is a short test program (just a single line of code) that can be loaded from SD card and executed. Control is given back to BaS() on return. 2012-12-18 20:36:31 +00:00
Markus Fröschle
a7065c2494 eclipse problem fixed 2012-12-18 18:46:45 +00:00
Markus Fröschle
8f48e3b3af simplified call of callback 2012-12-18 14:50:37 +00:00
Markus Fröschle
18e402f6c3 added more diagnostic messages 2012-12-18 14:44:09 +00:00
Markus Fröschle
ee344278a7 added more diagnostic messages 2012-12-18 14:43:15 +00:00
Markus Fröschle
edf004c542 fixed according to datasheet 2012-12-18 14:38:46 +00:00
Markus Fröschle
b9c72eb9e8 structure finished. Copy to memory should work (not tested yet) as well as verification, flash routines yet need to be written 2012-12-18 14:38:14 +00:00
Markus Fröschle
58504bdf98 fixed comments and added more diagnostic error messages 2012-12-17 21:15:12 +00:00
Markus Fröschle
38247c79a9 parsing finished 2012-12-17 20:58:01 +00:00
Markus Fröschle
b842c061e5 parsing S-records nearly finished, computing of checksum works 2012-12-17 20:14:55 +00:00
Markus Fröschle
c461730076 incorporated s19reader in build 2012-12-17 18:24:27 +00:00
Markus Fröschle
fd1b041675 added comments 2012-12-17 16:48:15 +00:00