cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F429zi ram drive code

ECrom.1
Associate III

Hi all,

Where can I find code example for STM32F429zi ram drive code

I see FatFS and other examples, but no ram-drive FatFS example

I need to open a device over USB to be recognized by the PC HOST

Thanks

Eli

3 REPLIES 3

I swear I posted an answer here.

I had written and posted an STM32F429I-DISCO SDRAMDISK back in the SPL days

For HAL/Cube you will probably need to find a MSC HOST for the EVAL boards, port to the DISCO, add SDRAM initialization, and change the IO to copy in/out of SDRAM

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

https://community.st.com/s/question/0D50X00009XkgpRSAR/using-stm32f429idiscovery-as-usb-otg-msc

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ECrom.1
Associate III

Following me prev. question:

I am using STM32F429zi board

But found a RAM_DISK example for 9i board

I ran with / without RTOS

In both cases :

all these word fine (return woth OK :(

FATFS_LinkDriver, f_mount, f_mkfs,

But when I call f_open I get FR_NO_FILESYSTEM

How can that be ?