cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer crashes when connect STM32F401CCU6

Totouan
Associate III

I just get a STM32F401CCU6 board (a real one) but now when I try to connect my board on STM32CubeProgrammer the application crahses... and when is unplug my board the application work again fine... 

It also look like my board is stuck in bootloader mode ( only the red led lights up)

I don't know if someone could help me...

Thank you

Totouan_0-1730741266723.png

 

Totouan_1-1730741301033.png

 

15 REPLIES 15

F401 has a buillt-in bootloader in System ROM. It looks like it's recognized by CubeProgrammer. I frequently use CubeProg with BlackPills - they work (well, one didn't because of wrong soldering of the main crystal - fixed). No matter what kind of problem we get here, CubeProg should not display an empty message. So mu guess is it's a problem with CubeProg installation on this particular computer.

I would suggest to try the same on another computer.

CubeProg is not very reliable. If it works, it works. Frequently it doesn't. Sometimes it cannot start on some computer. Sometimes it reports false problems with the MCU.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice

@Totouan wrote:

 here is the link from the product i bought : https://www.amazon.fr/dp/B0CLD5FG62?ref=ppx_yo2ov_dt_b_fed_asin_title


Always best to provide a link at the start - so that everyone knows exactly what you're talking about

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

 

That's a 3rd-party board - not an ST board - and there's a risk that it may not have a genuine STM32.

Have you contacted RUIZHI for support? Do they claim that it should work with CubeProgrammer?

AndrewNeil_0-1730808163344.png

Do you have that "WeAct" bootloader?

 

Totouan
Associate III

Thank you for your help, I will try what you told me to do

And yes it is written WeAct on the back of the board if it is what you meant.

 

Totouan
Associate III

Euh I made a little mistake... I clicked on solved... possible to remove that ? 

Totouan
Associate III

Thank you