system hangs after system_restart()
Posted: Mon Apr 11, 2016 5:20 am
Hello,
I am experiencing problems when performing a system_restart();
Most times the system will boot fine, but about 1 or 2 out of 10 times it will freeze after a restart.
On the terminal I see the following:
Then nothing happens and I have to repower my hardware.
Please help!
Background:
- For testing purpose I have set a timer for 2 minutes to restart the system. In the field this will probably be several hours.
- I am using software prepared for OTA. I am using boot_v1.5.bin as bootloader in the field. For testing I have also tried boot_v1.4(b1).bin with no difference.
- I am using a ESP-12e module, I have a 15k pull-up on GPIO0 (ofcourse with a button to ground for programming), 15k pull-up on GPIO2, 15k pull-down on GPIO15, 15k pull-up on reset, 15k pull-up on CH_PD with 100n to ground (as a power-on-reset function). On all of these pins nothing else connected than described.
- For the power supply I use a LDO which can source 800mA, decoupled with two 100n and one 2u2 capacitors.
I am experiencing problems when performing a system_restart();
Most times the system will boot fine, but about 1 or 2 out of 10 times it will freeze after a restart.
On the terminal I see the following:
Code: Select all
2 Minutes have passed, time to restart system out of precaution <-- my own code
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
Then nothing happens and I have to repower my hardware.
Please help!
Background:
- For testing purpose I have set a timer for 2 minutes to restart the system. In the field this will probably be several hours.
- I am using software prepared for OTA. I am using boot_v1.5.bin as bootloader in the field. For testing I have also tried boot_v1.4(b1).bin with no difference.
- I am using a ESP-12e module, I have a 15k pull-up on GPIO0 (ofcourse with a button to ground for programming), 15k pull-up on GPIO2, 15k pull-down on GPIO15, 15k pull-up on reset, 15k pull-up on CH_PD with 100n to ground (as a power-on-reset function). On all of these pins nothing else connected than described.
- For the power supply I use a LDO which can source 800mA, decoupled with two 100n and one 2u2 capacitors.