FRDM-KL02Z hello_world not printing to console or terminal

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

FRDM-KL02Z hello_world not printing to console or terminal

1,100件の閲覧回数
CCPoon2022
Contributor I

Hi,

I am a newbie to micro controller programming. I have successfully compiled the hello world program from the FRDM-KL02Z SDK examples using MCUexpresso, but I can't see any output of PRINTF or get the getchar putchar working. Where can I find the console or terminal for the hello world program?

Many Thanks in advance.

Regards 

CCPoon2022_0-1689140863565.png

 

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,071件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @CCPoon2022 

By default latest and most of MCUXPresso SDK releases use the UART console, not the semihosting terminal. 

Please check this option to be sure which console is being selected

diego_charles_0-1689185848441.png

As Erich said, If you are using Semihosting , you are already in the rigth console. 

All the best, 

Diego

0 件の賞賛
返信

1,091件の閲覧回数
ErichStyger
Specialist I

If you are using semihosting, then you should see the text on the semihosting console. You have that one open in your screenshot, but not sure what you have selected in the project.

Other than that, you can use the UART to USB-CDC on the FRDM board.

0 件の賞賛
返信