bouffalolab / bouffalo_sdk

BouffaloSDK is the IOT and MCU software development kit provided by the Bouffalo Lab Team, supports all the series of Bouffalo chips. Also it is the combination of bl_mcu_sdk and bl_iot_sdk
Apache License 2.0
349 stars 121 forks source link

SDH FATFS in poll mode doesn't work on D0 #75

Open alexhorner opened 1 year ago

alexhorner commented 1 year ago

When running the FATFS demo on D0, CMD17 fails with a timeout when trying to read from the SD card.

M0 is currently running the same FATFS demo but with everything but the init code removed, so the init should start up. I have also tried it with just the dualcore hello world on D0, and the bl808_linux low loader. All have the same result.

FATFS is in the default polling, no interrupts, mode.

Is it possible to get a proper official demo for SDH on D0 with polling mode please, or any suggestion as to what an immediate problem may be if there is an obvious, known answer?

Thanks

davidawesome02 commented 1 year ago

When running the FATFS demo on D0, CMD17 fails with a timeout when trying to read from the SD card.

M0 is currently running the same FATFS demo but with everything but the init code removed, so the init should start up. I have also tried it with just the dualcore hello world on D0, and the bl808_linux low loader. All have the same result.

FATFS is in the default polling, no interrupts, mode.

Is it possible to get a proper official demo for SDH on D0 with polling mode please, or any suggestion as to what an immediate problem may be if there is an obvious, known answer?

Thanks

Can you describe how you got the fatfs example working, nothing works on any Ox64 (same bl808 chip)