2022-09-14 09:04 AM
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 :
These pins are connected like this on the MCU :
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 :
Thanks
Solved! Go to Solution.
2022-09-22 04:46 AM
My fault, it was a misconnection of pin 31 to VDD. Changing from stm32wb55cc to stm32wb30
2022-09-14 09:17 AM
And what is connected to NRST?
2022-09-14 09:47 AM
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?
2022-09-14 10:50 AM
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
2022-09-14 11:00 AM
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.
2022-09-22 04:46 AM
My fault, it was a misconnection of pin 31 to VDD. Changing from stm32wb55cc to stm32wb30
2022-09-22 03:20 PM
There should also be a 100nF capacitor to ground...