Hello,
With STM Cube MX I have generated a template code for my STM32F103C8.
If in MDK-ARM uVision I write a simple Blink program and flash it to my device with boot0 to high, I can upload the code without errors. However, it does not start until I manually remove the boot0 pin, put it to 0, and press reset (if with boot0=1 I start a debug session after flashing, nothing happens on the device). Only then I see the result of my code. In this mode, I am unable to flash any program, so I have to manually put it back to boot0=1 again.
How can I program my device and run it immediately, without changing pins every time?
Kind regards,
Max