cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G474E EVAL1 Demo SD Card issue

twinest
Associate II

Hello,

I tried to execute the demo for the STM32G474E EVAL1 explained in this document : STM32CubeG4 STM32G474E-EVAL demonstration firmware - User manual.

But, I have an error when the board tries to display the pictures which are on the SD card.

I got " Error popup resource file missing please update sd card content".

I checked the SD card and my files are well in the right directory.

I tried with two different SD cards and I have the same issue.

When I checked with the debugger, I have the impression that is a problem during the initialization of the SD card during the call of SD_GoIdleState()

But now I have no idea to go further in my investigation.

So I search some help to solve my issue

18 REPLIES 18

OK,

If Projects\STM32G474E-EVAL\Demonstrations

and

Projects\STM32G474E-EVAL\Demonstrations\Binary\SD_card

are not working, either you have an issue with your SDcard, so try to use another one or an issue related to the SDcard socket soldered on the board.

PS: I tested the Demo and it's working well.

 

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.

Hello,

I already tried with another SD card and I have the same issue.

So what is the solution if it the SD card socket that is poorly soldered ?

SofLit
ST Employee

Not easy to recover a broken SDcard slot. May be you need to clean it but it's risky.

Or buy add an external SDcard slot module like this one and wire it yourself:

SofLit_0-1707987668117.png

PS: take care of the pull up resistors mounted on the module (see the image).

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.

Ok thanks

I have the same problem.

I have a brand new STM32G474-EVAL1 board, and the sd card is not working (tested with both examples Demo and FatFS_uSD_Standalone)
SD_GoIdleState() returned with error: BSP_ERROR_UNKNOWN_COMPONENT

solved it, i use a EVAL1 board and the CS pin was not connected.
Pin was routed to motor control connector

Hi, which CS pin is that? I am having the same problem..

the CS Pin for the SD-Card, you have to mount R135 to connect the uC io pin with the sd-card

Thanks!