cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to configure eclipse to debug using the ST-Link v3 of the STM32G474-Nucleo board?

GIabi.1
Associate II

Good Morning,

I am currently using a Nucleo -board stm32g474re, but I am unable to configure eclipse to connect to the Nucleo using the ST-Link v3.

Is it possible to configure eclipse to debug using the ST-Link v3 of the Nucleo board?

In the past with Nucleo that had St-Link v2, I used a Segger tool to convert the St-Link to J-link.

Now with the new ST-link v3 this Segger tool is not compatible.

My goal is to be able to configure the project in eclipse so that I can use a simple USB cable to compile and debug.

Have any of you already had this problem and can you help me?

Thanks

4 REPLIES 4
michal.matejasko
Associate II

Have you found an answer or a solution to this question, in the meantime? Thank you, for sharing it! =)

EDIT:

So in the end I solved it like written here, using openOCD. Just adapted the target config file to use g4x.cfg

https://community.st.com/s/question/0D50X0000AkS53N/stlink-v3-eclipse

Get openOCD from:

https://gnutoolchains.com/arm-eabi/openocd/

To see registrers, you can get updated SVD file from here:

https://community.st.com/s/question/0D53W000004IkPu/most-up-to-date-svd-for-stm32g474

GIabi.1
Associate II

Hi, thank you for the answer.

No, in the end I used the j link.

thanks for the suggestion

How have you used the J-Link?

As far as I know, the on-board debugger ST-LINK/V3 is not supported by the Segger tool. Or am I wrong here?

GIabi.1
Associate II

Yes is true, the ST-Link v3 is not supported by Segger tool. I by-passed the ST link and i used the MIPI10 connector of nuceo board to link the j-link debugger (JTAG/SWD) of the Segger.