4refr0nt / ESPlorer

Integrated Development Environment (IDE) for ESP8266 developers
http://esp8266.ru/esplorer/
GNU General Public License v2.0
1.22k stars 327 forks source link

Hardware reset into Lua prompt #51

Open owenduffy opened 7 years ago

owenduffy commented 7 years ago

It would be really convenient if there was a dialogue button dedicated to hardware reset to Lua prompt based on the common scheme of a init.lua that bales out on gpio.read(3) == 0.

The button would assert RTS for say 500ms, release it and say 200ms later assert DTR for 5000ms and release it.

This is equivalent to pushing the /RST and FL buttons on the board, but they might be be readily accessible.

I note that this reset scheme does not work as commonly wired in articles on the net, but connecting a diode cathode to GPIO16 and anode to /RST does work on the dev kit boards I have on hand. (Detailed explanation at http://owenduffy.net/blog/?p=10024 .

Owen

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.