ITM Console Printf not working - FRDM K66F and MCUXpresso 10.1.1

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

ITM Console Printf not working - FRDM K66F and MCUXpresso 10.1.1

1,227 次查看
odd_bikes
Contributor III

Hi,

Trying to get ITM console printf to work for a day or so now. I'm running on a FRDM-K66F development board, MCUXpresso 10.1.1 and LPCLink2. Library set to Redlib Nohost, redirecting printf to ITM enabled. All other SWO tracing functions work - data watch, counters etc. 

Have read all content I could find on the subject, including this FAQ and this blog article. Odd thing is that, with the helloworld app, I'm able to send exactly one character from the ITM console to the board, but none after that. I can't get any data from the board to the ITM console though. 

Thanks!

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

904 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

How about the "hello_world" demo under KSDK ?

Steps as below :

Just Import SDK exmple from MCUXpresso IDE Quickstart Panel ->

Choose  hello_world  demo ->

Enable "Redirect printf/scanf to ITM pastedImage_1.pngWhen configure SWO, please pay attention the Clock speed, the chip of FRDM-K66 is MK66FN2M0VMD18 ,

the default core clock mybe 180MHZ, I haven't this board,  I test on frdm-k64 about the hello_world demo ,

it can work well , my attchment shows the result.

Hope it helps


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复