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

38 REPLIES 38

@DYann.1 wrote:

 I have a STM32L552E-EV Board.


That board has an ST-LINK/V2-1 is integrated on the board - why not use that?

At least until you're familiar with how to set up a project.

Note that Segger has a utility to convert an onboard ST-Link into a J-Link:

https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/

 

Always you give me a lots of links that have nothing to do with my question.

DYann1_0-1730730125711.png

You have my answer before. Please answer my question avoid sending the links.

Thank you for your understanding.

You asked, "How to switch to an equivalent of this window?"

I answered that question.

 

There is something I didn't understand

I have this picture and I don't have the Application directory

DYann1_0-1730730852541.png

where did you see the Application directory ?

Sorry - you asked about a window - not a directory.

It's entirely up to you how you name and structure your folders - it does not affect the configuration of your debug probe (whether it's a J-Link or an ST-Link).

 

The links I gave you are to the ST manuals and training for CubeIDE - you really need to take some time to study them to understand how the tool works, and how to use it effectively.

Yes I have already made the evaluation card work with J-LINK but with USB_STLK, but for my projet I've another card that doesn't have US_STLK (for consumption and card size). And I would like to work only with J-LINK for DEBUG and programming without using USB_STLK. This video is from a year ago so there is not much change in my opinion.

And you need really need to understand people well instead of sending links haphazardly that everyone can find without you.

After at least 10 messages you started to understand the problem without giving any concrete answer other than bogus links. You have a lot of progress to make


@DYann.1 wrote:

I have this picture and I don't have the Application directory

DYann1_0-1730730852541.png


That is the default folder structure that CubeIDE creates.

Here is a description of what is in each of those folders:

https://community.st.com/t5/stm32cubeide-mcus/project-organisation-in-cubeide-how-to-go-about-libraries/m-p/734773/highlight/true#M31820

 

Here's an example with a custom folder added:

https://community.st.com/t5/stm32cubeide-mcus/project-organisation-in-cubeide-how-to-go-about-libraries/m-p/734778/highlight/true#M31821

In that example, I called my folder "common" - you could call yours "Application", if you wish.

 

To add a custom folder, right-click the Project name, choose 'New', then choose 'Source Folder'

AndrewNeil_0-1730732800662.png

 

Note that you need to choose 'Source Folder' if it's going to contain source files that you want to be included in the build.

For other files (that will not be built), you can use the plain 'Folder' option.

The answers you get reflect the quality of your question.
Only ST employees need to sugar-coat that.

> Yes I have already made the evaluation card work with J-LINK but with USB_STLK, but for my projet I've another card that doesn't have US_STLK (for consumption and card size).

Your first board is most probably supplied by the on-board ST-Link, and the other board not.
I think you can enable some JLink config settings in CubeIDE to have it supplying the target, provided the wiring exists. I don't use CubeIDE, though.
Or, you can supply the target externally.

Yes I know this method but upon creation the directory appears directly and all the configuration is based on the default configuration. If I change it I might get other errors.

In any case I'll try to do it (after...)