Page 2 of 2

Re: STM32F0 Bootloader Problem/Issue

Posted: Tue Dec 15, 2020 11:01 am
by kosovali
I understood. Thank you for your answer. So, I don't want to use STM32CubeProgrammer while programming my board from Arduino. I don't want to use an external debugger. Is this possible? If possible, how can I do?

Re: STM32F0 Bootloader Problem/Issue

Posted: Thu May 05, 2022 8:05 am
by darkspr1te
if you compile the arduino bootloader for your device and flash it via stmcube then you can use the arduino environment to re-program with new code without using the boot pin method and stmcube.

i dont use the arduino ide myself so i cannot 100% tell you what menu option you must choose to flash via bootloader
*edit*
after checking it seems arduino ide does not have a maple upload option for F0 series, only SWD,DFU and serial upload methods.


sorry,


darkspr1te

Re: STM32F0 Bootloader Problem/Issue

Posted: Tue Jun 28, 2022 6:44 pm
by deanalee
I don't want to use the boot pin every time I program my board.

Is there a way to do this?

If I write my own bootloader, can I solve the above problem?

Can I modify the embedded bootloader?

Re: STM32F0 Bootloader Problem/Issue

Posted: Tue Jun 28, 2022 7:19 pm
by GonzoG
You cannot do anything to hardware (embedded) bootloaders.
You can flash software bootloader that can do anything you want but it also needs a support in software that you use to flash programs to MCU.

Re: STM32F0 Bootloader Problem/Issue

Posted: Wed Jun 29, 2022 3:37 am
by ag123
use an st-lilnk, you need to connect wires (the SWD) pins, you can leave it connected if you prefer.

another way is to use a usb-uart dongle, the DTR/CTS signal can be 'abused' to toggle boot0 and reset. in the same way you could leave the pins connected if you prefer.