Hello Thing Piao Chew ,
What about the baund rate you configure on Hyperterminal ? Please make sure it should be 9600.
I test on MCUXpresso IDE v10.2.0, FRDM-KL26 board, it can work well :

- Also make sure choose "SDK Debug Console"( while I think you should choosen it , as the hello world has work well).

Hope it helps,
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------