If there is a reserved BootLoader FLASH, where is it?
If not, is there any way to modify the BootLoader of the S32K344?
Solved! Go to Solution.
Hi,
Sorry for delayed response, we are overloaded due to summer vacations.
Let me share what we have:
There’s a support in HSE firmware. You can download HSE FW and HSE demo app, HSE OTADEMO for A/B Swap from S32K3 Standard Software and S32K3 Reference Software packages:
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-REFSW-D
OTADEMO for A/B Swap uses this memory layout:
int_flash : ORIGIN = 0x00400000, LENGTH = 0x00100000 /* 1024K */
int_flash_app : ORIGIN = 0x00500000, LENGTH = 0x000D4000 /* 1024K - 176K (sBAF + HSE). Used for the application binary to flash (OTA) */
int_flash_Passive : ORIGIN = 0x00600000, LENGTH = 0x001D4000 /* 2048K - 176K (sBAF + HSE) */
Then we provide Unified bootloader which can be downloaded here (no HSE is used):
https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099
This one uses this area for bootloader:
int_flash : ORIGIN = 0x00400000, LENGTH = 0x00040000 /* 256K*/
And this for an application:
int_flash : ORIGIN = 0x00440200, LENGTH = 0x007FFFFF - 0x00040200
If you have own bootloader, you can follow layout of Unified bootloader to use first possible location of IVT at 0x00400000.
Regards,
Lukas
Hi,
Sorry for delayed response, we are overloaded due to summer vacations.
Let me share what we have:
There’s a support in HSE firmware. You can download HSE FW and HSE demo app, HSE OTADEMO for A/B Swap from S32K3 Standard Software and S32K3 Reference Software packages:
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-REFSW-D
OTADEMO for A/B Swap uses this memory layout:
int_flash : ORIGIN = 0x00400000, LENGTH = 0x00100000 /* 1024K */
int_flash_app : ORIGIN = 0x00500000, LENGTH = 0x000D4000 /* 1024K - 176K (sBAF + HSE). Used for the application binary to flash (OTA) */
int_flash_Passive : ORIGIN = 0x00600000, LENGTH = 0x001D4000 /* 2048K - 176K (sBAF + HSE) */
Then we provide Unified bootloader which can be downloaded here (no HSE is used):
https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099
This one uses this area for bootloader:
int_flash : ORIGIN = 0x00400000, LENGTH = 0x00040000 /* 256K*/
And this for an application:
int_flash : ORIGIN = 0x00440200, LENGTH = 0x007FFFFF - 0x00040200
If you have own bootloader, you can follow layout of Unified bootloader to use first possible location of IVT at 0x00400000.
Regards,
Lukas
This is a question that confused me, hope this question could be responded to ASAP.