LOGGING DATA WITH SWD

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

LOGGING DATA WITH SWD

667 Views
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.

Tags (1)
0 Kudos
Reply
1 Reply

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