Commit Graph

38 Commits

Author SHA1 Message Date
Markus Fröschle
33240aa13d reduced wait times to more reasonable values in order to reduce boot lag if no card is inserted 2013-10-19 06:15:58 +00:00
Markus Fröschle
427ba872d2 made wait times for card response more reasonable 2013-10-16 06:23:36 +00:00
Markus Fröschle
35285dfede modified clocking to fit slower cards 2013-10-15 19:53:25 +00:00
Markus Fröschle
a281ee498b removed unused variable 2013-10-14 18:43:29 +00:00
Markus Fröschle
12629ec3b7 SD card driver seems to be working stable now 2013-10-14 18:42:20 +00:00
Markus Fröschle
524f2f5f0a spi baudrate setting 2013-10-13 20:25:26 +00:00
Markus Fröschle
697a0aa86c spi baudrate setting 2013-10-13 20:24:03 +00:00
Markus Fröschle
2942f08534 improved timing a bit 2013-10-13 19:58:12 +00:00
Markus Fröschle
5a55faa169 made SD card working on plain EmuTOS 2013-10-12 16:22:51 +00:00
Markus Fröschle
45e6f56554 removed initialization of MCF_PAD_PAR_DSPI since this is already done in sysinit.c 2013-08-12 11:55:42 +00:00
Markus Fröschle
eec7a8fe43 SD-Driver works again (with the same problems than before) 2013-08-08 19:46:02 +00:00
Markus Fröschle
55d0824ed3 simplified MMU initialization
removed (apparently unneeded) MMU TLBs
added source file templates for SPI dma routines
2013-07-28 07:19:57 +00:00
Markus Fröschle
76634ec74c CS_HIGH() and CS_LOW() mixed up? 2013-07-19 10:07:38 +00:00
Markus Fröschle
7982d415ef fully renamed ty to card_type 2013-07-19 04:33:46 +00:00
Markus Fröschle
8316c31f2a fixed same for fast SPI clock 2013-07-18 08:51:55 +00:00
Markus Fröschle
fe0dd67376 Added missing SPI timing parameter MCF_DSPI_DCTAR_CSSCK. 2013-07-18 08:45:08 +00:00
Markus Fröschle
ff83631760 modified write command to wait until card isn't busy anymore 2013-07-15 08:27:35 +00:00
Markus Fröschle
0144e594c5 more stable now but still errors 2013-07-15 06:14:00 +00:00
Markus Fröschle
fc7967b4dc fixed formatting 2013-07-14 19:34:00 +00:00
Markus Fröschle
61e2d599cf fixed formatting 2013-07-14 19:07:29 +00:00
Markus Fröschle
0af49237fc fixed (hopefully) SD-card busy-wait loops 2013-07-14 17:36:46 +00:00
Markus Fröschle
3b192dc674 fixed formatting 2013-07-07 13:05:26 +00:00
Markus Fröschle
9f3167d2b2 much more stable now but still I/O errors when copying large volumes 2013-05-13 19:41:55 +00:00
Markus Fröschle
c2e4e830be seems to work now flawlessly 2013-05-13 17:11:26 +00:00
Markus Fröschle
1874686b84 read result of DSPI receiver fifo only after transfer has been finished completely (check with status register) 2013-05-13 14:21:35 +00:00
Markus Fröschle
73b3185497 read result of DSPI receiver fifo only after transfer has been finished completely (check with status register) 2013-05-13 14:15:10 +00:00
Markus Fröschle
2ecd8c8a2f read result of DSPI receiver fifo only after transfer has been finished completely (check with status register) 2013-05-13 14:06:36 +00:00
Markus Fröschle
d3a40de4ce changed SPI timing parameters to what firetos uses 2013-05-12 08:08:05 +00:00
Markus Fröschle
b041d6197c works pretty reliable now under MiNT 2013-05-11 18:27:00 +00:00
Markus Fröschle
b5fdfc1244 fixed doubly definition of wait_() routines 2013-01-21 13:13:33 +00:00
Markus Fröschle
2b33a868ad improved SD-card speed 2012-12-20 22:08:24 +00:00
Markus Fröschle
b205f12da2 parsing finished 2012-12-17 20:58:01 +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
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
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