cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in MSC_Standalone

mostafa z
Associate II
Posted on June 27, 2018 at 07:05

I use mass storage sample from STM32Cube_FW_F4_V1.21.0\Projects\STM324xG_EVAL\Applications\USB_Device\MSC_Standalone on STM32F40G-EVAL When I format a partition with a NTFS and exFAT system file and copy a large file(>4 G byte) to it, if device resets during the copy Or even copy the full file the partition is corrupted and requests formatting at first use. in FAT32 i dont have this problem! 

Please guide where is the problem?

Thank you

1 REPLY 1
mostafa z
Associate II
Posted on June 28, 2018 at 10:18

Hello

The problem I solved

I said I would say that someone else might have this problem

By changing the type of variable (scsi_blk_addr in usbd_msc.h using uint32_t format) to 

uint64_t the problem is solved