We are trying to reset the device by writing 0x0020 value in WCR
register (i.e. Set SRS bit). But the system is not restarting.
Can you please guide us on this?
We need following information:
1. What are the things to be taken care, before setting the SRS
bit in WCR register?
2. Is there any errata available for iMX6 Solo?
3. What may be the possible reasons for system not able to
restart?
Thanks.
With regards,
Keshava
Solved! Go to Solution.
The issue was happening only if we are booting from SD card. The issue was not appearing when booted from eMMC/SPI flash.
We are now using SPI flash/eMMC for booting.
But anybody who know about this, please suggest why the issue present in SD booting... The same issue appearing if we try hardware reboot (using switch).
Issue is not there if we re-connect the SD card before pressing reboot.
Thanks.
The issue was happening only if we are booting from SD card. The issue was not appearing when booted from eMMC/SPI flash.
We are now using SPI flash/eMMC for booting.
But anybody who know about this, please suggest why the issue present in SD booting... The same issue appearing if we try hardware reboot (using switch).
Issue is not there if we re-connect the SD card before pressing reboot.
Thanks.
Hi, Keshava
Can you trying writting 0x4 to WCR? I thought WDOG is not enabled by default.
Hi AnsonHuang ,
Thanks for replying.
Can you please elaborate ?
Whether I should write only 0x0004 directly?
Whether anything else I should take care of?
-Keshav
Hi, Keshava
According to RM, to issue a software reset, you should clear bit 4 of WCR register, and WDOG must be enabled which is to set bit 2, so you should write 0x4 into WCR.
I am not sure why you want to write 0x20 into WCR, that will not enable WDOG reset.
Hi AnsonHuang ,
Actually, previously we have tried writing 0x0034 to WCR. The result was same.
Anyway, I will try 0x0004 and will let you know the result.
Thanks.
With regards,
Keshava
I saw you want to proceed a warm reset? Can you help check the setting of SRC_SCR bit [0]? I need to know whether you enable the warm reset in SRC, if it is enabled, then you need to disable MMDC auto self-refresh function, otherwise, warm reset will be failed.