Boot mode / boot loader problem
Posted: Sun Oct 30, 2016 5:26 am
I've assembled a prototype that is working well (based on an ESP12 module), and I have designed a PCB that I'm now testing. For the test I'm using new ESP12E modules, and what I've noticed is that I'm not able to enter in the bootloader correctly. When I try to enter in bootloader mode I get the following message:
ets Jan 8 2013,rst cause:2, boot mode:(1,0)
But using arduino it fails to program it:
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM14
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
In both modules the CH_PD is pulled up, GPIO0 is pulled down and this seems to be ok because they enter in bootloader mode (boot mode 1).
The original prototype I made (based on the ESP12, not the ESP12E) works perfectly and the message I get when I try to enter in bootloader refers boot mode:(1,7) instead of (1,0) I have with the non working module (ESP12E). This is the messag I get with the original prototype based on the ESP12:
ets Jan 8 2013,rst cause:1, boot mode:(1,7)
Any idea of the reason of the bootloader not starting correctly? Since the ESP12E board is soldered on my PCB is not easy to replace it by an older module (and also I don't have any ESP12 spare module, only a few ESP12E modules from the same batch).
Thanks in advance
Fernando
ets Jan 8 2013,rst cause:2, boot mode:(1,0)
But using arduino it fails to program it:
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM14
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
In both modules the CH_PD is pulled up, GPIO0 is pulled down and this seems to be ok because they enter in bootloader mode (boot mode 1).
The original prototype I made (based on the ESP12, not the ESP12E) works perfectly and the message I get when I try to enter in bootloader refers boot mode:(1,7) instead of (1,0) I have with the non working module (ESP12E). This is the messag I get with the original prototype based on the ESP12:
ets Jan 8 2013,rst cause:1, boot mode:(1,7)
Any idea of the reason of the bootloader not starting correctly? Since the ESP12E board is soldered on my PCB is not easy to replace it by an older module (and also I don't have any ESP12 spare module, only a few ESP12E modules from the same batch).
Thanks in advance
Fernando