Having difficulty printing to console in demo HelloWorld.

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

Having difficulty printing to console in demo HelloWorld.

1,746 次查看
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

标签 (1)
0 项奖励
回复
3 回复数

1,286 次查看
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 项奖励
回复

1,286 次查看
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 项奖励
回复

1,286 次查看
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 项奖励
回复