mkw31Z semihosting not working

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

mkw31Z semihosting not working

1,124件の閲覧回数
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 返信

1,018件の閲覧回数
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 件の賞賛
返信