-
Notifications
You must be signed in to change notification settings - Fork 299
Uploading
zarya edited this page Oct 12, 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 |
Pinout is in [[Hardware versions | Hardware_versions]] |
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.
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.
- Home
- Tutorial
- Community
- Hardware
- Module Versions
- Chip Versions
- Chip Pin Definitions
- Chip Die Internals
- Software
- GPIO Registers
- Examples
- Drivers
- Memory Map
- Boot Process
- AT Command set
- 0.9.1