I have the following issue:
I start my debugger in VS and i mount the sd card. Write some files and directories as my program runs. Now when i press stop in visual studio, the sd card is not unmounted, which results is a loss of files. But the worst thing is that when i press f5 again in VS, the program won’t start and visual studio keeps saying that the device is not in an initialized state, rebooting…
The only way to be able to use the board again is to disconnect the power supply (usb).
My question is, do i have to unmount the sd card EVERY time i wrote something to it. or is it possible to trigger the unmounting method when you press pause in visual studio??