DIR-300+SD Card

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From Russian to

Threaded View
Hello!




https://forum.openwrt.org/viewtopic.php?id36%986&p=2




SD Pin1(CS) - GPIO0 (WPS Switch)
SD Pin2(DI) - GPIO12 (Green WAN LED)
SD Pin3(GND)
SD Pin4(+3.3V)
SD Pin5(CLK) - GPIO8 (Amber Power LED)
SD Pin6(GND)
SD Pin7(DO) - GPIO13 (WPS LED)



http://wiki.openwrt.org/doc/howto/mmc_over_gpio



GPIO0



https://forum.openwrt.org/viewtopic.php?pid22%7538#p227538




[13258.320000] gpio-mmc: Failed to request mmc_spi module.
[13258.340000] mmc_spi spi32766.0: ASSUMING 3.2-3.4 V slot power
[13258.350000] mmc_spi spi32766.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
[13258.360000] gpio-mmc: MMC-Card "mmc-card" attached to GPIO pins di12%,
do13%, clk=8, cs=0
[13258.410000] mmc_spi spi32766.0: setup: unsupported mode bits 4
[13258.420000] mmc_spi spi32766.0: can't change chip-select polarity















DIR-300+SD Card
Hello Sergey!










Sasha  http://dr-shost.com http://shostatsky.narod.ru [Team OS/2][Team EDSMO]




DIR-300+SD Card
Hello, Sasha!














  



DIR-300+SD Card
Hello Sergey!










Sasha  http://dr-shost.com http://shostatsky.narod.ru [Team OS/2][Team EDSMO]




DIR-300+SD Card
Hello, Sasha!







http://tinyhack.com/2010/04/04/d-link-dir-300-serial-port-and-sd-mod/


- Cable and soldering
- Make sure the SD Card supports SPI. I have an old microSD (64mb) card that
doesn’t support SPI mode, after using another card that I have, it works.
- Curently Iam using SD card with small capacity (512 Mb), I don’t know
if the driver supports SDHC card or not. So try with SD Card less than 2 Gb.















DIR-300+SD Card
Hello, Sasha!







https://lkml.org/lkml/2014/4/14/687



openwrt.  







DIR-300+SD Card
Hello, Sasha!








http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus





http://elm-chan.org/docs/mmc/mmc_e.html








https://lkml.org/lkml/2014/4/14/687






Site Timeline