Closed whyameye closed 8 years ago
Did you set flash to dio mode? I think the esp12e requires this.
If that were the problem, wouldn't it never work? Software reset works 95% of the time. When it doesn't work, a hard reset always works. So the code is fine in the flash memory.
I'm wondering if this is related, in which case it is not your bootloader that is the problem perhaps: http://tech.scargill.net/esp8266-reset/
From your log it doesn't look like it's getting as far as running rBoot, not much happens before the first message is (or should be) output, so I don't think that's the problem. The link to Pete's blog is an issue which I've discussed with him previously. After a serial flash the next reboot never works. But after a hard reset it should work normally again after that and you should be able to reset to your hearts content.
I've been playing with rBoot-sampleproject and overall it works great. OTA update is smooth. Sometimes, however, restart is not successful. Here is an example output from the usb serial port with the original code, unaltered in function from the git repository:
at this point the 8266 hangs indefinitely until I reset it again.
ESP12-e on nodeMCU dev 1.0 board. latest commit 978b3cf (13 days ago at the time of this post).