Skip to main content
Roberto Peruzzini
Associate
May 30, 2017
Question

STM32F401RE Nucleo + SDIO + FatFS + CubeMX 4.21.0

  • May 30, 2017
  • 3 replies
  • 785 views
Posted on May 30, 2017 at 23:52

STM32F401RE Nucleo + SDIO + FatFS + CubeMX 4.21.0, anyone can confirm me that SD is working and CubeMx dont'create fault code? I'm trying to write a file in SD card but at f_printf(....) CPU still locked (hard fault?)

    This topic has been closed for replies.

    3 replies

    john doe
    Senior III
    May 31, 2017
    Posted on May 31, 2017 at 03:15

    how big is your heap

    Roberto Peruzzini
    Associate
    May 31, 2017
    Posted on May 31, 2017 at 08:34

    I have increased size heap at 0x400 and stack 0x800

    Roberto Peruzzini
    Associate
    June 8, 2017
    Posted on June 08, 2017 at 21:35

    Solved thanks to

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