S32K146 CSEc strict mode code size update

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

S32K146 CSEc strict mode code size update

Jump to solution
1,022 Views
sinixtek
Contributor I

Hi,

We are developing a solution in which we need to enable CSEc strict mode.

When we do, by using the boot flavor '00' in the command CMD_BOOT_DEFINE, everything works fine.

However, after rebooting, if we update our boot loader and we try to define a new BOOT_SIZE, the command fails with code 0x800.

Even if we try to update with the same BOOT_SIZE, the command fails, no matter the Boot Flavor we use in the command. If we ignore the error and reboot, the part is bricked (even using the same BOOT_SIZE and updating the MAC appropriately).

The same process works without issue if the Sequential Boot Method is selected. The documentation states that Strict mode is OTP, but that BOOT_SIZE can be changed.

How can we update BOOT_SIZE in Strict mode?

Thank you very much!

0 Kudos
Reply
1 Solution
948 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @sinixtek 

the result is that the SIZE cannot be updated. The sentence in the manual is confusing, I asked to update it.

Thanks for pointing this out.

Regards,

Lukas

View solution in original post

0 Kudos
Reply
4 Replies
992 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @sinixtek 

That's a good question, I have never tried this use-case. It looks like you are the first one who is trying to change the BOOT_SIZE in strict boot mode. Please give me more time to clarify this. I will probably need to discuss this with another team, so it may take some time. At a glance, my guess is that it's not supported even if the documentation says something different. But let's wait for the result.

Regards,

Lukas

0 Kudos
Reply
976 Views
sinixtek
Contributor I

Hi @lukaszadrapa ,

Thank you very much for your support, let's see what they say.

Best regards,

Carlos

0 Kudos
Reply
949 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @sinixtek 

the result is that the SIZE cannot be updated. The sentence in the manual is confusing, I asked to update it.

Thanks for pointing this out.

Regards,

Lukas

0 Kudos
Reply
938 Views
sinixtek
Contributor I

Thank you very much for clarifying this.

Best regards,

Carlos

0 Kudos
Reply