Skip to main content
mostafa z
Associate II
June 27, 2018
Question

Problem in MSC_Standalone

  • June 27, 2018
  • 1 reply
  • 558 views
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

    This topic has been closed for replies.

    1 reply

    mostafa z
    mostafa zAuthor
    Associate II
    June 28, 2018
    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