cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-WL55JC1 dual core ping pong example - "Failed to start GDB server"

J_1
Associate

I attempting to run the dual core ping pong example.

When I attempt to load the program to the CM0+ core I receive the following error message:

 

STMicroelectronics ST-LINK GDB server. Version 7.9.0
Copyright (c) 2024, STMicroelectronics. All rights reserved.

Starting server with the following options:
        Persistent Mode            : Disabled
        Logging Level              : 1
        Listen Port Number         : 61238
        Status Refresh Delay       : 15s
        Verbose Mode               : Disabled
        SWD Debug                  : Enabled

Target unknown error 32

Error in initializing ST-LINK device.
Reason: Unknown. Please check power and cabling to target.

 

 I then get a popup with the following message:

 

Error in final launch sequence:

Failed to start GDB server
Failed to start GDB server
Error in initializing ST-LINK device.
Reason: (255) Unknown. Please check power and cabling to target.

 

 I have followed the st provided tutorial to set the debug configurations for both CM4 and CM0+, I have tested both the example I am working with and the unmodified example. I am unable to load to CM0+.

The version of CubeIDE that I am using is 1.17.0

Is there a way to fix this problem that does not involve rolling back to an earlier version of CubeIDE?

From what I have surmised from other forum posts is that this is a persistent issue with CubeIDE and the only solution is to roll back to an earlier version.

I have been able to use the cubeprogrammer tool to load the .elf files to the boards, but this triggers no reaction, I would expect the example to start, but nothing happens.

 

I have also attached the main.c file for each core, I'd appreciate it if someone could take a look and tell me if I have even done the task was done correctly to "set PWR_CR4_C2BOOT flag via CM4 and load your image into CM0PLUS target memory".

 

0 REPLIES 0