Using onboard eMMC as mass storage device available over USB?
I'm trying to use an STM32H745I-DISCO to log values from a sensor, append the values on a .txt file on the onboard eMMC, and have the text file accessible when plugging in the board over usb (so using the board as a usb device). In other words, I want to use the internal eMMC as an SD card available over mass storeage. This all should happen using only the H7 core. I have screenshots of all the cubemx configurations attached. I'm running the code from this tutorial https://www.youtube.com/watch?v=I9KDN1o6924 to get the FatFS filesystem working. It errors out at a call to SD_PowerOn. I think the issue is in the FATFs configuration in CubeMX under platform settings, but none of the options match the tutorial. I looked at the FatFs_Shared_Device example, but it looks like a totally different middleware.




