cancel
Showing results for 
Search instead for 
Did you mean: 

STM3241G-EVAL FatFs_uSD Example doesn't work?

Bobby Hayes
Associate II
Posted on September 14, 2017 at 14:47

Hi,

I'm trying to get the MicroSD to work on the STM3214G-EVAL board without RTOS.  I'm using TrueStudio with the library: STM32Cube_FW_F4_V1.16.0.  

The examples I'm using are under: 

\STM32Cube_FW_F4_V1.16.0\Projects\STM324xG_EVAL\Applications\FatFs

When I straight up load the projects, compile and run, the FatFs_uSD_RTOS works fine, but the FatFs_uSD project goes to Error_Handler() at the line:

  if(f_mkfs((TCHAR const*)SDPath, 0, 0) != FR_OK)

I'm trying different things, but I can't get it to work.  Can someone help out? 

Thanks!

Bobby

#stm3241g-eval #sdio #fatfs
0 REPLIES 0