Dear NXP support team,
I want to implement a sequence to install the HSE depending on its type (FULL MEM or AB SWAP), without the need to develop an application with IVT. It is assumed that the UTEST feature usage flag is already programmed.
FULL MEM installation via MU interface (meant for first installation, not for recovering):
1. Write 0xA5 on register DCMRWP1
2. Issue a functional reset.
3. Wait until Bit 1 in HSE_CONFIG_GPR3 is set
4. Wait for answer '0xFF00F00F' response on MU Rx register.
5. Writing value ‘0xF0F00F0F’ on MU Tx register.
6. Wait for answer ‘0xDADABABA’ on MU Rx register.
7. Write the Pink Image Location on MU Tx register.
8. Wait until Bit 1 in HSE_CONFIG_GPR3 is cleared.
9. Issue a functional reset.
10. Wait until HSE_STATUS_INIT_OK of GPR 3 is set.
FULL MEM Installation by placing the pink file at IVT_START:
1. Issue a functional reset.
2. Wait until HSE_STATUS_INIT_OK of GPR 3 is set.
AB SWAP installation via MU interface (meant for first installation, not for recovering):
1. Write 0xA5 on register DCMRWP1
2. Issue a functional reset.
3. Wait until Bit 1 in HSE_CONFIG_GPR3 is set
4. Wait for answer '0xFF00F00F' response on MU Rx register.
5. Writing value ‘0xF0F00F0F’ on MU Tx register.
6. Wait for answer ‘0xDADABABA’ on MU Rx register.
7. Write the Pink Image Location on MU Tx register.
8. Wait until Bit 1 in HSE_CONFIG_GPR3 is cleared.
9. Issue a functional reset.
10. Wait until bit WFI of MC_ME_PRTN0_CORE2_STAT is set.
11. Issue a functional reset.
12. Wait until HSE_STATUS_INIT_OK of GPR is set.
AB SWAP Installation by placing the pink file at IVT_START:
1. Issue a functional reset.
2. Wait until bit WFI of MC_ME_PRTN0_CORE2_STAT is set.
3. Issue a functional reset.
4. Wait until HSE_STATUS_INIT_OK of GPR is set.
Could you please review the above sequences and confirm whether they are correct or need correction (especially steps that involve MC_ME_PRTN0_CORE2_STAT register)?
Thanks in advance for your help.
Best Regards,
Luca