STM32F0 Bootloader Problem/Issue
Re: STM32F0 Bootloader Problem/Issue
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?
-
- Posts: 26
- Joined: Tue Jan 07, 2020 4:22 pm
Re: STM32F0 Bootloader Problem/Issue
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
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
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?
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
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.
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
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.
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.