Flashed app not running automatically

qjones
Posts: 15
Joined: Sun Feb 19, 2017 12:17 am

Flashed app not running automatically

Postby qjones » Sun Mar 19, 2017 6:41 pm

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!

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Flashed app not running automatically

Postby kolban » Sun Mar 19, 2017 10:31 pm

Howdy,
Take a look at this post and see if it helps.

https://esp32.com/viewtopic.php?f=12&p=1292
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: Bing [Bot], dzungpv and 86 guests