STM32F4 SDIO FATFS SD Card burnout and no connection.
I have designed and build a PCB with an STM32F4 and an Micro SD card slot reader on it. It has happened to me that multiple times the board works for a while and then it either burns out the STM or damages the SD card, My problem only occur when an SD card is present and I have tried using multiple different brands but no luck. None of the traces are shorted and the continuity of them are fine. Whenever it is not damaged the STM cannot connect to the SD Card and it returns FR_NOT_READY but when the SDIO pins are set to GPIO outputs then I am able to see the pins working fine. My traces connecting to it include 20 ohm resistors and I activated all of the pin pull ups when generating the code.
Any help on how to start or where to look for is really appreciated!
