Skip to main content
ChrisH
Associate III
June 12, 2017
Question

SDMMC_OCR_ADDR_OUT_OF_RANGE Error on L4

  • June 12, 2017
  • 1 reply
  • 808 views
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????

    This topic has been closed for replies.

    1 reply

    ST Technical Moderator
    July 5, 2017
    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks