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

XMC™ Forum Discussions

User20307
Level 1
Level 1
Hi
I work with XMC4500 in the DAVE ide.
I use FATFS APP to continuously collect data on SD card(SD Mode; Trascend Premium 400x 16GB). It works fine until I write about 6.3GB to the card.
Then it opens new file correctly (f_open() return FR_OK) but f_write() returns errors as does f_close(). So my program falls into Default_Handler.
I used only f_mount(), f_mkdir(), f_open(), f_chdir(), f_write() and f_close() functions.
I have checked how it works with other SD cards, unfortunately, the problem didn't go away.
Please, can somebody help me figure out what is the cause of the problem and how to fix it?
0 Likes
1 Reply
jferreira
Employee
Employee
First like received 750 replies posted 500 replies posted
Hi,

Can you try to post your question also at http://elm-chan.org/fsw/ff/bd/ ?

Regards,
Jesus
0 Likes