Commit Graph

930 Commits

Author SHA1 Message Date
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
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
Markus Fröschle
8c6306e0d7 merged SD_CARD branch 2012-12-15 18:25:15 +00:00
Markus Fröschle
5e0b5d39d1 was accidentally added to svn; deleted 2012-12-10 10:05:39 +00:00
Markus Fröschle
f6da3365cd was accidentally added to svn 2012-12-10 10:04:05 +00:00
Markus Fröschle
fd7f452860 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
041d31881c 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
703df3199e 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
6bf3a165b2 2012-12-09 18:17:07 +00:00
Markus Fröschle
c34bae81df added version numbering 2012-12-09 14:02:50 +00:00
Markus Fröschle
abac8b3627 flashing works with host-flash routine. Plugin doesn't for some reason 2012-12-09 10:36:50 +00:00
Markus Fröschle
570f61471d code does now flash with bdmctrl and runs with FireTOS and EmuTOS 2012-12-09 10:23:48 +00:00
Markus Fröschle
39a67d3382 can now flash through bdmctrl 2012-12-09 06:34:05 +00:00
Markus Fröschle
78e99605fd fixed hang in Firetos initialize_hardware() 2012-12-08 08:33:45 +00:00
Markus Fröschle
260d863d1c Added LGPL copyright headers to all files that did undergo significant changes during the development of BaS_gcc.
Didn't touch any files that weren't changed.
Added COPYING and COPYING.LESSER, the LGPL mandatory license files
2012-12-04 08:57:13 +00:00