How it is possible to create a txt file in s32 design?

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

How it is possible to create a txt file in s32 design?

1,535 次查看
p_decesare
Contributor III

Hi,

I want to create a txt file with s32 design. For the moment, I see the value of the variable on the console of s32 design studio for arm. But I want to create a txt file for the storage of the values.
How it is possible? I tried to use fopen and the library <stdio.h> but I don't have success and there are some problems.

 

Thanks for the help

Best regards,

Paola

0 项奖励
回复
1 回复

1,518 次查看
jiri_kral
NXP Employee
NXP Employee

Hi Paola, 

 

I'm afraid, that S32 DS doesn't support output from Semihosting console into file. But you can copy content of console and paste it into text editor - for example. Other possibility is printing over UART and store output on PC machine.

 

You may find helpful this article: https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/How-to-use-printf-function-in-S32DS-fo... 

 

Jiri