This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

microsd does not init

Hi, I followed the process of finit using stm32f4 discovery board (connected to microsd) and Kiel rtx, and received an error on finit but was able to format the microsd using the ARM in the next line. Anybody had such experience?

The only thing I did was change the pin assignment of cd (chip detect) from gpioh15 to gpioe15 because the chip did not have gpioh15.

Thx

Parents Reply Children
  • I have rewired the microsd card 100% to your suggested circuit and the same problem occurs i.e. finit fails but the formatting to fat32 works like a charm. Cannot write to the card either.

    I am using a 4GB SDHC card, do I need special configuration to use that?

    Stack is set to 0x400; heap size is 0x800
    My crystal is 8MHz, Keil RTX is set to 60MHz,file system is 168 MHz (same as system clock)

    Thx