cancel
Showing results for 
Search instead for 
Did you mean: 

2TB SDXC card on STM32F407

Harry_Tan
Associate

Hi everyone,

I'm trying to support a 2TB SDXC using the STM32F407 microchip as a data logger. However, I encountered an issue where only around 220GB of memory can be formatted properly, instead of the full 2TB capacity.

I suspected there might be a limitation in the file system(might be the lenth of a pointer or something) that restricts the addressable memory size. I've tried to trace back through the file system code but haven't been able to access the low-level implementation that might be causing this problem,

Has anyone encountered similar issues or could provide some insights on:
1. How to properly implement SDXC card support for large capacities?
2. Any specific modifications needed in the file system to handle >1TB storage?

Any help or guidance would be greatly appreciated.

 

 

 

 

 

 

1 REPLY 1

Would need to be a legitimate card

Probably going to need to use a more current version of FatFS and EXFAT format.

Certainly should be possible to support 400 or 512 GB cards, although those a heading toward unpractically large based on the caching and file system structures

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..