cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging with STM32MP135-DK

ali7
Associate II

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 3
ali7
Associate II

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

ali7
Associate II

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.

ali7
Associate II

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?