We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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