EEVblog Electronics Community Forum
Electronics => Beginners => Topic started by: ME on March 05, 2025, 12:22:09 am
-
I have just uploaded fredzo's latest firmware from this thread https://www.eevblog.com/forum/testgear/10mhz-gpsdo-by-bh3sap/125/ (https://www.eevblog.com/forum/testgear/10mhz-gpsdo-by-bh3sap/125/)
It was a new blu pill so did a full chip erase before uploading the bin file from github, All i get now on powering on my gpsdo is a blank display, do i need to upload a bootloader or similar first?.
-
Are you sure that MCU is not a clone?
How did you set the jumpers?
-
The blupill was from aliexpress so guess its a fake,i tried the jumpers in all positions,I am trying to flash new firmware to the blupill in my bh3sap gpsdo.
-
You could try this to check if the processor is "fake":
https://www.eevblog.com/forum/microcontrollers/stm32f103c8-diagnostic-bootable-binary-freely-available/ (https://www.eevblog.com/forum/microcontrollers/stm32f103c8-diagnostic-bootable-binary-freely-available/)
Some STM32 code will run just fine on the "fake" processors that get remarked as ST parts, but I don't know anything at all about that gpsdo project in that regard.
Fake or not, Blue Pill boards are not known for their high quality workmanship. I had one with solder bridging some of the processor pins (fortunately noticed before I did anything with it), and another had dodgy soldering that left one of the boot pins floating regardless of jumper setting.
-
Is there a programer for them that runs on ubuntu with a gui?.
-
I tried to program the gpsdo original bp but its connection fails as if its fake, If its fake how was it programed in the first place?.
-
Viagra. Programable? Who would have thought.
-
Is there a programer for them that runs on ubuntu with a gui?.
Yes there is a programming software with a GUI that runs on Linux: https://www.st.com/en/development-tools/stm32cubeprog.html (https://www.st.com/en/development-tools/stm32cubeprog.html)
Get yourself a ST-link clone and connect it the the SWD port of the bluepill. https://www.aliexpress.com/item/1823628996.html (https://www.aliexpress.com/item/1823628996.html)
Even if it is a clone MCU, a lot of code will still run on it.
Edit: When programming with the ST-link, the jumper settings don't matter while programming, but make sure to have them set to run the user program when done. With the boot pins you can start the MCU in system programming mode, in which it allows you to load programs to the FLASH via a serial connection on UART1.
-
Fake or not, Blue Pill boards are not known for their high quality workmanship. I had one with solder bridging some of the processor pins (fortunately noticed before I did anything with it), and another had dodgy soldering that left one of the boot pins floating regardless of jumper setting.
You must have had bad luck then. I have a lot of bluepills from Aliexpress and have not have these kind of problems with them.
-
Is there a programer for them that runs on ubuntu with a gui?.
yes, you can use stlink-gui on linux:
sudo apt install stlink-gui
(https://i.imgur.com/BHOrlKn.png)
I tried it on Chinese ST-LINKv2 from aliexpress with blue-pill F103 and with black-pill G431, it works ok