Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi, I am trying to get the SD Card mount and have my mmc/spi [*], but I am not seeing the follow boot up message
mmc_spi spi2.0: assuming spi bus stays unshared!mmc_spi spi2.0: assuming 3.2-3.4 v slot power
mmc_spi spi2.0: sd/mmc host mmc0, no dma, no wp, no poweroff
My next question would be on my pin mapping. Is this pin map correct for the spi 3 wire?? SD_DAT[0] --> MISO SD_CMD <-- MOSI SD_CLK <-- SCLK SD_DAT[3] <-- SS_N I tried to mount it with no luck /> mount -t vfat /dev/mmcblk0p1 /mnt mount: mounting /dev/mmcblk0p1 on /mnt failed: No such device or address I read post to add the follow lines into the top level design. I tried to add them but compiled with errors, so I am not sure what I have to do, and if anyone know, please kindly let me know. .MISO_to_the_mmc_spi (SD_DAT), .MOSI_from_the_mmc_spi (SD_CMD), .SCLK_from_the_mmc_spi (SD_CLK), .SS_n_from_the_mmc_spi (SD_DAT3) Thanks in advance for any help I get from anyone.