Skip to content

Uploading

zarya edited this page Oct 6, 2014 · 10 revisions

Uploading code to the module

To upload to the module configure the following pins

Pin Level
CH_PD High
GPIO0 Low
GPIO2 High

Uploading

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

esptool.py --port /dev/tty.usbmodem0E102EE1 write_flash 0x00000 0x00000.bin

This will upload the second part

esptool.py --port /dev/tty.usbmodem0E102EE1 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.

This page is being worked on

Clone this wiki locally