Semihosting port problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Semihosting port problem

1,375 Views
ernesto14
Contributor I

Hi everyone. 

I´m working on MCUXpresso IDE v11.5.0 and I´m using MKE02Z64VLD4 microcontroller and PEmicro Multilink Universal PEM5738A6 debugger.

When I build my project, I don´t have errors or warnings but when I try to debug it, this message appears: 

Could not connect to semihosting port due to connection timeout. Please check that the correct port number is configured.

Could someone help me? 

Thank you so much. 

0 Kudos
Reply
2 Replies

1,310 Views
ErichStyger
Senior Contributor V

Hi @ernesto14 ,

Make sure you have configured Semihosting in the debugger launch configuration as below:

ErichStyger_0-1664183921572.png

The other hint is: make sure you have selected a library with semihosting, e.g.

ErichStyger_1-1664183998278.png

 

I hope this helps,

Erich

0 Kudos
Reply

1,355 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, 

That seems a PEmicro issue, could you confirm if in the device manager the PEmicro is enumerated? Are you working on Windows or Linux OS? if is Windows, What is the version? Are you using a Virtual Machine? Did you install de drivers? 

[Multilink Debug Probes | Debug Probes for many ARM and 8-/16-/32-bit devices (software sold separate...]
[PEmicro | Experts in Embedded tools for Flash Programming and Development]
[PEmicro | Experts in Embedded tools for Flash Programming and Development]

Best regards,
Pavel

0 Kudos
Reply