1
NXPTM M522XX, KINETIS and i.MX RT / BOOT_MAIL_BOX location
« on: March 22, 2022, 09:01:44 PM »
Hi there,
In the i.MX RT series, the BOOT_MAIL_BOX and other persistent memory locations are up at the top of memory, above the stack. This poses a bit of a problem in that the bootloader and the applications need to have the same memory configuration. For example, on the 1062, it's up at 0x20077ffe by default, which requires the DTC be set differently from the chip default.
Is there any reason I can't change the fnGetPersistentMemory fucntion to get it from one of the lowest areas in memory, that's not already taken? This would mean it's independent of how DTC and ITC are configured?
Thanks
-Caleb
In the i.MX RT series, the BOOT_MAIL_BOX and other persistent memory locations are up at the top of memory, above the stack. This poses a bit of a problem in that the bootloader and the applications need to have the same memory configuration. For example, on the 1062, it's up at 0x20077ffe by default, which requires the DTC be set differently from the chip default.
Is there any reason I can't change the fnGetPersistentMemory fucntion to get it from one of the lowest areas in memory, that's not already taken? This would mean it's independent of how DTC and ITC are configured?
Thanks
-Caleb