FRDM-KL02Z hello_world not printing to console or terminal

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

FRDM-KL02Z hello_world not printing to console or terminal

568 次查看
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 回复数

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

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