Skip to main content
MirKoz
Associate II
November 26, 2020
Solved

How to configure STM32CubeIDE to use J-link in tunnel mode

  • November 26, 2020
  • 3 replies
  • 2435 views

I am trying to configure STM32CubeIDE to use J-link in tunnel mode. I know how to do it outside the CubeIDE. It requires the invocation of J-link GDB server with the additional -select command line parameter. And I don't know how to add this parameter in CubeIDE. Is there anyone there to help me with this problem?

This topic has been closed for replies.
Best answer by EJOHA

MKozi.9,

If additional parameters are needed when starting the J-Link GDB server you have to start it manually first and then configure the Debug configuaration in STM32CubeIDE to "Connect to remote GDB server". Please try. I hope this works!

3 replies

EJOHA
EJOHABest answer
Associate
November 26, 2020

MKozi.9,

If additional parameters are needed when starting the J-Link GDB server you have to start it manually first and then configure the Debug configuaration in STM32CubeIDE to "Connect to remote GDB server". Please try. I hope this works!

MirKoz
MirKozAuthor
Associate II
November 26, 2020

Thank you for the quick reply. This actually solves the problem. However, could you consider adding an extra text field in the Debugger tab to pass such additional parameters to GDB server?

EJOHA
Associate
November 26, 2020

Thank you for confirming that it works. We will see if it could be possible to add an extra text field for additional parameters in the debugger tab. Please close this ticket as answered.