mkw31Z semihosting not working

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

mkw31Z semihosting not working

373 Views
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 Kudos
1 Reply

267 Views
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 Kudos