cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F401 + SWO + ST-LINK/V2 ISOL

yoann LBY
Senior
Posted on June 28, 2017 at 18:18

hi,

i am using STM32F401RBT6 (LQFP64) and i can't connect ST-LINK/V2 ISOL (FW V2J27S6) to program my board.

i always have 'no target connected'. i tested with SMT32_utility and MDK-ARM.

pin60 boot0 = 0, pin7 NRST = 1, pin46 TMS to ST-LINK/V2 pin7, pin49 TCK to ST-LINK/V2 pin9, pin55 SWO to ST-LINK/V2 pin13, gnd to ST-LINK/V2 pin4 and i tried also 3.3V to ST-LINK/V2 pin1. 

i checked power supply 3.3V on my device (pin 13,19,32,48,64) gnd (pin 12,18,31,47,63). i have capacitor to gnd on pin30. voltage is 1.2V.

Where is my problem? is missing something?

http://www.st.com/content/ccc/resource/technical/document/user_manual/65/e0/44/72/9e/34/41/8d/DM00026748.pdf/files/DM00026748.pdf/jcr:content/translations/en.DM00026748.pdf

http://www.st.com/content/ccc/resource/technical/document/datasheet/9e/50/b1/5a/5f/ae/4d/c1/DM00086815.pdf/files/DM00086815.pdf/jcr:content/translations/en.DM00086815.pdf

i have nucleo_F401RE board and i tried to connect ST-LINK/V2 ISOL to CN4 with CN2 jumper removed = same problem.

ST-LINK/V2 ISOL works good because i program custum board with STM32F439.  

Please i need support!

thanks

Yoann 

#stm32f401-+-swo-+-st-link/v2-isol
3 REPLIES 3
yoann LBY
Senior
Posted on June 28, 2017 at 18:24

0690X00000603okQAA.jpg
andy b
Senior
Posted on June 29, 2017 at 16:48

Hi yoann

I've had problems like this with a custom board that I made.What i can tell you is that you only need 3 pins at minimum to program your board (considering you short the voltage reference for the st utitility ISOL with its own 3v) GND, SWIO and SWCLK.But the problem in my case was bad wiring,I had made my reprogramming wires too long (try to keep it under 3-3 inches or about 7 centimeters).Also try not to use the classic protoboard wires that you get from china, they are fine for prototyping but not for stable high speed communication.I highly recommend you make good custom wires for this. Don't use solid wire since they aren't very flexible and might break inside if you twist them around too much.Just as a reference I've only used a st-link from a discovery board (with the jumpers off) to reprogram my board.I don't have experience with st utility ISOL but I know some people that have used it and apparently it works fine.

Good luck

-Andy
yoann LBY
Senior
Posted on June 30, 2017 at 09:37

hi,

the problem was ST-LINK/V2. pinout or hardware not compatible with nucleo board and custom board. i works with ULINK2 adaptor debug.

Pins used are:

TMS_SWDIO

TCK_SWCLK

NRST

and GND

ST, what is the problem is ST-LINK/V2? ISOL is the problem?

Thks

Yoann