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

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

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

1,525 Views
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 Kudos
Reply
1 Reply

1,508 Views
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