Skip to main content
Hau Lam
Associate III
April 24, 2018
Question

STM32F779 USB Mass Storage and SD Card

  • April 24, 2018
  • 2 replies
  • 831 views
Posted on April 24, 2018 at 11:45

The original post was too long to process during our migration. Please click on the attachment to read the original post.
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    April 24, 2018
    Posted on April 24, 2018 at 17:58

    >>It return error 'HAL_SD_ERROR_TX_UNDERRUN' in function 

    HAL_SD_WriteBlocks but I don't know why.

    You have too much contention for processor focus, you will want to be using SDMMC w/DMA so it can service the peripheral quick enough. You might be able to dial back the speed, but that might still be marginal.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Hau Lam
    Hau LamAuthor
    Associate III
    April 27, 2018
    Posted on April 27, 2018 at 09:34

    Hi

    Turvey.Clive.002

    ‌ , When 1 tried to use USB Mass Storage + SD Card + DMA , But i stuck at the step, Window can not detect USB Mass Storage.

    as the link below

    https://community.st.com/0D50X00009Xki9aSAB

    Could you help me review this issue .

    Many thanks for your feed back.