Use Printf() in S32DS IDE

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

Use Printf() in S32DS IDE

1,043 次查看
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!!! 

标签 (1)
0 项奖励
回复
3 回复数

991 次查看
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 项奖励
回复

981 次查看
Billi2110
Contributor II

Hi @IsaulO 

I appreciate your support. My project is working now

0 项奖励
回复

965 次查看
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 项奖励
回复