Skip to main content
Visitor II
November 21, 2024
Question

2TB SDXC card on STM32F407

  • November 21, 2024
  • 1 reply
  • 583 views

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.

 

 

 

 

 

 

    This topic has been closed for replies.

    1 reply

    Graduate II
    November 21, 2024

    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