Friday, April 20th 2018, 12:35pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

v01d

Beginner

Date of registration: Feb 29th 2016

Posts: 105

1

Sunday, March 18th 2018, 2:54pm

Loading FreeRTOS plugin (*.so) with JLinkGDBServer

I'm trying to load the FreeRTOS pluing with the JLink GDB server. Using command:

JLinkGDBServerCLExe -jlinkscriptfile myscipt -if jtag -device Cortex-M4 -endian little -speed 1000 -rtos GDBServer/RTOSPlugin_FreeRTOS.so

I don't see any confirmation of the plugin being loaded.
I *think*, there should be a trace coming with the rest of usual output, Loading RTOS plugin: %s...

What am I doing wrong?

I tried full path to the *.so too, no luck. I also don't get any error / warning trying to pass bogus plugin path/name, as in -rtos blabla.

- EDIT -

Looks like it's delayed load until GDB client connects
Loading RTOS plugin: /opt/SEGGER/JLink_V630f/GDBServer/RTOSPlugin_FreeRTOS.so...
RTOS plugin (v1.0) loaded successfully
RTOS plugin initialized successfully.

This post has been edited 2 times, last edit by "v01d" (Mar 18th 2018, 3:10pm)


SEGGER - Arne

Super Moderator

Date of registration: Oct 16th 2015

Posts: 94

2

Monday, March 19th 2018, 12:25pm

Hi,

the RTOS Plugin is loaded when the GDB client starts serving symbols ('qSymbol' packet).

Best regards
Arne