I'm working on a project, where I need to store datas on an SD card. I use an STM32L443 microcontroller. The controller communicate with another device through UART communication, and save the datas to the SD card. The program works correctly with a no name SD card (I don't know the manufacturer, because I get it from smoebody). If I change the SD card to a 8GB Sony SD card, or to a Maxell 4GB SD card the controller doesn't recognize the card sometimes. Somtimes recognize, somtimes don't recognize. When I connect to the Debugger and go to debug mode, the program works fine and recognize the cards everytime.
In this situation I don't debug the problem because the problem doesn't present in debug mode. Can You help me? I think that the NRST pin influence it, but if this pin influence why don't influence with the no name SD card?
The project was generated form STM32CubeMx and the programming environment is System Workbench for STM32. I know that similar question exist in this forum, but he answers that I get there, isn't help for me.
Please help me.
Thank You for the answers,