Hi All,
I'm controlling the LCD via mcu_lcd driver of mimxrt1064.
When I build app in SRAM_DTC (at the second, first is FLASH), FLEXIO_MCULCD_Init() can work well.
But when I change SRAM_DTC to BOARD_SDRAM, FLEXIO_MCULCD_Init() can not work, and go into error handle as below.
void __assertion_failed(char *failedExpr)
{
(void)PRINTF("ASSERT ERROR \" %s \n", failedExpr);
for (;;)
{
__BKPT(0);
}
}
Below is the setting of RAM selection (BOARD_SDRAM is selecting)
How can I solve this problem by using BOARD_SDRAM?
(My app is weight, so I do not want to use SRAM_DTC)
Solved! Go to Solution.
Hello,
Did you initialize the Board_SDRAM? It's not enough to put the BOARD_SDRAM memory on top of the DTC, you also have to tell the ROM bootloader to configure this memory.
Regards,
Victor
Yes, I did not initialize the Board_SDRAM yet.
When I initialzed and move the SDRAM to the top, this problem is solved.
Thanks so much!!
Hello,
Did you initialize the Board_SDRAM? It's not enough to put the BOARD_SDRAM memory on top of the DTC, you also have to tell the ROM bootloader to configure this memory.
Regards,
Victor