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
  • What does the assignment mean:-

    GPIOE->MODER &= ~0xC0000000;
    GPIOE->PUPDR &= ~0xC0000000;

    Does it equate to: two's complement of 0b11 ?
    Does it mean the first 2 pins are set to 1 i.e. pin15?
    Does the ~ supposed to indicate negative number or that the 1st digit is not negative?

    Thx

Reply
  • What does the assignment mean:-

    GPIOE->MODER &= ~0xC0000000;
    GPIOE->PUPDR &= ~0xC0000000;

    Does it equate to: two's complement of 0b11 ?
    Does it mean the first 2 pins are set to 1 i.e. pin15?
    Does the ~ supposed to indicate negative number or that the 1st digit is not negative?

    Thx

Children
No data