Commit Graph

1006 Commits

Author SHA1 Message Date
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
Markus Fröschle
b257a93211 packed structures 2012-12-17 16:32:58 +00:00
Markus Fröschle
55c2f783b2 started implementation of S-record reader 2012-12-17 16:30:43 +00:00
Markus Fröschle
53842173cb fixed eclipse project settings 2012-12-17 08:56:22 +00:00
Markus Fröschle
b32848ebbd 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
6bfdcea1ba 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
88f3708506 started development of bootstrap flashing code load 2012-12-16 07:52:21 +00:00
Markus Fröschle
613c55b7c6 got rid of non-Coldfire defines 2012-12-16 06:45:28 +00:00
Markus Fröschle
cc41e6e49b renamed FCLK_xxx macros to SPICLK_xxx 2012-12-16 06:42:13 +00:00
Markus Fröschle
21ff94f57c explicitely initialize SPI to start with slow clock 2012-12-16 06:39:58 +00:00
Markus Fröschle
0fd987e847 further cleaned up project 2012-12-16 06:36:21 +00:00
Markus Fröschle
5b7ee343e9 cleaned up project - removed unused files 2012-12-15 18:55:39 +00:00
Markus Fröschle
e298e1b4c9 fixed a few compiler warnings 2012-12-15 18:50:15 +00:00
Markus Fröschle
68194329d2 merged SD_CARD branch 2012-12-15 18:25:15 +00:00
Markus Fröschle
499c6af355 was accidentally added to svn; deleted 2012-12-10 10:05:39 +00:00
Markus Fröschle
a1c1b039b4 was accidentally added to svn 2012-12-10 10:04:05 +00:00
Markus Fröschle
1a718db4aa cleaned up project:
-moved all includes into "include" directory
-extracted "wait...()"-routines into separate files
2012-12-10 10:01:49 +00:00
Markus Fröschle
b2f1b22335 cleaned up project:
-moved all includes into "include" directory
-extracted "wait...()"-routines into separate files
2012-12-10 09:44:19 +00:00
Markus Fröschle
51561769c6 cleaned up project:
-moved all includes into "include" directory
-extracted "wait...()"-routines into separate files
2012-12-10 09:30:27 +00:00
Markus Fröschle
97c82f6345 2012-12-09 18:17:07 +00:00
Markus Fröschle
89b3d2980e added version numbering 2012-12-09 14:02:50 +00:00
Markus Fröschle
9840bf0640 flashing works with host-flash routine. Plugin doesn't for some reason 2012-12-09 10:36:50 +00:00
Markus Fröschle
25d341b48f code does now flash with bdmctrl and runs with FireTOS and EmuTOS 2012-12-09 10:23:48 +00:00
Markus Fröschle
77f0164502 can now flash through bdmctrl 2012-12-09 06:34:05 +00:00
Markus Fröschle
182ae661ce fixed hang in Firetos initialize_hardware() 2012-12-08 08:33:45 +00:00