Semihosting on S32G274A(S32DS 3.4)

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

Semihosting on S32G274A(S32DS 3.4)

866 Views
skseofh
Contributor II

Hi~

I'm trying to debug using 'printf'.

 

Is it possible to using 'printf' on S32G274A?

And can I do that?

 

Please let me know, thanks!

0 Kudos
Reply
1 Reply

858 Views
bpe
NXP Employee
NXP Employee

printf() is a standard C library function. If you want more information about
it, study man 3 printf or use any generic Internet search engine to find online
documentation. printf() is not a debug tool, just a convenient
output service in an environment that supports it, and that is the only it's
advantage as a method to make your program flow more human-visible. We do not
have any specific suggestions on using it for debugging. The recommended way
to debug code on an S32G2 processor is to use a GUI-based debugger in combination
with a JTAG probe. The information on available tools can be found on S32G2
product page.

Best Regards,
Platon

 

0 Kudos
Reply