SDXC Support Question

Hi everyone,

I'm trying to support a 2TB SDXC card using the STM32F4xx microchip, yet the SD card cannot be formatted properly, only around 220GB memory is formatted.

It seems like that the file system cannot support 2TB memory size, i tried to trace back in the file system code but didn't find the low-level code. Could anyone give me some insight about how to drive a SDXC card?