Skip to main content
Aabc
Associate III
May 6, 2025
Question

SD card on STM32F407VET6 Black board Project

  • May 6, 2025
  • 4 replies
  • 1204 views

I'm working on a project involving the SD card on the STM32F407VET6 Black board Project. I would greatly appreciate your expertise and guidance in connecting and writing the necessary code to get the stepper motor running.

If anyone has experience with this setup or can share sample code and wiring diagrams, it would be incredibly helpful. Your insights would make a significant difference in advancing my project.

Thank you in advance for your support!

4 replies

mƎALLEm
Technical Moderator
May 6, 2025

Hello,

You can inspire from the example provided in the STM32CubeF4 on this link.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Peter BENSCH
Technical Moderator
May 6, 2025

...if the board uses an genuine STM32F407VET6, which is often not the case, so please double-check that.

Your board is not from STMicroelectronics, but the question is essentially identical to this question.

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Aabc
AabcAuthor
Associate III
May 6, 2025

Error- Main Config: These peripherals still have some not configured or wrong parameter values: [FATFS, Verify the Platform Settings Tab ]

 

My SDIO configuration:

PC10.GPIOParameters=GPIO_PuPd
PC10.GPIO_PuPd=GPIO_PULLUP
PC10.Mode=SD_4_bits_Wide_bus
PC10.Signal=SDIO_D2
PC11.GPIOParameters=GPIO_PuPd
PC11.GPIO_PuPd=GPIO_PULLUP
PC11.Mode=SD_4_bits_Wide_bus
PC11.Signal=SDIO_D3
PC12.GPIOParameters=GPIO_PuPd
PC12.GPIO_PuPd=GPIO_PULLUP
PC12.Mode=SD_4_bits_Wide_bus
PC12.Signal=SDIO_CK
PC8.GPIOParameters=GPIO_PuPd
PC8.GPIO_PuPd=GPIO_PULLUP
PC8.Mode=SD_4_bits_Wide_bus
PC8.Signal=SDIO_D0
PC9.GPIOParameters=GPIO_PuPd
PC9.GPIO_PuPd=GPIO_PULLUP
PC9.Mode=SD_4_bits_Wide_bus
PC9.Signal=SDIO_D1
PD2.GPIOParameters=GPIO_PuPd
PD2.GPIO_PuPd=GPIO_PULLUP
PD2.Mode=SD_4_bits_Wide_bus
PD2.Signal=SDIO_CMD

Aabc_0-1746548628512.png

 

mƎALLEm
Technical Moderator
May 6, 2025

I recommend you to refer to the example I provided and port it to CubeMx or you can inspire from this Youtube video: STM32 – Creating a File System on a SD card

You don't have only the GPIO to configure.

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Aabc
AabcAuthor
Associate III
May 6, 2025

Duplicate - merged.


Error: FATFS, Verify the Platform Settings Tab

I'm trying to configure SDIO pins, I received this message:

- Main Config: These peripherals still have some not configured or wrong parameter values: [FATFS, Verify the Platform Settings Tab ]

My SDIO pins configuration:

PC10.GPIOParameters=GPIO_PuPd
PC10.GPIO_PuPd=GPIO_PULLUP
PC10.Mode=SD_4_bits_Wide_bus
PC10.Signal=SDIO_D2
PC11.GPIOParameters=GPIO_PuPd
PC11.GPIO_PuPd=GPIO_PULLUP
PC11.Mode=SD_4_bits_Wide_bus
PC11.Signal=SDIO_D3
PC12.GPIOParameters=GPIO_PuPd
PC12.GPIO_PuPd=GPIO_PULLUP
PC12.Mode=SD_4_bits_Wide_bus
PC12.Signal=SDIO_CK
PC8.GPIOParameters=GPIO_PuPd
PC8.GPIO_PuPd=GPIO_PULLUP
PC8.Mode=SD_4_bits_Wide_bus
PC8.Signal=SDIO_D0
PC9.GPIOParameters=GPIO_PuPd
PC9.GPIO_PuPd=GPIO_PULLUP
PC9.Mode=SD_4_bits_Wide_bus
PC9.Signal=SDIO_D1
PD2.GPIOParameters=GPIO_PuPd
PD2.GPIO_PuPd=GPIO_PULLUP
PD2.Mode=SD_4_bits_Wide_bus
PD2.Signal=SDIO_CMD

 




Aabc_0-1746548702602.png

 

Andrew Neil
Super User
May 6, 2025

@Aabc wrote:

Verify the Platform Settings Tab


So did you do that?

Show a screenshot of your Platform Settings Tab

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Aabc
AabcAuthor
Associate III
May 6, 2025

Aabc_0-1746551919350.png

 

Aabc_1-1746551928404.png

 

 

Aabc_2-1746551939459.png

 

 

Aabc_3-1746551951223.png

 

 

Aabc_4-1746551974923.png

 

 

Aabc_5-1746551985599.png

 

Aabc_6-1746551997308.png

 

 

Aabc_7-1746552009024.png