Skip to main content
rohan_m
Associate III
March 8, 2024
Solved

SD_CARD refuses to mount with fmount returning FR_NOT_READY

  • March 8, 2024
  • 1 reply
  • 5840 views

STM32F7 Series

rohan_m_0-1709907073853.png

rohan_m_1-1709907108712.png

rohan_m_2-1709907130473.pngrohan_m_3-1709907162846.png

 

rohan_m_4-1709907207199.png

rohan_m_5-1709907247494.png

rohan_m_6-1709907272365.png

rohan_m_7-1709907290261.png

rohan_m_8-1709907321864.png

 

rohan_m_9-1709907362252.png

rohan_m_10-1709907386851.png

 

 

 

 

 

 

 

 

 

This topic has been closed for replies.
Best answer by rohan_m

I reduced the speed of the SDcard to 400kHz and mounted it on a nucleo board. Still did not do it on the custom board. I now have the feeling something is not right with the custom board. 

1 reply

mƎALLEm
Technical Moderator
March 8, 2024

Hello,

Try with 1 bit mode. If it does work see this thread.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
rohan_m
rohan_mAuthor
Associate III
March 8, 2024

The code fails only after :-

 if (HAL_SD_Init(&hsd) != HAL_OK)
 {
 Error_Handler();
 }
It fails in the HAL_SD_Init() only even after changing to 1B. 
AScha.3
Super User
March 8, 2024

So your hardware is not working .

What board : custom or nucleo ...?

Length of tracks cpu -- sdcard ?

+

try simple setup for beginning with sd-card:

- 1 bit mode

- no dma template

- port/pins : all on speed: medium + pullup on

 

 

"If you feel a post has answered your question, please click ""Accept as Solution""."