RT1021 reallocate FlexRAM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

RT1021 reallocate FlexRAM

跳至解决方案
567 次查看
jarman_zhou
Contributor I

Hi, @jingpan

I saw that you mentioned some issues related to reallocating FlexRAM, now I have some questions to ask you after reallocating FlexRAM.

1.Reconfigure the register in startup_mimxrt1021.c, DTC->128K, ITC->64K, OC->64K

1.png

2.Modifying memory size 

2.png

3.Modify stack. And adjust the stack space is greater than 64k

3.png

4.Add ResetISR to the vector table

4.png

5.Modify MPU configurations

5.png

But, when the stack space is greater than 64k,the program won't run.

0 项奖励
回复
1 解答
520 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @jarman_zhou ,

It seems fine. I made a same demo, it can work on my RT1021 EVK.

 

Regards,

Jing

在原帖中查看解决方案

0 项奖励
回复
1 回复
521 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @jarman_zhou ,

It seems fine. I made a same demo, it can work on my RT1021 EVK.

 

Regards,

Jing

0 项奖励
回复