Use Printf() in S32DS IDE

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

Use Printf() in S32DS IDE

1,044 Views
Billi2110
Contributor II

Hi all,

Currently, I want to print the message in S32DS IDE (S32k144) by print() function (including stdio.h library).

printf1.PNG

I set it up as below the picture

print3.PNGprintf2.PNG

but When I ran it, the console output still did not print the message

printf4.PNG

If I miss some setup to print the message, please help me!!! 

Labels (1)
0 Kudos
Reply
3 Replies

992 Views
IsaulO
NXP Employee
NXP Employee

Hi @Billi2110 ,

I have tested your configurations and see the expected behavior, have you encountered this issue with another example project?

IsaulO_0-1739844735314.pngIsaulO_1-1739844764821.pngIsaulO_2-1739844778243.png

Could you try setting a breakpoint after the printf line, and letting the program run?

Additionally, you can check the following community threads, which have information related to the topic:
Solved: how to use the printf function in S32DS.3.5 ? - NXP Community
Solved: S32K and printf() implementation - NXP Community
printf() through OpenSDA - NXP Community

BR,
IsaulO.

0 Kudos
Reply

982 Views
Billi2110
Contributor II

Hi @IsaulO 

I appreciate your support. My project is working now

0 Kudos
Reply

966 Views
IsaulO
NXP Employee
NXP Employee

Thank you for letting me know, if you have any other question or doubts, please do not hesitate to contact us.

Have a nice day!

IsaulO.

0 Kudos
Reply