Skip to main content
Sasha2
Associate
Nov 9, 2019 5:44 PM UTC
Question

Writing a program to the controller

Hi). I made a minimal design for STM32WB55 on board. This board has 3 program pads. There ara GND, SWDIO, SWCLK. Сontroller current is 11mA at the factory program. I try to flash the controller using these contacts, but nothing works. I use ST_LINK (STM32F407 discovery) and ST_LINK Utility. How i can flash this controller?

This topic has been closed for replies.

9 replies

Nov 9, 2019 5:57 PM UTC

Hi !

How about 4 contact: Vdd ?

Regards,

Vyacheslav.

Sasha2
Sasha2Author
Associate
Nov 9, 2019 6:18 PM UTC

thanks for the answer Vyacheslav

I feed the controller from the li-ion battery through the LDO (3V3)

Nov 9, 2019 6:24 PM UTC

Sasha, Vdd is needed in order for the stlink to know that the controller is working, such as Vref. In other words: : the voltage does not go to the controller but from it.

"The power supply from the application board is connected to the ST-LINK to ensure signal compatibility between both boards."

Best,

Vyacheslav.

Tesla DeLorean
Guru
Nov 10, 2019 4:06 PM UTC

The stand-alone ST-LINK needs it's buffer powered by the Target, the one on the F407-DISCO doesn't

Check VDDA supply. Check state of NRST pin. Check part orientation.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Sasha2
Sasha2Author
Associate
Nov 9, 2019 7:27 PM UTC

Thanks Vyacheslav, I'll try this.

Sasha2
Sasha2Author
Associate
Nov 9, 2019 7:36 PM UTC

sorry Vyacheslav, do you speak Russian or Ukrainian?

Nov 9, 2019 7:49 PM UTC

Yes, I answered in "My messages".

Sasha2
Sasha2Author
Associate
Nov 11, 2019 2:03 PM UTC

Thank you all for your help. Problem resolved. I used USB st_link programmer and all is worked. ST_LINK in STM32F407 Discovery did not support the controller as I understand.

Ozone
Principal
Nov 11, 2019 2:38 PM UTC

You might try to update the firmware of the onboard ST-Link on the F407-Discovery as well.