jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.82k stars 720 forks source link

esp8266 as AVR ISP #353

Open dontsovcmc opened 6 years ago

dontsovcmc commented 6 years ago

Is it possible to add AVR ISP function to esp-link?

This is possible for esp8266 as i see here: https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266AVRISP

JAndrassy commented 6 years ago

esp-link is for serial connection. if you have SPI connected esp8266 use a firmware for that

roger- commented 6 years ago

+1, I was hoping to be able to do ISP programming with esp-link.

JAndrassy commented 6 years ago

@roger- , you have an esp8266 module connected to AVR Arduino over SPI interface? like this

roger- commented 6 years ago

Well I misunderstood the esp-link description and thought it would allow me to flash an AVR over SPI. I did also want to use it for adding WiFi support as well.

The Arduino sketch for flashing over SPI seems straightforward. Would it be easy to integrate it?

JAndrassy commented 6 years ago

use this it is what you want

roger- commented 6 years ago

Great, thanks!