2018-06-05 10:41 PM
I have a 32 gb sd card. I have interfaced it with STM32F407 Discovery board with 1 bit SDIO through Cubemx. When i use a formatted SD card i am able to write files into the card. Now, i want to format the card using some API and then write files into he card. I dont want to do the formatting manually. I have come across an API (HAL_SD_ERASE). However, I would like to know what should be the start address and end address of sd card to be used in this API.Are there any examples to use this API?