Hi all,
Years ago I have programmed a blue pill to function as my door alarm unit, which is running smoothly for years. Now I want to duplicate the functionality of this to a new blue pill. I have the source code, but it no longer compiles because it relies on old libraries of which I don't remember the versions. I have tried updating the code to work with the latest libraries, but reading the SD seems to be very slow. I don't intend to change the functionalities, so I figured the best way is to just make an exact copy of the original. I have done this with avrdude before with arduino boards but never with stm32's. Is there a way to download the firmware and upload it to another blue pill? I'm using CP2102 serial.
Best regards
Downloading firmware from STM32F103C8 Blue PIll
Downloading firmware from STM32F103C8 Blue PIll
OK digged in the STM32Cube documentation, and it's actually quite straight forward
Go to full postCode: Select all
cd "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin"
.\STM32_Programmer_CLI.exe -c port=COM7 -r 0x08000000 65536 C:\read.bin
.\STM32_Programmer_CLI.exe -c port=COM7 -w C:\read.bin 0x08000000
Re: Downloading firmware from STM32F103C8 Blue PIll
OK digged in the STM32Cube documentation, and it's actually quite straight forward
Code: Select all
cd "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin"
.\STM32_Programmer_CLI.exe -c port=COM7 -r 0x08000000 65536 C:\read.bin
.\STM32_Programmer_CLI.exe -c port=COM7 -w C:\read.bin 0x08000000
Re: Downloading firmware from STM32F103C8 Blue PIll
I want to know what upload method did you select?
-
- Posts: 1
- Joined: Thu Feb 16, 2023 3:15 am
Re: Downloading firmware from STM32F103C8 Blue PIll
Making an identical duplicate of the original seems like the best course of action as I have no plans to alter the functionality. I've used avrdude to accomplish this in the past with Arduino boards, but I've never used a stm32. Which upload technique did you choose?
geometry dash subzero
geometry dash subzero
Last edited by originalcooing on Mon Jul 01, 2024 2:38 am, edited 1 time in total.
Re: Downloading firmware from STM32F103C8 Blue PIll
Same for me. In the past, when working with Arduino boards, I utilized avrdude to achieve this.