Chat freely about anything...

User avatar
By JyotiRajSharma
#60775 Hi,

I am using following configuration:

esp8266 arduino
TX-------------TX
RX--------------RX
VCC----------3.3v
CH_PD---------3.3v
GPIO_0---------GND
Gnd-------------gnd
RESET---------3.3v
Note: I have not used external power supply as I do not have it now.So used arduino power supply to esp8266 only. Currently, I am getting following errors. Your inputs are always welcome. Please help to resolve.

Setting from IDE:
1. Board : Generic 8266 module
2. Baudrate: 115200

[]Verbose logs:[
C:\Users\Jyoti\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.9/esptool.exe -vv -cd ck -cb 115200 -cp COM3 -ca 0x00000 -cf C:\Users\Jyoti\AppData\Local\Temp\arduino_build_332832/dht_wifi.ino.bin
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>

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
serialport_receive_C0: F8 instead of C0
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
User avatar
By JyotiRajSharma
#60856 Hi,

I am using external power supply(combined 3 AA 1.3v batteries= 3.6v) and below configuration and still not working. Please help me to resolve this issue.
I am using following configuration:
esp8266 arduino
TX-------------TX
RX--------------RX
VCC----------3.3v
CH_PD---------3.3v
GPIO_0---------GND
Gnd-------------gnd
RESET---------3.3v
Note: I have not used external power supply as I do not have it now.So used arduino power supply to esp8266 only. Currently, I am getting following errors. Your inputs are always welcome. Please help to resolve.

Setting from IDE:
1. Board : Generic 8266 module
2. Baudrate: 115200

[]Verbose logs:[
C:\Users\Jyoti\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.9/esptool.exe -vv -cd ck -cb 115200 -cp COM3 -ca 0x00000 -cf C:\Users\Jyoti\AppData\Local\Temp\arduino_build_332832/dht_wifi.ino.bin
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>

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
serialport_receive_C0: F8 instead of C0
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed[/quote]
User avatar
By Vicne
#60859 Err, TX and RX must be reversed.
What is transmitted (TX) from the PC must be received (RX) by the ESP and conversely...

If it is a typo and your connection is correct, can you tell us which module you are using (Full list here) ?

Kind regards,

Vicne
User avatar
By JyotiRajSharma
#61033 @Vicne,
No, I think while flashing, Tx (Arduino) should be connected to Tx (esp8266).
I am able to flash the esp8266 firmware into it via my configuration only. No external power supply is needed.

Resolution: Since I was using Arduino to configure as Serial device :
1). Reset Pin(RST) of Arduino should be connected to GND to bypass ATMEL chip embedded in it.
2). Every time, I need to remove my power supply(3.3v) and connect again other it fails.

One more query, for now I have to load the code to esp8266 every time i.e esp is getting flashed every time.

Is it possible to load once and run it independently ? My expectation is I have connected DHT sensor pin to arduino and arduino is connectedt o esp8266 and every time esp8266 shall not be flashed.

Please reply