I see that my device is resetting at 128s once I execute the DDR Stress Test file : ddr-test-uboot-jtag-mx6dl.bin
Which I believe is caused by the watchdog timer not being serviced since 128s is the max for the imx6 watchdog timer.
Using the uboot option (Option 3) here:
i.MX6/7 DDR Stress Test Tool V3.00
We are using an extended temperature imx6
CPU: Freescale i.MX6SOLO rev1.2 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 35C
In uboot the code turns off the watchdog, is there a way to check that in Uboot? I can wait sit in Uboot many minutes without executing a command and not get a restart. But once I execute the go instruction to start the DDR Stress Test code, the device always resets after 128s. It does not matter if I run the Calibration Test first or if I skip it and go straight to the Stress test. Always get a reset after 128s.
Is the watchdog getting enabled in the Stress test? What can I look at to see if its the watchdog?
Commands:
=> icache off
=> dcache off
=> ext4load mmc 0:1 0x907000 /ddr-test-uboot-jtag-mx6dl.bin
71812 bytes read in 161 ms (435.5 KiB/s)
=> go 0x907000
## Starting application at 0x00907000 ...
<<<<< 128s later device will reboot, operation does not matter >>>>
Hi Igor,
I checked that WDE is set to 0 and we are using Boot mode[1:0] of 10 (Internal Boot). So the Serial Downloader setting the watchdog does not apply.
Hi Jason
I do not think that watchdog is enabled in the ddr test.
One can check bit WDE(Watchdog Enable) register WDOG_WCR described in
sect.70.7.1 Watchdog Control Register (WDOGx_WCR)
i.MX 6Solo/6DualLite Applications Processor Reference Manual
also from sect.8.2.4 Serial Downloader :
"In this mode, the ROM programs the WDOG1 for a 90-second time-out if the
WDOG_ENABLE eFuse is 1"
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------