cancel
Showing results for 
Search instead for 
Did you mean: 

use SWD connection on discoveryL board and J-link

gfoujanet
Associate II
Posted on January 11, 2013 at 17:43

Hi,

For the moment I'am using the STM32l discovery card (stm32l152R8 chip). I write a programm to toggle led and i donwload it with st-link V2 which is integratted on the board.It's working. Now I would like to connect with J-Link(Segger) with SWD connection on discovery board. Is it possible?. On the electrical scheme there are zener diode, but on the discovery board there is any zener diode.   Is it normal?

For the moment, the JFlash-arm software recognizes the J-link. But when I want to read memory , there is an error.

If you want more explanation, say me.

Thanks you, 

#stm32-discovery-jtag-swd-j-link
3 REPLIES 3
Posted on January 11, 2013 at 20:03

I would probably look to inject SWD signals via the CN3 jumper location (Target side clock/data). You would also want to check the SB (Solder Bridge) options on the board/schematic to ensure that the ST-LINK side doesn't interfere.

Check the NRST connection.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
gfoujanet
Associate II
Posted on January 14, 2013 at 11:11

Hi,

Today, I try to connect directly with CN3 connector. I weld a bridge on SB6,SB8,SB10 and SB12, but it doesn't work.  The VDD and the ground are OK. 

I try to connect directly SWCLK and SWDIO on PA14 and PA13 respectively. But it' doesn't work.

Do you thre is a jumper to switch ON/OFF?

The NRST is not mandatory with SWD, I think...

Thank you very much.

GF.

gfoujanet
Associate II
Posted on January 14, 2013 at 13:55

Ok, it's working.

the solution is:

Jumper CN3 ofF.

SB6 and SB10 are enabled.

I had some problem, especially with a ribbon cable.

Thanks,

GF.