AnsweredAssumed Answered

STM32CubeMX + STM32F407VGT6 + SDIO + atollic : has it even been tested ?

Question asked by Legrand.Thomas.001 on Jan 12, 2015
Latest reply on Jan 16, 2015 by Legrand.Thomas.001
Hello,

I'm trying to do a very basic thing, emulate a USB flash drive through an Olimex P407 board.

Real data is stored on a micro sd card.

I used STM32CubeMX for the first time to generate the code (I used it for pin planning only so far).

The USB part seems to work not that bad, but the SD card driver is unusable so far.
Using non DMA calls I get CRC FAIL error, and using DMA, I get a DATA TIMOUT when checking for completion.

If I remove the completion check, then I get RSP TIMEOUT errors.

Are there known bugs in the HAL SD card driver ?

Thomas.

Outcomes