Hi Prelude
On 1/10/23, prelude wrote:
> I have now turned on the debug option, started the development board and
> reported the following error:
>
> k210_sdinitialize: Initializing bit bang SPI for the MMC/SD slot
> spi_setmode: mode=0
> k210_sdinitialize: Successfully initialized bit bang SPI fo
I have now turned on the debug option, started the development board and
reported the following error:
k210_sdinitialize: Initializing bit bang SPI for the MMC/SD slot
spi_setmode: mode=0
k210_sdinitialize: Successfully initialized bit bang SPI for the MMC/SD slot
k210_sdinitialize: Binding bit b
Hi prelude,
Please enable the debug (ERR, WARN e INFO) for MMC/SDCard:
[*] Memory Card Driver Debug Features
[*] Memory Card Driver Error Output
[*] Memory Card Driver Warnings Output
[*] Memory Card Driver Informational Output
It could give us more details about the issue.
BR,
A
I use spi_bitbang to drive the SD card on the k210 chip development board,
referring to the content in the sam_mmcsd.c file,
The following two configuration items are opened: CONFIG_SPI_BITBANG and
CONFIG_MMCSD_SPI,After compiling, programming and starting,
you can see /dev/mmcsd0, but when you