Skip to main content
Associate
March 28, 2024
Question

Debugging with STM32MP135-DK

  • March 28, 2024
  • 3 replies
  • 1597 views

Hello,

following this wiki article I'm trying to debug the sample user space application, but getting this error:

Screenshot 2024-03-28 112807a.png

It seems, I have a working serial and SSH connection to the target but the Target Status widget always shows 'Serial console in use':

Screenshot 2024-03-28 113928.png

My Debug configuration looks similar to the wiki article:Screenshot 2024-03-28 114311.png

 

I appreciate any help!

3 replies

ali7Author
Associate
March 28, 2024

OK, after closing some open console windows, a new connection 'MPU SSH Weston' appeared in the Connections window and the widget shows a green light. Using this new connection in the debug configuration brings this error up:

Screenshot 2024-03-28 135243.png

ali7Author
Associate
March 28, 2024

After doing a board reset and switching back to the MPU SSH connection (root user) I'm getting this:

Screenshot 2024-03-28 145837a.png

Executing the shown gdb command in the console works just fine, so I have no idea what is going wrong here.

ali7Author
Associate
April 9, 2024

I retried it on a fresh VM running in VMware - same result. But I had success on other VMs inside Hyper-V and VirtualBox. 

VMware is recommended by ST, so anybody here with an idea?