cancel
Showing results for 
Search instead for 
Did you mean: 

J-LINK SEGGER with STM32CubeIDE

DYann.1
Senior II

Hello,

I would like to know How to configure the J-LINK Segger to work with STM32CubeIDE, after a little searching I found this video : https://www.youtube.com/watch?v=Rf-NKOoPYUc

But at 12:11 I can see this configuration in the video             
DYann1_0-1730723182830.png

But I don't have an Application directory :

DYann1_1-1730723371353.png

In this case, do you have an idea how to do it ? Thank you for your helps.

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
DYann.1
Senior II

Hi, thank you every body now I can work with my J-LINK . In fact in any case I

DYann1_0-1730810299382.png

I still have to connect USB_STLK even if I don't use ST-LINK (from what I understand).

DYann1_0-1730811102681.png

operation is correct

View solution in original post

38 REPLIES 38

That should be irrelevant to the J-Link.

All you need to configure for the J-Link would be in the Debug Configuration:

https://wiki.segger.com/STM32CubeIDE#Setting_up_J-Link_as_debug_Probe

 

PS:

https://wiki.st.com/stm32mcu/wiki/Category:STM32CubeIDE

https://www.st.com/resource/en/user_manual/dm00629856-.pdf#page=145

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Let me look at this link. THANKS

I have this picture

DYann1_0-1730725344729.png

I'll continue to see if there are any errors. And I have this picture

DYann1_1-1730725626410.png

So maybe you should follow the video

So what target device are you using?

What board is it on?

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

 

On resolving debugger connection issues:

https://wiki.segger.com/J-Link_cannot_connect_to_the_CPU

https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/ta-p/49693

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@DYann.1 wrote:
AndrewNeil_0-1730726384377.png

Is it a genuine JLink-EDU?  there's a lot of fakes about ...

Does it connect using Segger's tools?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Yes of course, It's a genuine JLink-EDU, I have a STM32L552E-EV Board.

DYann1_0-1730727600940.png

Does it connect using Segger's tools?

I just need to work with STM32CubeIDE for Debug and program

DYann.1
Senior II

So how to find

DYann1_0-1730728743036.png

How to switch to an equivalent of this window ? I think the STM32CubeIDE is the old version.


@DYann.1 wrote:

Yes of course, It's a genuine JLink-EDUrogram


I'm afraid that is by no means a foregone conclusion - there are many fake J-Links.

 


@DYann.1 wrote:

I just need to work with STM32CubeIDE for Debug and program


But confirming whether or not it works with Segger's own tools would tell you whether this is just a CubeIDE problem, or something more fundamental ...

 


@DYann.1 wrote:
AndrewNeil_0-1730729332584.png

How to switch to an equivalent of this window ?


That's the Project Explorer - you should see that to the left hand side when you first start CubeIDE

https://www.st.com/resource/en/user_manual/dm00598966-stm32cubeide-quick-start-guide-stmicroelectronics.pdf#page=4

https://www.st.com/resource/en/user_manual/dm00629856-.pdf#page=4

 

ST Video, How to use STM32CubeIDEhttps://www.youtube.com/watch?v=eumKLXNlM0U

Playlist, STM32CubeIDE basics

https://www.youtube.com/watch?v=gL8OoS9E1rw&list=PLnMKNibPkDnFCosVVv98U5dCulE6T3Iy8&pp=iAQB

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

What version of CubeIDE are you using?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.