Page 1 of 1

Flashed app not running automatically

Posted: Sun Mar 19, 2017 6:41 pm
by qjones
Hello,

I am not sure if I am doing something wrong here or just overlooking a menuconfig option. It took me a while to notice as most of my development has been connected over USB and doing a make flash, monitor etc which starts the code up fine. But now I am trying to get my project mobile. I noticed that the code does not run automatically after giving the chip power. I must press the EN button after chip has power, then it starts running. My board is the ESP32 DEVKIT-C. Is there any way to force the chip to be enabled all the time? Any help would be appreciated.

EDIT: Did some digging of similar issues with the more established ESP8266 and turns out I had GPIO_0 hooked up to a device. Disconnected this and device boots fine. Thought I had avoided all the reserved pins but missed this one. Will pay more attention to this in the future. Any other pins to be aware of that effects boot up or programming?

Thanks!

Re: Flashed app not running automatically

Posted: Sun Mar 19, 2017 10:31 pm
by kolban
Howdy,
Take a look at this post and see if it helps.

https://esp32.com/viewtopic.php?f=12&p=1292