Commit Graph

160 Commits

Author SHA1 Message Date
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
Markus Fröschle
5e64c5a8d7 renamed functions to spi_...() and sd_card...() according to target 2012-12-04 08:49:21 +00:00
Markus Fröschle
b3246e5f0c renamed functions to spi_...() and sd_card...() according to target 2012-12-03 12:02:55 +00:00
Markus Fröschle
04c83e68c1 removed a few other volatile declarations 2012-11-28 04:25:09 +00:00
Markus Fröschle
e7e5347c70 removed stupid "volatile void" declaration 2012-11-28 04:18:13 +00:00
Markus Fröschle
1da2567df4 write diagnostic message if PIC initialization failed 2012-11-24 07:00:00 +00:00
Markus Fröschle
9ecb9177dd cosmetic changes 2012-11-20 22:27:47 +00:00
Markus Fröschle
89bd397cb7 added comment 2012-11-20 22:21:49 +00:00
Markus Fröschle
32ed4084a0 added comments 2012-11-19 16:48:17 +00:00
Markus Fröschle
31b6e02a23 use shorter sd_send_bytes() routines 2012-11-19 16:42:46 +00:00
Markus Fröschle
c3f7e0e76e use shorter sd_send_bytes() routines 2012-11-19 15:02:06 +00:00
Markus Fröschle
5ee9f19b2c modified as inline functions 2012-11-19 14:19:10 +00:00
Markus Fröschle
0aeaa46bf5 added optimized read and write routines 2012-11-19 14:00:00 +00:00
Markus Fröschle
574dfe21bd modified to accept new path (BaS_gcc) 2012-11-19 12:03:48 +00:00
Markus Fröschle
84c707d132 new include file sd_card.h 2012-11-19 06:38:02 +00:00
Markus Fröschle
ed9133bce6 new include file sd_card.h 2012-11-19 06:37:17 +00:00
Markus Fröschle
cb20f7ff30 fixed eclipse build settings (scanner did not work right on MacOSX) 2012-11-19 06:22:37 +00:00
Markus Fröschle
d7600c620a 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
b23337a303 updated comments 2012-11-18 10:28:21 +00:00
Markus Fröschle
0b5e4aca81 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
3101237277 deleted cfg directory which is not needed for gcc 2012-11-18 09:29:36 +00:00