RT1021 reallocate FlexRAM

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

RT1021 reallocate FlexRAM

Jump to solution
446 Views
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 Kudos
Reply
1 Solution
399 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
400 Views
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 Kudos
Reply