S32K312 HSE without IVT Install Not Successful

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

S32K312 HSE without IVT Install Not Successful

Jump to solution
393 Views
kw3
Contributor I

I've been struggling to install HSE on a S32K312EVB-Q172 .  I modified the S32K344_HSE_FW_INSTALL project for theS32K312 and flashed it.  That program successfully updated the UTEST data at 0x1B000000, but doesn't seem to install the HSE firmwar

I am not using IVT, so I decided to simplify the process and manually flash the pink file to 0x400000 using JFlash.  JFlash won't work without erasing the chip, so I erase, then flash the pink file successfully.  Then I issued a reset command (I've also tried disconnecting power for a hard reset).  The HSE firmware is still flashed to 0x400000, but not installing.

According to the docs, the bit at 0x4038C107 should be 1 if HSE install is successful, but mine is staying set to 0.

I'm not sure what I'm doing wrong and how to diagnose the issue at this point. 

Tags (4)
0 Kudos
Reply
1 Solution
364 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @kw3 

Yes, the HSE feature flag at 0x1B00_0000 is programmed correctly and you programmed the right pink file to 0x40_0000. I can see it is version 2.55.0.

The last condition is that there can't be valid IVT in the flash when we want to use HSE FW installation using default location method. In case of S32K312, the locations are:

lukaszadrapa_0-1747220158379.png

And usually IVT in the data flash at 0x1000_0000 is the source of issues. Could you check if the data flash is erased too?

And I recommend to check also bit 0 in HSE GPR register at 0x4039_C028. This bit says if HSE FW is installed or not.

HSE_STATUS_INIT_OK in FSR register says if the firmware was successfully started. So the meaning is slightly different.

Regards,

Lukas

 

View solution in original post

0 Kudos
Reply
1 Reply
365 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @kw3 

Yes, the HSE feature flag at 0x1B00_0000 is programmed correctly and you programmed the right pink file to 0x40_0000. I can see it is version 2.55.0.

The last condition is that there can't be valid IVT in the flash when we want to use HSE FW installation using default location method. In case of S32K312, the locations are:

lukaszadrapa_0-1747220158379.png

And usually IVT in the data flash at 0x1000_0000 is the source of issues. Could you check if the data flash is erased too?

And I recommend to check also bit 0 in HSE GPR register at 0x4039_C028. This bit says if HSE FW is installed or not.

HSE_STATUS_INIT_OK in FSR register says if the firmware was successfully started. So the meaning is slightly different.

Regards,

Lukas

 

0 Kudos
Reply