2019-05-23 04:06 AM
programmed in IAR, for debugging im using stm32-utility,in this when i try to connect the target it shows can not connect to the target.
What i did in this is
1.connected the jtag pins with respective.
2.power supply 3.3v
3.NRST is high
4.BOOT0 is high
Solved! Go to Solution.
2019-05-23 11:35 AM
Just connect Vdd, GNB (all of the STM32 supply pins)
Connect only SWDIO and SWDCLK and try in SWD mode (2 wires)
If the STM32 is not programmed with a crazy code or a code which goes to low power stop mode, this should be enough.
The STM32 has internal backup clock (HSI).
If this is no go, grab an oscilloscope and check pin by pin. Brute force debug faster sometime.
2019-05-23 05:08 AM
Likely because the part isn't functioning, or you have the connections wrong.
Is this a custom board?
2019-05-23 05:41 AM
not a custom board. mounted stm32f103r8t7 separately on a breakout board and interfaced the stlink v2 through jtag pins as per the below connection.
2019-05-23 06:18 AM
I'm familiar with the JTAG header, it is what you've built that is at issue. Diagram THAT
Make sure you can measure voltage on Pin 1 and 2.
If you need a 3.3V supply connect in Pin 19
Make sure ALL supply pins are wired up to the STM32
2019-05-23 11:35 AM
Just connect Vdd, GNB (all of the STM32 supply pins)
Connect only SWDIO and SWDCLK and try in SWD mode (2 wires)
If the STM32 is not programmed with a crazy code or a code which goes to low power stop mode, this should be enough.
The STM32 has internal backup clock (HSI).
If this is no go, grab an oscilloscope and check pin by pin. Brute force debug faster sometime.
2019-05-23 10:27 PM
Thank you sir.I'm trying on it.
2019-05-24 06:52 AM
Thanks for both of you.I detected the stm32 via st-link utility with your help.