Hi,NXP
I tested installing HSE_AB_SWAP on a brand-new S32K312 development board using the MU method.
During my test, I found that if I write the code according to the description in the HSE RM_V2.4 manual, the installation process will be blocked at step 6, and Sbaf will not return any data (observing 0x4038c280, the data is saved as 0xDADABABA). However, if I directly perform the reset at step 9,steps 6, 7 and 8 are not executed, I can observe that the HSE installation is successful (through the FSR status).
What could be the possible reason for this?
Best Regards,
xianlong
Hi Lukas,
Just to clarify, by "- Then do an additional step: wait until bit 1 in HSE GPR is cleared." you mean the HSE_CONFIG_GPR3 register?
Best regards,
/D
Hi @wuxianlong
I reported this a few weeks ago, the procedure will be updated in the next revision of the manual.
The procedure described in “3.3.1” talks mainly about situation when the device is being recovered from situation when firmware was erased by SBAF due to some fatal error. If you install the firmware on brand new device, the procedure should be:
- Follow all the steps up to step 5.
- Then do an additional step: wait until bit 1 in HSE GPR is cleared.
- Skip to step 9 and continue.
This works, it was confirmed on our side.
Regards,
Lukas