I am testing the microSD card. The weird thing is that it works well in debug mode, but doesn't work in normal mode.
I set the breakpoint to a line at the very end in debug mode, before which the operation of microSD card is done. In debug mode, it works very well. But when I quit the debug mode, the sd card doesn't work.
I am using keil, uvision as the IDE. The chip is STM32F405RGT6;
What should I do?