QuestionsCategory: General Questionesp12f code doesnt upload
Aaron fernando asked 5 years ago

I tried uplaoding the code to esp 12f board and when i pressed the reset button it keeps me sending this message 
ets Jan 8 2013,rst cause:2, boot mode:(7,6)  
waiting for host”
Does anyone know the reason for that ? and the code wont upload as well, Thank you . reset pin pulled up , EN pin pulled up , GPIo0 pulled up , Gpio 15 pulled down . and a cap thorough vcc and gnd.

2 Answers
RichardS Staff answered 5 years ago

It can be bad power supply, this is often the case.

Rev. N. A. C. I, SET answered 5 years ago

Also using ESP8266-12F:  I have the exact same problem on 2 different boards now.  power supply is solid.
Depending if I pull IO0 up or down I get boot code 5,7 or 7,7  followed by that exact same message:

ets Jan 8 2013,rst cause:2, boot mode:(5,7)
waiting for host

I’m not entire daft, I have 4 other boards up and running just fine.  One of the problem boards was also running just fine before.  Do I need to re-install the bootloader, if so, any instructions on doing so?
I have been using the Arduino IDE, just upgraded the ide and all of the libraries.  There are a lot of new settings that I have been unable to find the answers for.  Is that my problem?
Recently from Arduino IDE, if I try to upload anything I get the following error report:

Arduino: 1.8.9 (Windows 10), Board: “Generic ESP8266 Module, 80 MHz, Flash, Disabled, Basic SSL ciphers (lower ROM use), none, 26 MHz, 40MHz, DOUT (compatible), 4M (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, All Flash Contents, 115200”
java.lang.NullPointerException
at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:329)
at processing.app.Editor.lambda$handleBurnBootloader$65(Editor.java:2384)
at java.lang.Thread.run(Thread.java:748)
Error while burning bootloader.

I fond this post about the boot modes:

boot spi mode from SPI: 7,7
boot spi mode from UART: 5,7

Thanks in advance for any tips