iMX6S - Warm reset is not happening if SRS bit in WCR register is set

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX6S - Warm reset is not happening if SRS bit in WCR register is set

Jump to solution
597 Views
KeshavaGN
Contributor V

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

Labels (5)
0 Kudos
1 Solution
198 Views
KeshavaGN
Contributor V

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.

View solution in original post

6 Replies
199 Views
KeshavaGN
Contributor V

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.

View solution in original post

198 Views
AnsonHuang
NXP Employee
NXP Employee

Hi, Keshava

     Can you trying writting 0x4 to WCR? I thought WDOG is not enabled by default.

198 Views
KeshavaGN
Contributor V

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

198 Views
AnsonHuang
NXP Employee
NXP Employee

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.

0 Kudos
198 Views
KeshavaGN
Contributor V

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

198 Views
AnsonHuang
NXP Employee
NXP Employee

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.