cancel
Showing results for 
Search instead for 
Did you mean: 

SDMMC_OCR_ADDR_OUT_OF_RANGE Error on L4

ChrisH
Associate III
Posted on June 12, 2017 at 16:04

I noticed that fatfs when performing single readblock_dma operation occasionally ends up with error 

SDMMC_OCR_ADDR_OUT_OF_RANGE when issuing command:

SDMMC_CmdReadSingleBlock(hsd->Instance, BlockAdd);

Any advice on to why this is happening? In theory this error would trigger if I'm trying to access out of range sector within sd card. But it looks like sector is somewhere at the beginning of the card, far before the end sector. I'm using recent HAL drivers. Could this be a symptom of sd card failure????

1 REPLY 1
Imen.D
ST Employee
Posted on July 05, 2017 at 12:07

Hi

Hockuba.Krzyszto.002

,

Which firmware version are you using ?

Be sure that you are using the lastversion

STM32CubeL4 V1.8.1

with enhancement and limitation fixes.

Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen