Commit Graph

1402 Commits

Author SHA1 Message Date
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
Markus Fröschle
f283de018e renamed FCLK_xxx macros to SPICLK_xxx 2012-12-16 06:42:13 +00:00
Markus Fröschle
52a4dab4dd explicitely initialize SPI to start with slow clock 2012-12-16 06:39:58 +00:00
Markus Fröschle
105267ca7f further cleaned up project 2012-12-16 06:36:21 +00:00
Markus Fröschle
c8dfa5474d cleaned up project - removed unused files 2012-12-15 18:55:39 +00:00
Markus Fröschle
b20b030076 fixed a few compiler warnings 2012-12-15 18:50:15 +00:00
Markus Fröschle
e52401b024 merged SD_CARD branch 2012-12-15 18:25:15 +00:00
Markus Fröschle
25ac96a4d0 was accidentally added to svn; deleted 2012-12-10 10:05:39 +00:00
Markus Fröschle
3f822f015f was accidentally added to svn 2012-12-10 10:04:05 +00:00
Markus Fröschle
62d6486227 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
842a33ebfd 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
7975ee35b2 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
55d0e0b9fb 2012-12-09 18:17:07 +00:00
Markus Fröschle
f124b71092 added version numbering 2012-12-09 14:02:50 +00:00
Markus Fröschle
a6eb9ced64 flashing works with host-flash routine. Plugin doesn't for some reason 2012-12-09 10:36:50 +00:00
Markus Fröschle
981db7e1c8 code does now flash with bdmctrl and runs with FireTOS and EmuTOS 2012-12-09 10:23:48 +00:00
Markus Fröschle
f6ebb95116 can now flash through bdmctrl 2012-12-09 06:34:05 +00:00
Markus Fröschle
be7c0111f6 fixed hang in Firetos initialize_hardware() 2012-12-08 08:33:45 +00:00
Markus Fröschle
7d60d34f90 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