Hi
I'm trying to reallocate the FlexRam to be DTC = 128KB, ITC = 64KB, OC = 64KB on i.mxrt 1024
I did these changes
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!
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