USB ROM Mass Storage class

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by Harvester on Thu Sep 24 23:50:11 MST 2015
In the structure USBD_MSC_INIT_PARAM_T (usbd_mscuser.h) there are two fields for storing a size:
uint32_t MemorySize
uint64_t MemorySize64
I think that last field is needed for devices > 4GB. Am I right?
If yes, tell me please, how I must use this fieds and what value must be stored in MemorySize field for devices > 4GB?
Thank you.