cancel
Showing results for 
Search instead for 
Did you mean: 

How to use eMMC in H745i

Maximiliano
Senior

 

Good morning to all,

I would like to learn how to use the eMMC that has my STM32H745i-Disk, something simple a simple structure with data to save when the board is turned off and read when it turns on.

The data to save is the following structure:

 

typedef struct {
  char date1[11];
  char date2[11];
  unsigned int id;
} DateStruct;

 

In examples of STM cube ide I found 2 examples, one with DMA and another with IT but not having a structure as in the projects it is difficult for me to understand it.
Usually I found videos about the things I wanted to do with the board and I learned this way, in this case I didn't find any. Is there any other example of how to use it? or maybe where to learn more about it with practical examples?

and took a look at the following reference:
https://www.st.com/resource/en/application_note/an5200-getting-started-with-stm32h7-series-sdmmc-host-controller-stmicroelectronics.pdf

 

thanks to @HTD  I have a good starting point as he shared a blank project already configured.

Solved: STM32H745I-DISCO eMMC how to configure with FATFS? - STMicroelectronics Community

 

but how do you know what commands to use to use the eMMC? i.e. how do you usually find out how to do something in stm? i mean code.

0 REPLIES 0