Hi,
For a new project I am developing on the STM32F429I-Discovery board. I want to use the KEIL File-System to save data on a SD-Card.
Unfortunately, the function fmount (as documented here: www.keil.com/.../group__system__routines.html ) doesn't work.
I get the following error: fsMediaError = Failed to initialize the media.
I've initialized everything with stm32cubeMX and when I use there file-system(FATFS, thirdparty middleware) it works perfectly. So I know for sure that connections are right.
I want to use it together with KEIL's usb-driver that's why I want to use KEIL's file-system.
Do I have to do more than include <stdio.h> and "rl_fs.h" and call finit and fmount?
Thanks, Mark
Thank you for your replies. The problem was that to get it to work I had to set the 'USB on the Go HS global interrupt' in STM32CubeMX and the 'SDIO global Interrupt' and afterwards comment out those 2 interrupt handlers in stm32f4xx_it.c
Not very logical, but glad in works now.