Skip to main content
RJoac.1
Associate II
September 14, 2022
Solved

Do you see an issue with this schematic for programming a STM32WB30CE on SWD?

Hi,

My problem is that I have "no stm32 traget found" message when I try to connect to a board by SWD through a ST-Link/v2 (no board identified). On oscilloscope, when we look on SWDIO pin, a little event happens when initializing connection on stm32cubeprogrammer but then nothing. Can it be a problem with the deisgn itself ? Just by the schematics, would you see a problem ? It's a stm32wb30ce

I have a custom board with this connections for SWD programming :

0693W00000SvNWBQA3.pngThese pins are connected like this on the MCU :

0693W00000SvNWVQA3.png 

Do you see a problem on the schematic to program this MCU by SWD ?

Here are the VDD parts in case the problem is there :

0693W00000SvNX9QAN.png 

Thanks

This topic has been closed for replies.
RJoac.1
RJoac.1Best answer
Associate II
September 22, 2022

My fault, it was a misconnection of pin 31 to VDD. Changing from stm32wb55cc to stm32wb30

6 replies

Piranha
Principal III
September 14, 2022

And what is connected to NRST?

RJoac.1
RJoac.1Author
Associate II
September 14, 2022

NRST is connected to a button (I'm using the adaptator for sensortile.box, it has a reset button and ST-Link/v2), the connectors for programming are inspired by the ones on the sensortilebox

Piranha
Principal III
September 22, 2022

There should also be a 100nF capacitor to ground...

Tesla DeLorean
Guru
September 14, 2022

Tying BOOT0 directly to ground provides no means of using that to get secondary access/control of the device. As would exposing PA9/PA10 to test points.

ST-LINK/V2 expects to see VTarget

Using STM32 Cube Programmer?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
RJoac.1
RJoac.1Author
Associate II
September 14, 2022

Hi, yes we're using stm32cubeprogrammer, with.the stlink/v2 and the ST adaptator for sensortilebox You're right about BOOT0, we will update the design to change that to a switch, we are looking on other possible flaws. We can expose PA9 and PA10 for the next design, are they necessary fo a programming method ?

Her're is the message we get on cubeprogrammer

" 17:27:48 : ST-LINK SN : 49FF69068278535348371981

 17:27:48 : ST-LINK FW : V2J39S7

 17:27:48 : Board    : --

 17:27:48 : Voltage   : 3.22V

 17:27:48 : Error: No STM32 target found!

"

Is the VTarget this 3.22 V ? NRESET is 3.22 V too.

RJoac.1
RJoac.1AuthorBest answer
Associate II
September 22, 2022

My fault, it was a misconnection of pin 31 to VDD. Changing from stm32wb55cc to stm32wb30