FLEXIO_MCULCD_Init() can not work when uses SDRAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FLEXIO_MCULCD_Init() can not work when uses SDRAM

ソリューションへジャンプ
1,989件の閲覧回数
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 件の賞賛
返信
1 解決策
1,971件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
1,931件の閲覧回数
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 件の賞賛
返信
1,972件の閲覧回数
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 件の賞賛
返信