2170336_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2170336_en-US

2170336_en-US

cannot connect M7_1 on K322

when I create an application project in Design Studio 3.6.x for K322,

I can debug the M7_0 core with my PEmicro and the Debug_FLASH_PNE configuration.

When I try to debug the M7_1 core, I cannot establish a connection to this core.

In console there is an error message:

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

The status always is halted at 95%.

At the end there is an error window with message: "error 138".


I checked that there are no breaking points at start up for the other core.

I also checked that I am using the 100-pin K322 and I checked the correct clock settings.

I checked that in both mex-files.


Can anybody help me please?

Re: cannot connect M7_1 on K322That was the problem.
Thx
Re: cannot connect M7_1 on K322

Hi @Micha4566465,

Debug both cores in Launch Group:

danielmartynek_0-1758096453497.png


Let me know if you have questions,


BR, Daniel


Re: cannot connect M7_1 on K322

Debugging the M7_1 core on K322 in Design Studio 3.6.x fails due to a semihosting connection timeout and "error 138." This issue likely stems from a port number misconfiguration or a race condition between the two cores, preventing a successful connection to M7_1. To fix this, ensure the correct semihosting port is set for M7_1 and consider initializing M7_0 in a way that doesn't interfere with the debugger's connection KaiserMemberServices to the second core.


タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 11:31 PM
更新者: