[SOLVED] RTOSPlugin_FreeRTOS.so Initialization failes (FreeRTOS 10.2.1 on Reneases RX71m)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] RTOSPlugin_FreeRTOS.so Initialization failes (FreeRTOS 10.2.1 on Reneases RX71m)

    Hi all,

    I'm am currently searching for a hard to find bug in my software and wanted to try out the threading support for JLinkGDBServer.
    I have a Reneases RX71m target that runs FreeRTOS v10.2.1 with JLink V6.46

    I have configUSE_PORT_OPTIMISED_TASK_SELECTION 0 and added the freertos_tasks_c_additions.h construct.

    I start the server with

    Shell-Script

    1. JLinkGDBServer -rtos /opt/SEGGER/JLink/GDBServer/RTOSPlugin_FreeRTOS.so -device R5F571ML -log /tmp/gdbserv.log
    and my debugger via:


    Source Code

    1. ddd --debugger "rx-elf-gdb -x debug.txt"
    But the plugin initialization fails

    Source Code

    1. 03-00000000-00-00023883-004B: Loading RTOS plugin: /opt/SEGGER/JLink/GDBServer/RTOSPlugin_FreeRTOS.so...
    2. 03-00000000-00-00023883-002B: RTOS plugin (API v1.0) loaded successfully
    3. 02-00000000-00-00023883-0051: T1AFFD700 023:883 JLINK_CORE_GetFound() returns 0xD31FFFF (0000ms, 0174ms total)
    4. 03-00000000-00-00023883-001C: RTOS plugin: Failed to load

    The application is started by a self written bootloader (also FreeRTOS) which starts the application.
    Normal breakpoints as well as halt/step and continue work as expected.

    Does anyone have an idea what could be the Problem (0xD31FFFF?)
    Files
    • gdbserv.log

      (616.77 kB, downloaded 322 times, last: )
    • debug.txt

      (312 Byte, downloaded 244 times, last: )
  • Hello Joerg,

    the RTOS plugins currently only supports Cortex-M architectures (0x0D31FFFF == JLINK_CORE_RX71M).
    If you are interested in writing your own plug-in, you can request our SDK: segger.com/downloads/jlink/#gdbserver_rtos

    Best regards
    Arne
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.