XMC 4500 V1 Creating a .txt file ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello !

I want to run a code on the XMC 4500 allowing it to create a .txt file in which I want to save a table (or a 2*table) !

I would like to save the file on the internal memory if possible, if not how can I save it on a SD-card !?

Please !
Thank you ^^

----------
Anis M'.
Embedded Systems Student
Tunis
0 Likes
2 Replies
Not applicable
Hi Anis,

Basically, you need to use the file system command to create the file.
In DAVE3 IDE, we have provide the library for FAT file system.
So you can create the txt file by writing the command.
Please refers to the File System example (SLTHA001_Example1) for details implementation.
0 Likes
Not applicable
Hi,

I save a table on SD-Card using the USBBL001_USBMS001_Example1. I posted here some details about the configuration for SD-Card instead of USB-device.

http://www.infineonforums.com/threads/1587-SD-card-example-for-XMC-4500-Relax-kit

I hope it helps.
Regards,
MTR

EDIT: I forgot, to explain, how to write in two lines: The problem is described (and solved in my case) here:
http://www.infineonforums.com/threads/1019-USBBL001-Problem-writing-in-two-lines
0 Likes