FLEXIO_MCULCD_Init() can not work when uses SDRAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FLEXIO_MCULCD_Init() can not work when uses SDRAM

Jump to solution
945 Views
anthonyama
Contributor III

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)

anthonyama_0-1627908414757.png

How can I solve this problem by using BOARD_SDRAM?

(My app is weight, so I do not want to use SRAM_DTC) 

 

0 Kudos
1 Solution
927 Views
victorjimenez
NXP TechSupport
NXP TechSupport

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 

View solution in original post

0 Kudos
2 Replies
887 Views
anthonyama
Contributor III

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!!

0 Kudos
928 Views
victorjimenez
NXP TechSupport
NXP TechSupport

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 

0 Kudos