Commit Graph

1182 Commits

Author SHA1 Message Date
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
Markus Fröschle
a53d35f9b5 renamed functions to spi_...() and sd_card...() according to target 2012-12-04 08:49:21 +00:00
Markus Fröschle
16e7341a2a renamed functions to spi_...() and sd_card...() according to target 2012-12-03 12:02:55 +00:00
Markus Fröschle
5ffc7def57 removed a few other volatile declarations 2012-11-28 04:25:09 +00:00
Markus Fröschle
000e2a0a0a removed stupid "volatile void" declaration 2012-11-28 04:18:13 +00:00
Markus Fröschle
4f49909ce2 write diagnostic message if PIC initialization failed 2012-11-24 07:00:00 +00:00
Markus Fröschle
70acc87851 cosmetic changes 2012-11-20 22:27:47 +00:00
Markus Fröschle
153914b1b9 added comment 2012-11-20 22:21:49 +00:00
Markus Fröschle
4a2ed537db added comments 2012-11-19 16:48:17 +00:00
Markus Fröschle
eebd888aa2 use shorter sd_send_bytes() routines 2012-11-19 16:42:46 +00:00
Markus Fröschle
8693502294 use shorter sd_send_bytes() routines 2012-11-19 15:02:06 +00:00
Markus Fröschle
40804399d2 modified as inline functions 2012-11-19 14:19:10 +00:00
Markus Fröschle
9d31166c87 added optimized read and write routines 2012-11-19 14:00:00 +00:00
Markus Fröschle
6ac649f5d0 modified to accept new path (BaS_gcc) 2012-11-19 12:03:48 +00:00
Markus Fröschle
5a7a2b7a88 new include file sd_card.h 2012-11-19 06:38:02 +00:00
Markus Fröschle
45949351ed new include file sd_card.h 2012-11-19 06:37:17 +00:00
Markus Fröschle
2f8ecb7514 fixed eclipse build settings (scanner did not work right on MacOSX) 2012-11-19 06:22:37 +00:00
Markus Fröschle
acc3d12210 beefed up with Freescale's symbolic constants which hopefully makes the code more readable. 2012-11-18 20:57:16 +00:00
Markus Fröschle
953552ea81 updated comments 2012-11-18 10:28:21 +00:00
Markus Fröschle
eab62d6676 declared wait()-routines as inline void volatile since gcc decided to optimize out them sometimes. Do we need __attribute__(always_inline) ? 2012-11-18 10:10:38 +00:00
Markus Fröschle
6f9c349f72 deleted cfg directory which is not needed for gcc 2012-11-18 09:29:36 +00:00