AnsweredAssumed Answered

Migration to FW v1.5.1 for STM32L4

Question asked by dhavalv on Jun 22, 2016
Latest reply on Jun 22, 2016 by dhavalv
Hi,

I got to know that new FW package has been released recently for STM32L4 MCUs. So I am migrating our current Firmware based on FW v1.3.0 to the same.

For that, I copied files from "<FW Install Dir>\CMSIS", "<FW Install Dir>\STM32L4xx_HAL_Driver" and "<FW Install Dir>\Middlewares\Third_Party" to respective directories in our custom firmware. After this change, I got few compilation errors related to UART, Watchdog etc. I resolved those errors and able to compile the the firmware successfully. But with this SD card is not working.

SD card write fails continuously. The function call f_open()/f_write() fails with error code 0x01(FR_DISK_ERR). When I debug it further I found, the SD card fails with "SD_DATA_CRC_FAIL" error.

The same code is working fine with FW v1.3.0.

Please help me to resolve this.

Thanks,
Dhaval

Outcomes