LOGGING DATA WITH SWD

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

LOGGING DATA WITH SWD

659 次查看
QuocHuyUT
Contributor I

Hello, i am using MCXC series. I want to use printf() to log the data (when release not debug) via SWD ( or something via debug port). I have no more uart or usb port for logging. Is it possible. Thanks so much.

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

631 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @QuocHuyUT ,

Thanks for your post. I think it's possible.

Screenshot 2025-03-13 175716.png

Please refer to the following posts for details:
Solved: Simple printf formatting not working - NXP Community

Solved: Need to do anything specifically to disable Semihosting 'printf' to console before deploymen...

Hope it can help you.

BRs,

Celeste

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

 

0 项奖励
回复