2195981_en-US

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

2195981_en-US

2195981_en-US

Reallocation FlexRAM

Hi
I'm trying to reallocate the FlexRam to be DTC = 128KB, ITC = 64KB, OC = 64KB on i.mxrt 1024
I did these changes 
 config.pngboard.pngboot.pngstartup2.png

I also modified the linker file to fit with these changes.
Now it works, but my question is about these two lines

"LDR R0, =0x20001fff\n" // load initial value of stack pointer into R0

"MSR MSP, R0\n" // Reinitialize stack pointer by new value

Why without these lines it doesn’t work even if I modified the linker so _vStackTop must be up to date!

i.MXRT 102xRe: Reallocation FlexRAM

Please refer to this post for more details on why SP is reset: RT1176 ROM code does not set stack pointer correctly - NXP Community

BR,
Omar

Re: Reallocation FlexRAM

Thank you for your response,
It worked but when i try to set DTCram = 192KB, OCram = 64KB and ITCram = 0KB, i cant find the define ARM_MPU_REGION_SIZE_192KB !
Thank you.

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎02-13-2026 02:29 AM
更新者: