Sep 23, 2020
12:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 23, 2020
12:07 PM
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?
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?
- Tags:
- IFX
1 Reply
Sep 29, 2020
09:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 29, 2020
09:17 AM