Can I program the ESP8266 module via USBasp V2.0 and Arduino IDE, or do I need to get a different kind of programming stick?
Here're the pins of the USBasp:
The ESP8266 has the rolling pin setup:
My current setup: USBasp (left) --- ESP8266 (right)
- Pin2 - VCC --- (3.3V) VCC
- Pin4 - TXD --- Pin TX
- Pin6 - RXD --- Pin RX
All remaining ESP8266 pins go to ground on the USBasp.
When connecting to my Mac and starting Arduino IDE, the USBasp board and the ESP8266 LEDs light up.
Problem:
The USBasp does not show up in the Port section. Whenever I'm trying to upload a sketch these errors show up:
error: espcomm_open failed
error: espcomm_upload_mem failed
Questions:
- Can I flash an ESP8266 with a USBasp V2.0
- Is the setup correct?