Segger Jlink support in ChibiStudio Topic is solved

Discussions and support about ChibiStudio, the free development environment for ARM.
cipher
Posts: 24
Joined: Tue May 31, 2016 10:05 pm
Has thanked: 2 times
Been thanked: 2 times

Segger Jlink support in ChibiStudio

Postby cipher » Wed Jun 01, 2016 4:50 am

Hi Everyone
Can anyone please provide some hint on how to configure and use the Segger JLINK debugger in ChibiStudio? Im running it all on windows, have jlink drivers installed
Im very new to Eclipse, JLINK is the only probe i have, and really want to get our board running the ChibiOS.
Any help would be very appreciated.

User avatar
Giovanni
Site Admin
Posts: 10240
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 212 times
Been thanked: 198 times
Contact:

Re: Segger Jlink support in ChibiStudio  Topic is solved

Postby Giovanni » Wed Jun 01, 2016 8:01 am

Hi,

It is matter of configuring OpenOCD to use JLink instead of STLink. In the tools menu, where you see the STLink launchers, you can add more entries, duplicate an STLink entry and replace the configuration files with the JLink ones, you need to read the OpenOCD manual for details.

If JLink comes with its own GDB server then you may not need OpenOCD at all, create a configuration that launches the JLink server.

Giovanni

User avatar
RoccoMarco
Posts: 557
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 65 times
Been thanked: 50 times
Contact:

Re: Segger Jlink support in ChibiStudio

Postby RoccoMarco » Thu Jul 14, 2016 11:26 am

Hi I am using it currently. I will write soon an article on PLAY Embedded about that, even because now it is possible to flash STLink with a JLink lite firmware.
Ciao,
RM

Ceco
Posts: 29
Joined: Tue Nov 27, 2012 12:16 pm
Been thanked: 2 times

Re: Segger Jlink support in ChibiStudio

Postby Ceco » Fri Sep 23, 2016 2:43 pm

Hello Rocco
Do you have some progress with this video (ChibiStudio with J-Link)?
What kind of GDB server you are using - the Segger's one or OpeOCD?

User avatar
RoccoMarco
Posts: 557
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 65 times
Been thanked: 50 times
Contact:

Re: Segger Jlink support in ChibiStudio

Postby RoccoMarco » Fri Sep 23, 2016 2:57 pm

Hi,
I am currently using jlink with segger gdb cl which works well and is downloadable from segger website.

BTW the problem of Openocd is I have to use Zadig to act on usbdriver and this makes OpenOCD incompatible with SeggerGDBcl.
Ciao,
RM

Ceco
Posts: 29
Joined: Tue Nov 27, 2012 12:16 pm
Been thanked: 2 times

Re: Segger Jlink support in ChibiStudio

Postby Ceco » Fri Sep 23, 2016 3:11 pm

Ok. But in this case do you have a working Chibi plugins in ChibiStudio? As I remember corectly it uses an OpenOCD "specific syntax" to collect data and variables from the target ant to show ChibiOS state.

My suggestions are based on this thread:
viewtopic.php?t=1351

User avatar
RoccoMarco
Posts: 557
Joined: Wed Apr 24, 2013 4:11 pm
Location: Salerno (Italy)
Has thanked: 65 times
Been thanked: 50 times
Contact:

Re: Segger Jlink support in ChibiStudio

Postby RoccoMarco » Fri Sep 23, 2016 3:26 pm

I will test this with a Nucleo later. It could be.
Ciao,
RM


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 1 guest