Using Raspberry PI to flash Esp-01s with Micropython firmware

Raspberry Pi Flash esp01s firmware

Flashing esp-01s micropython firmware workflow

1raspberrypi4B board <---> esp-link <---> esp-01s board

Download micropython firmware for esp-01s 1M

1// https://micropython.org/download/esp8266-1m/
2wget -c https://micropython.org/resources/firmware/esp8266-1m-20210902-v1.17.bin

Flashing with Thonny IDE

1// Install flash tool - esptool
2pip3 install -U esptool
3// find connect esp01s port
4dmesg|grep tty
5// check esp01s board info
6esptool.py -p /dev/ttyACM0 flash_id