Wednesday, April 25th 2018, 10:20pm UTC+2

You are not logged in.

  • Login
  • Register

v01d

Beginner

Date of registration: Feb 29th 2016

Posts: 110

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: 95

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