I believe I did not give sufficient information. The eFUSES I wish to set are the ones that affect the boot process of the device when BOOT_MODE[1:0] is set to 00. Step by step what I wish to learn is described below;
1. BOOT_MODE[1:0] pins are set to Low/High (01).
2. PMIC (PF0100) resets the device using POR.
3. iMX6 sets it boot mode to serial downloader.
4. It checks the USB_OTG port and sees uBoot.
5. uBoot is downloaded to RAM, I have serial connection with the device.
6. I try to set the eFUSES such that the device can boot from eMMC next time it resets, BOOT_CFG[7:3] = 011XXX. Something goes wrong and fuses are not set correctly.
7. I set the BOOT_MODE[1:0] pins to Low/Low (00) so it can boot from fuses.
8. Chip is reset by the PMIC through POR port. Now iMX sets boot mode to boot from fuses.
9. Because step 6 was messed up, the chip wont boot from eMMC.
Now after step 9 can I do the following;
10. Set the BOOT_MODE[1:0] pins to Low/High (01) again.
11. PMIC resets the chip.
12. Boot mode is set to serial downloader.
13. Chip finds uBoot at USB OTG port.
14. Get uBoot to RAM, establish communication and use it to change the eFUSE settings correctly for eMMC boot.
I need a clear explanation on the subject please.
Regards,
Mete