Having difficulty printing to console in demo HelloWorld.

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

Having difficulty printing to console in demo HelloWorld.

963 Views
raykor
Contributor I

Hi:

In the Hello World demo I am not able to print to the console. I am using the FRDM-K64F board,KDS_1.1.1,KSDK_1.0.0 with update and Segger OpenSDAv2.

This error message appears: An internal error occurred during: "Semihosting process monitor job. java.lang.IllegalThreadStateException". I have not been able to find

an ansewer anywhere, can someone help?

Ray Koren

Labels (1)
0 Kudos
3 Replies

503 Views
BlackNight
NXP Employee
NXP Employee

Hi Ray,

can you clarify what is your console? It looks like semihosting, but not sure? Or is it UART to the K20/OpenSDA?

Maybe this helps:

http://mcuoneclipse.com/2014/06/06/semihosting-with-kinetis-design-studio/

UART printf() for the FRDM-K64F Board and Kinetis Design Studio | MCU on Eclipse

Erich

0 Kudos

503 Views
terry_lv
NXP Employee
NXP Employee

Hi Ray,

     Could you confirm that there is OpenSDA in your Device Manager?

pastedImage_0.png

     Thanks~~

Best regards

Terry

0 Kudos

503 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Ray,

I'd like to suggest that you'd better install the OpenSDA driver again.

And I was wondering if you could describe the steps of debug helloworld demo in detail.

I'm looking forward to your reply.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos