cancel
Showing results for 
Search instead for 
Did you mean: 

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

RJoac.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
RJoac.1
Associate II

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

View solution in original post

6 REPLIES 6
Piranha
Chief II

And what is connected to NRST?

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
Up vote any posts that you find helpful, it shows what's working..

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

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
Associate II

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

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