Use Printf() in S32DS IDE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Use Printf() in S32DS IDE

1,094件の閲覧回数
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 返答(返信)

1,042件の閲覧回数
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 件の賞賛
返信

1,032件の閲覧回数
Billi2110
Contributor II

Hi @IsaulO 

I appreciate your support. My project is working now

0 件の賞賛
返信

1,016件の閲覧回数
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 件の賞賛
返信