cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to BluePill via Serial Port

xq1xq1xq1
Associate II

I am a newborn to this whole side of tech

I am running Windows 11

I have bluepill that I am trying to run the bluepill diagnostics from

https://mecrisp-stellaris-folkdoc.sourceforge.io/bluepill-diags-v1.640.html#bluepill-diags-v1-640

I am using a STLINKv2 USB clone and flashed the bluepill diagnostics to the bluepill

I am now attempting to connect to the bluepill to run the diagnostics

Initially I tried to use the connection via the STLinkv2 adapter but do not see a new COM port for it (Intel Active MGMT is COM3)

I then thought the mini-usb may be where I need to connect to but also with no joy in connecting or seeing a new COM port

Any idea what I am missing

16 REPLIES 16

https://community.st.com/t5/stm32-mcus-products/confirm-genuine-or-fake-bluepill-board/td-p/754612

You could write simple test code to blink an LED.

You could buy a NUCLEO board, and save a lot of your own time, if that's worth anything.

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

@Tesla DeLorean wrote:

You could buy a NUCLEO board, and save a lot of your own time


Absolutely!

And a Nucleo board would include a genuine ST-Link.

@xq1xq1xq1 especially as you say you are "a newborn to this whole side of tech" you would make your life a whole lot easier using genuine, supported products and tools.

Get to know how the products & tools should work before trying to debug questionable parts!

See this for some example tales of woe resulting from the bluepill fakery:

https://community.st.com/t5/stm32-mcus-products/configuring-uart-on-stm32f103c8t6-bluepill-kills-connection-to/m-p/668641/highlight/true#M242690

I didn't know about nucleo 

The project I'm working on requires a bluepill stm32f10 in a similar or smaller footprint. 

I did a search and only seemed to find L432 type chips on nucleo 

Any source for an equivalent stm32f10 chip is appreciated. 

 

I wrote a blink test that someone had given a guide on. 

The led comes on but does not blink. 

I'm unsure if this proves a fake chip or an error on my part 

 

You may attach the code here using <> and attach the .ioc file. We can check it. Alternatively you can connect it to Arduino ide and programme it.

If you feel a post has answered your question, please click "Accept as Solution".

@xq1xq1xq1 wrote:

The project I'm working on requires a bluepill stm32f10 in a similar or smaller footprint


Even so, the recommendation is that you should start on a Nucleo board - to gain basic experience & understanding of how the chip and the tools should work.

At the moment, your struggles are hampered by not having those basics - and compounded by the unknown and unsupported hardware.



The smallest Nucleo is the Nucleo-32:

AndrewNeil_0-1734603853955.png

https://www.st.com/en/evaluation-tools/stm32-nucleo-boards.html

that looks about the same size as your "pill"?

Thanks for your guidance. I'll work towards that.