Faild to initialize SWO trace on MacOS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Faild to initialize SWO trace on MacOS

1,791 次查看
okramo78
Contributor I

When starting the SWO ITM Console I receive this message:

 

Bildschirmfoto 2022-02-04 um 00.18.48.png

Can someone point me our how to debug that?

 

0 项奖励
回复
2 回复数

1,774 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Hi,

We need some details:

1. What OS version do you have?

2. What MCUXpresso IDE version?

3. What device/board target?

4. What SDK version?

5. What debug probe?

6. From "SWO Trace Config" view, can you press "Change" button then "Detect" and "OK"? Do you obtain any error here?

7. Do you execute SWO clock and pinmux setting (for proper SWO usage)?

8. If step 7 is done, can you press "Clean Up Debug" from main window's toolbar and try again?

Regards,

MCUXpresso IDE Support

0 项奖励
回复

1,766 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Additionally, please be sure you have the latest firmware version - LPC-LINK2 CMSIS-DAP V5.361 (either put the debug probe in DFU mode or use LPCScrypt tool to program it). An older firmware version might trigger such an error.

Regards,

MCUXpresso IDE Support

0 项奖励
回复