Page 1 of 1

Is possible to program a blue pill at least via serial using only Free(as freedom) Software tools?

Posted: Tue Aug 13, 2024 9:29 am
by amreo
Hi :D!
I simply want to ask: is possible to program a STM32F103C6T8 board like blue pill via UART or serial using using only free/open source software tools?

I had already tried to ask this question on github(https://github.com/orgs/stm32duino/disc ... t-10314390) but nobody managed to give me a anwser.

Re: Is possible to program a blue pill at least via serial using only Free(as freedom) Software tools?

Posted: Tue Aug 13, 2024 10:06 am
by STM32ardui
You can type in "open source flash program stm32" for example at Google (or an open source search engine of your choice).

Already first result is a program called stm32flash.
I guess it is a command line tool. But don't ask me about it, I'm using STM32CubeProgrammer.

Re: Is possible to program a blue pill at least via serial using only Free(as freedom) Software tools?

Posted: Wed Aug 14, 2024 4:45 am
by ag123

Re: Is possible to program a blue pill at least via serial using only Free(as freedom) Software tools?

Posted: Thu Aug 15, 2024 9:24 pm
by amreo
STM32ardui wrote: Tue Aug 13, 2024 10:06 am You can type in "open source flash program stm32" for example at Google (or an open source search engine of your choice).

Already first result is a program called stm32flash.
I guess it is a command line tool. But don't ask me about it, I'm using STM32CubeProgrammer.
You are right. I forgot a requirements: I would like to use it through arduino ide and not directly.

Re: Is possible to program a blue pill at least via serial using only Free(as freedom) Software tools?

Posted: Thu Aug 15, 2024 9:49 pm
by GonzoG
You can. Just edit scripts to add/modify upload method.

Re: Is possible to program a blue pill at least via serial using only Free(as freedom) Software tools?

Posted: Fri Aug 16, 2024 6:34 am
by STM32ardui
amreo wrote: Thu Aug 15, 2024 9:24 pm You are right. I forgot a requirements: I would like to use it through arduino ide and not directly.
As user GonzoG already wrote, you can change script file. On my Win10-PC is a file stm32CubeProg.sh - I'm not sure, if it is only for STM32CubeProgrammer or also other uploader ...

Or: ArduinoIDe can store binary file and you use it outside of IDE with a upload program of your choice.