Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Uploading

cloudzhou edited this page · 1 revision

Uploading code to the module

To upload to the module configure the following pins

Pin Level
CH_PD High
GPIO0 Low
GPIO2 High

Pinout is in Hardware versions

Uploading

Windows (tnx to zoutepopcorn)

Use python 2.7.8 NOT python 3! https://www.python.org/downloads/

Install lib: pyserial-2.7 http://pyserial.sourceforge.net/pyserial.html

use command ..... --port COM3 ...... under windows.

esptool.py

This will upload the first part of the software to the esp

esptool.py --port /dev/ttyUSB0 write_flash 0x00000 0x00000.bin

This will upload the second part (sometimes a reset is needed)

esptool.py --port /dev/ttyUSB0 write_flash 0x40000 0x40000.bin

There are some cases that the upload fails with "Failed to leave Flash mode" this is normal your upload went without issues.

Something went wrong with that request. Please try again.