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,522件の閲覧回数
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,505件の閲覧回数
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