DEV Community

tab4moji
tab4moji

Posted on

how to make ESP8266/ESP32 AVRISP (micropython)

I have some esp8266 chips, but there is no built-in usb writer like FTDI. Without the USB writer, it is difficult to download the new esp8266 firmware. With MicroPython, it is easy to reprogram the operation of esp8266. MicroPython is very nice.

And esp8266 can be AVRISP with ESP8266AVRISP library.
But the library is for arduino only.

I would like to use the ESP8266AVRISP library with MicroPython on esp8266.
So I ported the library to MicroPython.

https://github.com/tab4moji/ESPAVRISP

$ avrdude -v -p t13 -c arduino -P net:192.168.0.2:328 -U flash:w:FIRMWARE_FOR_AVR.hex:i

Discussion (0)