Skip to main content
LRava.1
Visitor II
June 22, 2021
Solved

How to create a debug configuration in STM32CubeIDE to debug Linux Kernel on STM32MP157A-DK1?

  • June 22, 2021
  • 1 reply
  • 1188 views

Hi,

I'm trying to create a debug configuration in STM32CubeIDE to debug Linux Kernel but I can't find any related article about the issue.

I want to use gdb with ST-LINK (OpenOCD) as JTAG device to debug the Kernel that I have already compiled.

Any suggestion?

This topic has been closed for replies.
Best answer by Olivier GALLIEN

Hi @LRava.1​ ,

This is not yet integrated/supported in STM32CubeIDE.

Only build of the kernel can be done.

Refer to current article regarding STM32CubeIDE

https://wiki.st.com/stm32mpu/wiki/Category:STM32CubeIDE

For debug you can use :

https://wiki.st.com/stm32mpu/wiki/Debugging_the_Linux_kernel_using_the_GDB

Hope it help

Olivier

1 reply

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
June 30, 2021

Hi @LRava.1​ ,

This is not yet integrated/supported in STM32CubeIDE.

Only build of the kernel can be done.

Refer to current article regarding STM32CubeIDE

https://wiki.st.com/stm32mpu/wiki/Category:STM32CubeIDE

For debug you can use :

https://wiki.st.com/stm32mpu/wiki/Debugging_the_Linux_kernel_using_the_GDB

Hope it help

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.