mkw31Z semihosting not working

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

mkw31Z semihosting not working

954 次查看
microfirm
Contributor I

I'm using KDS version 3.2.0 and believe I had all the various things needed for semihosting a printf to the debugger console set.

The JLINK debugger has semihosting enabled in the startup & debuuger tabs of the config lauch

You can see the Semihosting and SWV thread is running in the deug window.

The console window is switched over to display the "SEGGER J-Link GBD Server V6.12d - Terminal output channel"

The linker is set to use the -specs=nano.specs -specs=rdimon.specs

The printf call returns fine after giving the build enough heap space but no characters appear in the KDS console window.

0 项奖励
回复
1 回复

848 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Frank Strazzabosco 

Please check the following post:

Semihosting (again!) with NXP Kinetis SDK V2.0 | MCU on Eclipse 

Do you have the telnet port with 2333?

Also, there are some bugs and errors that have been fixed in the new wireless stack, which is supported with MCUXpresso IDE, where the semihosting is already implemented as a part of the configuration, so I would like to recommend you to migrate to MCUXpresso IDE.

Best Regards

Jorge Alcala

0 项奖励
回复