STM32G474E EVAL1 Demo SD Card issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-06 8:01 AM
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
Solved! Go to Solution.
- Labels:
-
STM32G4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-15 1:03 AM - edited ‎2024-02-15 1:41 AM
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:
PS: take care of the pull up resistors mounted on the module (see the image).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-06 9:06 AM
Hello,
@twinest wrote:
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.
Which example you are running?
Which files you have stored on the SDcard?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-07 12:05 AM
Hello,
I run the example "Demo" when I choose my MCU in STM32CubeIDE in the tab "Example Selector" when I create a new project.
And I use the SD card provided with the evaluation kit and I checked, the files needed for this demo are well in the SD card.
The file system of the SD card is :
STFILES (with the bmp images used by the demo)
USER
STM32.TXT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-13 11:58 PM
Hello,
Do you have some news about my issue ?
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-14 12:15 AM - edited ‎2024-02-14 12:15 AM
Did you try the example provided in STM32CubeG4 under the path \Projects\NUCLEO-G474RE\Applications\FatFs as it is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-14 12:32 AM
No, I tried only example provide for the STM32G474E EVAL1 because I have this card.
I will try this example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-14 12:54 AM
Sorry I meant under the path STM32G474E-EVAL\Applications\FatFs\FatFs_uSD_Standalone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-14 12:55 AM
No problem.
So, yes I tried this example too and I got the same error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-14 8:07 AM - edited ‎2024-02-14 8:10 AM
Hello,
For the demo located under Projects\STM32G474E-EVAL\Demonstrations did you copy the resources located under Projects\STM32G474E-EVAL\Demonstrations\Binary\SD_card to the SDcard?
Also are you sure the SDcard is well inserted on its slot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-14 11:59 PM
Hello,
Yes, as I said earlier, the resources are well loaded on the SD Card, which is the SD Card provided with the board.
And the SD card is well inserted because I don't have the error related.
Like I said in my first message, I think the error occurs during the initialization of the SD card during the call of SD_GoIdleState()
