cancel
Showing results for 
Search instead for 
Did you mean: 

Does STM32MP157D-DK1 onboard STLink support linux kernel code debug?

mingming
Associate II

I’m new for STM products. After some google, I found mp157d-dk1, I want use it to study Linux kernel. Does the onboard STLink support Linux kernel code debug? Like set breakpoints/single step/observe variables values?

Another question, is this boards newest model? Is there better/newer one?

 

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi @mingming 

those pages would help you.

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

https://wiki.st.com/stm32mpu/wiki/Linux_tracing,_monitoring_and_debugging

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

Regarding boards, the STM32MP157D-DK1 is the latest board for STM32MP15. The STM32MP135x-DK is newer, uses same Cortex-A7 (single-core only) and run same Ecosystem (i.e. same Linux kernel).

 

Regards.

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.

View solution in original post

1 REPLY 1
PatrickF
ST Employee

Hi @mingming 

those pages would help you.

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

https://wiki.st.com/stm32mpu/wiki/Linux_tracing,_monitoring_and_debugging

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

Regarding boards, the STM32MP157D-DK1 is the latest board for STM32MP15. The STM32MP135x-DK is newer, uses same Cortex-A7 (single-core only) and run same Ecosystem (i.e. same Linux kernel).

 

Regards.

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.