Skip to content

Commit c490e08

Browse files
[BH-1884] Fix biwin memory errors
The BIWIN eMMC memory doesn't work stable when enablePreDefinedBlockCount flag is enabled.
1 parent ad40ee6 commit c490e08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hal/src/emmc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ status_t emmc_init(void)
4242

4343
mmc_card.busWidth = kMMC_DataBusWidth8bit;
4444
mmc_card.busTiming = kMMC_HighSpeed200Timing;
45-
mmc_card.enablePreDefinedBlockCount = true;
45+
mmc_card.enablePreDefinedBlockCount = false; // BIWIN eMMC doesn't work stable when this flag is true
4646
mmc_card.host->hostController.base = BOARD_MMC_HOST_BASEADDR;
4747
mmc_card.host->hostController.sourceClock_Hz = BOARD_MMC_HOST_CLK_FREQ;
4848
mmc_card.usrParam.ioStrength = emmc_pin_config;

0 commit comments

Comments
 (0)