BUS PIRATE-------------------------------------------------ESP-01--------------------------------------------------ATX PSU
||||||||||||||||||||||||| ||||||||||||||||||||||||||||||||| ||||||||||||||||
RX(black wire)---------------------------------------------TX(pin 8 near VCC)--------- --------NC
TX(grey wire)----------------------------------------------RX(pin 1 near GND)-------- --------NC
GND----------------------------------------------------------GND--------------------------------------------------------GND
NC------------- --------------CH_PD(pin 3)------------------------------------------3.3V
NC------------- --------------VCC(pin2)-----------------------------------------------3.3V
NC------------- --------------RST(pin5)-----------------------------------------------3.3V
NC------------- --------------GPIO 0(pin 6)-------------------------------------------GND
NC------------- --------------GPIO(pin 4)--------- ---------NC
I have no problems flashing with windows installed in a VM and using the nodeMCU espflasher GUI, but in linux using esptool.py I get:
A fatal error occurred: Failed to connect to ESP8266
and using arduino IDE I get:
warning: espcomm_sync failed
error: espcomm_open failed
I also want to metion that using nodeMCU FW at baud 9600 is working just fine. I also tried commenting out the line in esptool.py that throws the error as suggested in another forum, but it just get caught at the next error: invalid head of packet.