FRDM-KL02Z hello_world not printing to console or terminal

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

FRDM-KL02Z hello_world not printing to console or terminal

426 Views
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

 

Labels (1)
0 Kudos
Reply
2 Replies

397 Views
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 Kudos
Reply

417 Views
ErichStyger
Senior Contributor V

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 Kudos
Reply