MCBSTM32F400: File System Demo hard faults on call to fmount()
Information in this knowledgebase article applies to:
File System Demo fails on fmount() for the SD Card, resulting in a hard fault. I see the following output in the Debug(printf) Viewer:
//... Initializing and mounting enabled drives... Drive F0 ready!
Normal output is:
//... Initializing and mounting enabled drives... Drive F0 ready! Drive M0 ready! Drive N0 ready! Done! Cmd>
The STM32F4's HAL DMA driver was updated with a new requirement, which affects device revision A. This requirement is documented in the file, "stm32f4xx_hal_dma.c" v1.6.0.
There are at least two ways to resolve the issue.
Build project, again, and run. Now, the example will successfully mount the SD Card.
Last Reviewed: Thursday, June 29, 2017
of your data.