Commit Graph

34 Commits

Author SHA1 Message Date
Markus Fröschle
c7ef84fcb6 SD card driver seems to be working stable now 2013-10-14 18:42:20 +00:00
Markus Fröschle
00065971c7 spi baudrate setting 2013-10-13 20:25:26 +00:00
Markus Fröschle
c144d1c017 spi baudrate setting 2013-10-13 20:24:03 +00:00
Markus Fröschle
77807d038a improved timing a bit 2013-10-13 19:58:12 +00:00
Markus Fröschle
39c2006586 made SD card working on plain EmuTOS 2013-10-12 16:22:51 +00:00
Markus Fröschle
2b446e52a5 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
2fd415ecd2 SD-Driver works again (with the same problems than before) 2013-08-08 19:46:02 +00:00
Markus Fröschle
884f9eedd4 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
ebc8f90743 CS_HIGH() and CS_LOW() mixed up? 2013-07-19 10:07:38 +00:00
Markus Fröschle
843ef46d81 fully renamed ty to card_type 2013-07-19 04:33:46 +00:00
Markus Fröschle
871f2717a9 fixed same for fast SPI clock 2013-07-18 08:51:55 +00:00
Markus Fröschle
559c8f3b96 Added missing SPI timing parameter MCF_DSPI_DCTAR_CSSCK. 2013-07-18 08:45:08 +00:00
Markus Fröschle
d122267841 modified write command to wait until card isn't busy anymore 2013-07-15 08:27:35 +00:00
Markus Fröschle
348be15dd6 more stable now but still errors 2013-07-15 06:14:00 +00:00
Markus Fröschle
257f23b55c fixed formatting 2013-07-14 19:34:00 +00:00
Markus Fröschle
7b320ac12c fixed formatting 2013-07-14 19:07:29 +00:00
Markus Fröschle
9539cf0c32 fixed (hopefully) SD-card busy-wait loops 2013-07-14 17:36:46 +00:00
Markus Fröschle
78d53264b7 fixed formatting 2013-07-07 13:05:26 +00:00
Markus Fröschle
3f2c9e5877 much more stable now but still I/O errors when copying large volumes 2013-05-13 19:41:55 +00:00
Markus Fröschle
f722fff16c seems to work now flawlessly 2013-05-13 17:11:26 +00:00
Markus Fröschle
3bfd0147bf 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
a6cc9dc5ff 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
be0ebdde26 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
65708ecfc7 changed SPI timing parameters to what firetos uses 2013-05-12 08:08:05 +00:00
Markus Fröschle
4b7dc9c5a0 works pretty reliable now under MiNT 2013-05-11 18:27:00 +00:00
Markus Fröschle
14ac2e71ba fixed doubly definition of wait_() routines 2013-01-21 13:13:33 +00:00
Markus Fröschle
c5106fbe91 improved SD-card speed 2012-12-20 22:08:24 +00:00
Markus Fröschle
38247c79a9 parsing finished 2012-12-17 20:58:01 +00:00
Markus Fröschle
6bfdcea1ba 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
613c55b7c6 got rid of non-Coldfire defines 2012-12-16 06:45:28 +00:00
Markus Fröschle
cc41e6e49b renamed FCLK_xxx macros to SPICLK_xxx 2012-12-16 06:42:13 +00:00
Markus Fröschle
21ff94f57c explicitely initialize SPI to start with slow clock 2012-12-16 06:39:58 +00:00
Markus Fröschle
e298e1b4c9 fixed a few compiler warnings 2012-12-15 18:50:15 +00:00
Markus Fröschle
68194329d2 merged SD_CARD branch 2012-12-15 18:25:15 +00:00