ESP8266 -> RPi2
TXD -> RXD
RXD -> TXD
VCC -> 3V3
CH_PD -> 3V3
GND -> GND
GPIO0 -> GND
Here is my flash command
[karazi@rpiarch esptool-master]$ sudo /bin/python2.7 ~/esptool-master/esptool.py -p /dev/ttyAMA0 write_flash 0x000000 "ai-thinker-v1.1.1.bin"
Connecting...
Erasing flash...
Took 3.73s to erase flash block
Writing at 0x0000e800... (5 %)
Traceback (most recent call last):
File "/home/mserra/esptool-master/esptool.py", line 838, in <module>
main()
File "/home/mserra/esptool-master/esptool.py", line 809, in main
operation_func(esp, args)
File "/home/mserra/esptool-master/esptool.py", line 563, in write_flash
esp.flash_block(block, seq)
File "/home/mserra/esptool-master/esptool.py", line 244, in flash_block
result = self.command(ESPROM.ESP_FLASH_DATA, struct.pack('<IIII', len(data), seq, 0, 0) + data, ESPROM.checksum(data))[1]
File "/home/mserra/esptool-master/esptool.py", line 118, in command
(op_ret, val, body) = self.receive_response()
File "/home/mserra/esptool-master/esptool.py", line 128, in receive_response
if self._port.read(1) != '\xc0':
File "/usr/lib/python2.7/site-packages/serial/serialposix.py", line 495, in read
raise SerialException('device reports readiness to read but returned no data (device disconnected or multiple access on port?)')
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
It has not ever gone past 5%, both with esptool and NodeMCU. Any help would be greatly appreciated, I admit I am a bit out of my depth but I am trying! Thank you.