Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By delcon
#24140 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.

    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 allesptool 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 allwarning: 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.
Last edited by delcon on Fri Jul 24, 2015 7:25 am, edited 2 times in total.
User avatar
By tytower
#24143 Actually 6 speeds up to 921,600 baud . I use the top and it flys
To see the 74880 I use putty as it is not available in the arduinoIDE(linux)
Its only sending at 74880 for a short time then switches to 115200 (depending on your board)
warning: espcomm_sync failed
error: espcomm_open failed
This is the problem and its saying something with your wiring or your board settings in the IDE or the port , is not set right . It depends on how you are repowering the board for UART mode. GPIO0 Low ->power up->one flash-> check port->upload your code.
Last edited by tytower on Fri Jul 24, 2015 6:38 am, edited 4 times in total.
User avatar
By tytower
#24147
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

Modes are UART ---for flashing
FLASH--->for running (just seems to be a bad term to use for running mode but I understand thats what it is.
So get it into UART mode first -> upload your code then take GPIO0 high and repower . Code should run

I suspect you are not getting into UART mode