Commit Graph

370 Commits

Author SHA1 Message Date
Markus Fröschle
e35d3a7d6b updated Makefile comments 2013-02-14 09:07:40 +00:00
Markus Fröschle
fb306d897b fixed formatting 2013-02-14 07:18:11 +00:00
Markus Fröschle
e69d58a09e fixed includes 2013-02-14 07:13:43 +00:00
Markus Fröschle
f4e38e9728 Fixed comments 2013-02-14 07:08:50 +00:00
Markus Fröschle
f916b79dad fixed comments 2013-02-14 06:54:27 +00:00
Markus Fröschle
12a17ae5d8 added flash regions 2013-02-13 21:30:36 +00:00
Markus Fröschle
db527e7cef ensured compiling on Mac OS X 2013-02-13 19:28:20 +00:00
Markus Fröschle
81f0c7da1f added ROM/RAM translation addresses 2013-02-13 16:44:11 +00:00
Markus Fröschle
ac37baa0de added ROM/RAM translation addresses 2013-02-13 16:42:57 +00:00
Markus Fröschle
c701ca65d7 added string handling functions for path manipulation 2013-02-13 16:34:27 +00:00
Markus Fröschle
7d2d660cfb added skeleton for flashcode testing from SD card 2013-02-13 16:06:32 +00:00
Markus Fröschle
cbe99f1990 made "clean" target remove all mapfiles and intermediate linker scripts 2013-02-13 11:01:23 +00:00
Markus Fröschle
994bc59273 started to do actual flashing code 2013-02-06 13:17:49 +00:00
Markus Fröschle
2861d8c016 deciphered SDRAM initialization values (SDCR and SDMR) with Coldfire preprocessor macros 2013-02-05 16:33:35 +00:00
Markus Fröschle
1f8aea471c deciphered SDRAM initialization values (SDCFG1 and 2) with Coldfire preprocessor macros 2013-02-05 10:41:18 +00:00
Markus Fröschle
447d07594e streamlined Makefile 2013-02-04 16:39:21 +00:00
Markus Fröschle
5e69db130b fixed Makefile, fixed dependencies and removed doubly defined symbols 2013-02-04 10:38:11 +00:00
Markus Fröschle
86b53f768f added sector erase logic. Does not compile currently. 2013-02-01 16:11:18 +00:00
Markus Fröschle
5e8c9b8a98 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
ed5c3f4673 modified comments 2013-01-24 16:19:32 +00:00
Markus Fröschle
211947dfc5 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
99750ee379 fixed doubly definition of wait_() routines 2013-01-21 13:13:33 +00:00
Markus Fröschle
502892f474 avoid compiler warning due to bogus comparison 2013-01-21 11:06:35 +00:00
Markus Fröschle
70e1abcdbe removed unused function prototype 2013-01-20 12:04:17 +00:00
Markus Fröschle
074614e50c 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
3b5ad6577c automatic dependency generation did not work 2012-12-26 08:12:13 +00:00
Markus Fröschle
2347275314 improved SD-card speed 2012-12-20 22:08:24 +00:00
Markus Fröschle
28695059cf 2012-12-20 11:30:48 +00:00
Markus Fröschle
6cdd10bbd2 started implementing flashin routines 2012-12-19 16:26:31 +00:00
Markus Fröschle
10b9206d69 improved diagnostics 2012-12-19 07:30:23 +00:00
Markus Fröschle
b656206451 fixed comments 2012-12-18 23:49:01 +00:00
Markus Fröschle
893fdec15d 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
de629640f2 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
e0f0b2e921 eclipse problem fixed 2012-12-18 18:46:45 +00:00
Markus Fröschle
c000ae5fb0 simplified call of callback 2012-12-18 14:50:37 +00:00
Markus Fröschle
593447512d added more diagnostic messages 2012-12-18 14:44:09 +00:00
Markus Fröschle
7d9130bb8a added more diagnostic messages 2012-12-18 14:43:15 +00:00
Markus Fröschle
ef522eec62 fixed according to datasheet 2012-12-18 14:38:46 +00:00
Markus Fröschle
4951880adb 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
42bc2f7b10 fixed comments and added more diagnostic error messages 2012-12-17 21:15:12 +00:00
Markus Fröschle
7453be92ed parsing finished 2012-12-17 20:58:01 +00:00
Markus Fröschle
ebc0e86411 parsing S-records nearly finished, computing of checksum works 2012-12-17 20:14:55 +00:00
Markus Fröschle
f1ce2ab523 incorporated s19reader in build 2012-12-17 18:24:27 +00:00
Markus Fröschle
c2e2b6b1b1 added comments 2012-12-17 16:48:15 +00:00
Markus Fröschle
c2bb01a778 packed structures 2012-12-17 16:32:58 +00:00
Markus Fröschle
44278c096d started implementation of S-record reader 2012-12-17 16:30:43 +00:00
Markus Fröschle
a11bfaeaff some transfer timing tests: pretty slow. Fastest I can get is about 16 kBytes/s 2012-12-16 12:11:32 +00:00
Markus Fröschle
33a90d8d12 enabled faster clocking rate on cards that support it and did some transfer timing tests 2012-12-16 10:51:50 +00:00
Markus Fröschle
327e80785e started development of bootstrap flashing code load 2012-12-16 07:52:21 +00:00
Markus Fröschle
666ec769ea got rid of non-Coldfire defines 2012-12-16 06:45:28 +00:00