Commit Graph

398 Commits

Author SHA1 Message Date
Markus Fröschle
92f609473d ensured compiling on Mac OS X 2013-02-13 19:28:20 +00:00
Markus Fröschle
d54684496a added ROM/RAM translation addresses 2013-02-13 16:44:11 +00:00
Markus Fröschle
71efe29815 added ROM/RAM translation addresses 2013-02-13 16:42:57 +00:00
Markus Fröschle
d2da6b11ca added string handling functions for path manipulation 2013-02-13 16:34:27 +00:00
Markus Fröschle
dfc2b890cc added skeleton for flashcode testing from SD card 2013-02-13 16:06:32 +00:00
Markus Fröschle
e0e29fc622 made "clean" target remove all mapfiles and intermediate linker scripts 2013-02-13 11:01:23 +00:00
Markus Fröschle
9aa1c4f220 started to do actual flashing code 2013-02-06 13:17:49 +00:00
Markus Fröschle
a5e80dad1f deciphered SDRAM initialization values (SDCR and SDMR) with Coldfire preprocessor macros 2013-02-05 16:33:35 +00:00
Markus Fröschle
1fea7fe5da deciphered SDRAM initialization values (SDCFG1 and 2) with Coldfire preprocessor macros 2013-02-05 10:41:18 +00:00
Markus Fröschle
3fe9904a3a streamlined Makefile 2013-02-04 16:39:21 +00:00
Markus Fröschle
404b018a0a fixed Makefile, fixed dependencies and removed doubly defined symbols 2013-02-04 10:38:11 +00:00
Markus Fröschle
8a950406e4 added sector erase logic. Does not compile currently. 2013-02-01 16:11:18 +00:00
Markus Fröschle
75e9007f00 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
0e34080b4c modified comments 2013-01-24 16:19:32 +00:00
Markus Fröschle
55ba363fdb 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
b5fdfc1244 fixed doubly definition of wait_() routines 2013-01-21 13:13:33 +00:00
Markus Fröschle
d76aae85ee avoid compiler warning due to bogus comparison 2013-01-21 11:06:35 +00:00
Markus Fröschle
47e4651e0e removed unused function prototype 2013-01-20 12:04:17 +00:00
Markus Fröschle
a8dd94a440 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
1a0d09947a automatic dependency generation did not work 2012-12-26 08:12:13 +00:00
Markus Fröschle
2b33a868ad improved SD-card speed 2012-12-20 22:08:24 +00:00
Markus Fröschle
74b7072916 2012-12-20 11:30:48 +00:00
Markus Fröschle
023972adb0 started implementing flashin routines 2012-12-19 16:26:31 +00:00
Markus Fröschle
76260ae298 improved diagnostics 2012-12-19 07:30:23 +00:00
Markus Fröschle
4bcdc72171 fixed comments 2012-12-18 23:49:01 +00:00
Markus Fröschle
c4582b8473 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
a913cabf7e 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
0e13f20dca eclipse problem fixed 2012-12-18 18:46:45 +00:00
Markus Fröschle
d3d3c1de42 simplified call of callback 2012-12-18 14:50:37 +00:00
Markus Fröschle
b4a98be2af added more diagnostic messages 2012-12-18 14:44:09 +00:00
Markus Fröschle
3886c21df1 added more diagnostic messages 2012-12-18 14:43:15 +00:00
Markus Fröschle
46b2f188e2 fixed according to datasheet 2012-12-18 14:38:46 +00:00
Markus Fröschle
0b09d6ea3a 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
e310695495 fixed comments and added more diagnostic error messages 2012-12-17 21:15:12 +00:00
Markus Fröschle
b205f12da2 parsing finished 2012-12-17 20:58:01 +00:00
Markus Fröschle
add0976793 parsing S-records nearly finished, computing of checksum works 2012-12-17 20:14:55 +00:00
Markus Fröschle
0354a64974 incorporated s19reader in build 2012-12-17 18:24:27 +00:00
Markus Fröschle
412b8e3d2d added comments 2012-12-17 16:48:15 +00:00
Markus Fröschle
7089783085 packed structures 2012-12-17 16:32:58 +00:00
Markus Fröschle
6a7e864bf8 started implementation of S-record reader 2012-12-17 16:30:43 +00:00
Markus Fröschle
4fdb2d4489 fixed eclipse project settings 2012-12-17 08:56:22 +00:00
Markus Fröschle
286fde92f0 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
05f6a79afc 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
d9f3c5e3c5 started development of bootstrap flashing code load 2012-12-16 07:52:21 +00:00
Markus Fröschle
fd76c01fe6 got rid of non-Coldfire defines 2012-12-16 06:45:28 +00:00
Markus Fröschle
1088c3df62 renamed FCLK_xxx macros to SPICLK_xxx 2012-12-16 06:42:13 +00:00
Markus Fröschle
263e58a497 explicitely initialize SPI to start with slow clock 2012-12-16 06:39:58 +00:00
Markus Fröschle
2a3ac2b499 further cleaned up project 2012-12-16 06:36:21 +00:00
Markus Fröschle
3e3ec7f097 cleaned up project - removed unused files 2012-12-15 18:55:39 +00:00
Markus Fröschle
66a573cb32 fixed a few compiler warnings 2012-12-15 18:50:15 +00:00