现在N32G455 SDIO 驱动SD卡可以正确识别到卡的容量信息;list_device也可以查到SD0设备。
但是会出现[I/SDIO] switching card to high speed failed! 这个信息,而且无法挂载文件系统。测试读写功能也是不行。一直没找到原因。
还请大家帮忙看看是什么原因,谢谢。
sdio驱动文件见上传的drv_sdio.c和drv_sdio.h
msh />
\ | /
RT - Thread Operating System
/ | \ 5.0.0 build Nov 24 2022 17:44:30
2006 - 2022 Copyright by RT-Thread team
msh />[I/SDIO] SD card capacity 62334976 KB.
[I/SDIO] switching card to high speed failed!
msh />list_device
device type ref count
sd0 Block Device 0
wdt WDT Device 0
usart2 Character Device 2
pin Pin Device 0
msh />
更多回帖