S32K LifeCycle

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

S32K LifeCycle

402 Views
vurtual
Contributor II

Regarding S32K312, I has installed the HSE Firmware in the device. My code is to call the HSE_AdvanceLifecycle function to evolve LC to OEM_PROD. However, one of the chips in our factory has evolved to IN_FIELD. I would like to ask, apart from using the function evolution LC normally, are there any other ways to achieve this?

My code:

volatile hseAttrSecureLifecycle_t programLC = HSE_LC_OEM_PROD;

HSE_AdvanceLifecycle(programLC);

Tags (1)
0 Kudos
Reply
2 Replies

372 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

That's interesting, however LifeCycle cannot be changed to IN_FIELD by any kind of error as interrupted flash programming by reset and so as this would lead in LC_ERR fault (see DCMROD3 register).

I would expect certain SW misconfiguration.

0 Kudos
Reply

348 Views
vurtual
Contributor II
Could you give an example of SW misconfiguration?
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2186376%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K%20LifeCycle%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186376%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ERegarding%20S32K312%2C%20I%20has%20installed%20the%20HSE%20Firmware%20in%20the%20device.%20My%20code%20is%20to%20call%20the%20HSE_AdvanceLifecycle%20function%20to%20evolve%20LC%20to%20OEM_PROD.%20However%2C%20one%20of%20the%20chips%20in%20our%20factory%20has%20evolved%20to%20IN_FIELD.%20I%20would%20like%20to%20ask%2C%20apart%20from%20using%20the%20function%20evolution%20LC%20normally%2C%20are%20there%20any%20other%20ways%20to%20achieve%20this%3F%3C%2FP%3E%3CP%3EMy%20code%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3Evolatile%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22%22%3EhseAttrSecureLifecycle_t%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22%22%3EprogramLC%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22%22%3E%3D%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22%22%3EHSE_LC_%3CSPAN%20class%3D%22%22%3EOEM_PRO%3C%2FSPAN%3ED%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EHSE_AdvanceLifecycle%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E(%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3EprogramLC%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2188911%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K%20LifeCycle%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2188911%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECould%20you%20give%20an%20example%20of%20SW%20misconfiguration%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2187482%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K%20LifeCycle%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2187482%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThat's%20interesting%2C%20however%20LifeCycle%20cannot%20be%20changed%20to%20IN_FIELD%20by%20any%20kind%20of%20error%20as%20interrupted%20flash%20programming%20by%20reset%20and%20so%20as%20this%20would%20lead%20in%20LC_ERR%20fault%20(see%20DCMROD3%20register).%3C%2FP%3E%0A%3CP%3EI%20would%20expect%20certain%20SW%20misconfiguration.%3C%2FP%3E%3C%2FLINGO-BODY%3E