Printf statements from MCUExpresso SDK driver examples not appearing in terminal.

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

Printf statements from MCUExpresso SDK driver examples not appearing in terminal.

1,728 次查看
aboss
Contributor I

I am following the tutorial videos on using MCUExpresso (importing an SDK and example driver project). I successfully compile the example code, right click on the binary -> binary utilities -> create S-record. Then I drag/drop this s-record file into the FRDM-KL03Z drive (to utilize the MSD flash programming feature on the board). I see the green LED blinking indicating it is programming. Once the program has finished loading, I see the red LED blinking for the gpio LED demo, but no printf statements are showing up in the terminal ( I am using putty). I checked that my baud rates match, but no luck. I am using MCUExpresso IDE v10.2.1 and SDK_2.x_FRDM-KL03Z.

I have no issues when I use Kinetis design studio with SDK 1.3.

标记 (1)
0 项奖励
回复
2 回复数

1,546 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Please mark [Redirect printf/scanf to UART] option during SDK project import process, otherwise the serial print info will not output at UART port.

pastedImage_1.png


Have a great day,
Mike

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

0 项奖励
回复

1,546 次查看
aboss
Contributor I

That worked - thanks Mike!

0 项奖励
回复