Get started with MicroPython [D1/D1 mini series]

Flash MicroPython firmware

The boards were already flashed micropython firmware. If they lost firmware or you need lastest firmware, you can flash MicroPython firmware by yourself.


Additional Requirement for Mac OS X <10.14 (Mojave)

Flash firmware --port PORT_NAME erase_flash --port PORT_NAME --baud 1000000 write_flash --flash_size=4MB -fm dio 0 FIRMWARE.bin


Don’t forget to change PORT_NAME and FIRMWARE.bin.

In Linux, PORT_NAME is like /dev/ttyUSB0. In windows, PORT_NAME is like COM4.