If we want upgrademyself bootloader ,Have additional S32K344 BootRom?

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

If we want upgrademyself bootloader ,Have additional S32K344 BootRom?

Jump to solution
1,408 Views
Garey
Contributor II

If there is a reserved BootLoader FLASH, where is it?
If not, is there any way to modify the BootLoader of the S32K344?

0 Kudos
Reply
1 Solution
1,381 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

View solution in original post

3 Replies
523 Views
JonAnder_Amante
Contributor I

Hi, I am using the project "S32K344_Can_bootloader_RTD200" in the microprocessor S32K344. I want to download an application with the program of bootloader. I have achieved the jump from program to application but I have different questions. 1. I want to use #define EN_DELAY_TIME but when I uncomment the command in the folder "public_in", the program has different errors. My target to use "Backdoor", that is to say, I want to check if the program has to enter to bootloader or not. I don´t know the process and the different functions that I have to use to achieve the target. I want to use the function "Boot_CheckReqBootloaderMode(void)" but when I debug the program, it never enters to the "if". Could you explain me the process and the steps to achieve the target. I add different functions that I think are important. 2. I don´t know if I have to modificate the parameters of "static tJumpAppDelayTimeInfo gs_stJumpAPPDelayTimeInfo = {FALSE, 0u};". I have to change this structure ? You can see all structure in one of the next pictures. I need the reply as soon as possible since I have to send a project very soon. 

 

JonAnder_Amante_0-1713767512366.png

 

 

 

 

 

JonAnder_Amante_1-1713767512257.png

 

 

 

 

 

JonAnder_Amante_2-1713767512463.png

 

 

 

 

 

JonAnder_Amante_3-1713767512243.png

 

 

 

 

 

JonAnder_Amante_4-1713767512356.png

 

 

Thank you for all,

0 Kudos
Reply
1,382 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

1,394 Views
Garey
Contributor II

This is a question that confused me, hope this question could be responded to ASAP.

0 Kudos
Reply