-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Description
I tried to upload code out of the Arduino IDE via a DUE into the ESP-01 like described here:
http://www.instructables.com/id/Use-Arduino-Due-to-program-and-test-ESP8266/?lang=de&ALLSTEPS
With the Arduino IDE 1.6.4 on my Win 8.1 system I can establish a serial monitor connection via the DUE to the ESP and communicate.
I also can upload new firmware through the DUE mirroring program with the ESP8266 Flasher and use it with the LuaLoader through the DUE.
When trying to upload code with the Arduino IDE through the DUE I get the blue LED flashing as serial request but there is no upload connection:
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
I get the above message several times and it ends with
warning: espcomm_sync failed
error: espcomm_open failed
I integrated a
Serial.setTimeout(1000);
into my mirroring program alreeady - still no connection.
When using the FTDI Adapter from an UNO board without the UNO Chip installed I can upload programs to the ESP without problems - even with the 3.3 Volt still from the DUE. During the upload the blue LED on the ESP is flashing much faster than during the serial requests described above - quite obviouse ...
I need a way to program the ESP through the DUE because I have developed a board with an Atmel SAM3X8 (DUE) and an ESP8266 on it as toy robot platform...
Thanks for any help.
Rainer from Germany
www.steamboating.de