STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

FR_DISK_ERROR always is returned by f_open.

Hi all.My team has been working on a project that contains a SD card based on Standard Library. Recently we've decided to migrate to HAL and it started.Fortunately, All part of our project were changed as well as possible to HAL and they're working g...

Resolved! How to make SDIO & eMMC FatFs Work with STM32F4 ?

HelloI am using :STM32F413HDESCOVRYSTM32 CubeMX toolAtollic TrueStudio V9.3eMMC : Kingston EMMC04GI already created the files user_discio.c user_discio.h eMMC_Driver.ceMMC_Driver.hwhen i use f_mount i get FR_NO_FILESYSTEMthx

0690X0000089iuXQAQ.jpg
Mcherif by Associate II
  • 1313 Views
  • 8 replies
  • 0 kudos

Resolved! MX_SDIO_SD_Init wrong bus wide initialization

I have a STM32F407 with an SD card wired in 4-bytes mode and FATFS middleware to manage the files.I upgraded to STM32CubeIDE 1.11 two weeks ago, but since then the SD card stopped working. The initialization fails in the SD_WideBus_Enable function, s...

FRugi.1 by Associate
  • 1151 Views
  • 3 replies
  • 0 kudos

Resolved! SD Card option not present for SDMMC2

I have followed this tutorial and gotten FATFS working perfectly on the Nucleo-L4R5ZI-P however I am trying to transfer my code to the STM32L4Q5CGU6 and the option under;middleware -> FATFS -> FATFS Mode and Configuration -> there is no option for SD...

_legacyfs_online_stmicro_images_0693W00000bkx6mQAA.png
HBegn.1 by Associate
  • 530 Views
  • 4 replies
  • 0 kudos

Resolved! How can I "remount" an SD-card?

Hello.Short Story:I'm doing a little project that has to write some sensor data to an SD-Card.After setting up with CubeMX, I found this (well-known) example of "kiwih" (https://github.com/kiwih/cubemx-mmc-sd-card?fbclid=IwAR1JE_SkRHDFSikRvwptlszMZUA...

0690X000009XeBGQA0.jpg

STM32 CUBE MX FATFS HEADER FILE INCLUDE ISSUE

Hi All,​I am currently building a project with USER-DEFINED FATFS (since my SD card mount on SPI instead of SDIO). I notice two weird include statement, FFCONG.h LINE 25 and 26,"#include "main.h"#include "stm32f4xx_hal.h""which are unnecessary becaus...

MXian.1 by Associate
  • 286 Views
  • 3 replies
  • 1 kudos