Arduino 1.6.5 / ESP-12 not able to upload binary
Posted: Fri Jul 24, 2015 6:12 am
Hi, I have a couple of ESP-12. I was able to flash nodemcu firmware on it. Since then I gained some experience with LUA. So I know how the basics, know how to flash, but I do not seem to be able to get anything on it with the Arduino Framework.
when I try to upload from Arduino IDE it compiles successfully, but it is not able to upload.
What irritates me is that my board talks at a baud rate of 74880 on bootup - but according to the log it is trying to program it with 115200.
So I tried to edit the boards.text, but then I get a
Is it the baud rate that lets me fail?
Leo
Edit: I am able to flash an Olimex ESP8266 board successfully. So technically I should be fine with my setup, connection, and environment. It must be the board and the configuration to it.
However, I need help for that.
Solved: faulty hardware.
- I installed Arduino platform package as described at https://github.com/esp8266/Arduino
- Grounded GPIO0 and did a reset
- I get the " ets Jan 8 2013,rst cause:2, boot mode:(1,6)" Message @ a Baudrate of 74880, so I am in Flash Mode
when I try to upload from Arduino IDE it compiles successfully, but it is not able to upload.
Code: Select all
esptool v0.4.5 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to ck
setting baudrate from 115200 to 115200
setting port from COM1 to COM6
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat C:\Users\Leo\AppData\Local\Temp\build7001606982286529386.tmp/ESP_WebConfig_Master.cpp.bin success
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
.
.
warning: espcomm_sync failed
error: espcomm_open failed
What irritates me is that my board talks at a baud rate of 74880 on bootup - but according to the log it is trying to program it with 115200.
So I tried to edit the boards.text, but then I get a
Code: Select all
warning: unsupported baud rate: 74880, using 115200
Is it the baud rate that lets me fail?
Leo
Edit: I am able to flash an Olimex ESP8266 board successfully. So technically I should be fine with my setup, connection, and environment. It must be the board and the configuration to it.
However, I need help for that.
Solved: faulty hardware.