fail to write on sd card on stm32 g491re
Hi all,
i am currently writing a program which is supposed to write data on an sd-card. This has worked until i changed my laptop (and cubeIDE version from 1.13 to 1.17) and until i added line 127 "HAL_GPIO_WritePin(GPIOB, GPIO_PIN_0, GPIO_PIN_SET);". However i don´t think this line changed anything about the sd-card.
Now the code stops working after mounting the sd card and before writing to it. I have added variables to see when it stops working in the attached code and it writes x=3 but stops before writing x=4.
I hope someone has an idea where the problem might be.
Best regards
Jan
