cancel
Showing results for 
Search instead for 
Did you mean: 

[BUG Report STM32Cube_FW_L4_V1.5.0] Wrong Values of SDMMC registers

yura
Associate
Posted on June 17, 2016 at 11:32

 STM32Cube_FW_L4 version of 1.5.0 has wrong values of  SDMMC register:

Old ones(Version 1.4)

SDMMC_DCTRL_DBLOCKSIZE_2=40

SDMMC_DCTRL_DBLOCKSIZE_3=80

New ones(Version 1.5.0)

SDMMC_DCTRL_DBLOCKSIZE_2=30

SDMMC_DCTRL_DBLOCKSIZE_3=40

the issue was introduced after  the following changes:

V1.1.1 / 29-April-2016  

Main Changes

  • All device register description files enriched with _Pos and _Msk defines to be used with _VAL2FLD(field, value) and _FLD2VAL(field, value) from CMSIS Core (previous defines are kept for compatibility)

This leads to  SD_DATA_CRC_FAIL error during writing on SD card.

#bug-report-stm32cube_fw_l4_v1.5
1 REPLY 1
Walid FTITI_O
Senior II
Posted on June 17, 2016 at 12:22

Hi cobain.yura,

Thanks for the feedback. We will check this internally.

-Hannibal