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)
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:
You need to switch rx an tx pins on one side. Then you need to pull CH_PD pin on the ESP to VCC and when you upload to the ESP you need to pull GPIO0 to GND before you apply power.
Leave ESP RESET pin floating
Then the last thing. It looks like the USBasp are 5v so you would need another power supply for the ESP witch is 3.3v.