-->
Page 1 of 7

ESP-03 programming

PostPosted: Thu Oct 30, 2014 10:51 am
by Wizzard
Hi, I have ESP-03 modules ( photos attached ) can you please quide me on the simpliest possible way ( hardware wiring and software necessary ) to compile firmware based on IOT sdk and upload it into that module?
Thanks!

Re: ESP-03 programming

PostPosted: Fri Oct 31, 2014 2:31 am
by mcsa
1. Download archive http://www.ex.ua/load/573159486429/134534617
2. Extract to c:\
3. Add to %PATH% C:\Python27\;c:\MinGW\msys\1.0\bin\;c:\MinGW\bin\
4. run make from esp_iot_sdk_v0.9.1\examples\at\
5. using esptool.py flash firmware
a. CH_PD to VCC
b. GPIO02 to VCC
c. GPIO00 to GND
d. GPIO15 to GND
Code: Select allesptool.py --port COM7 write_flash 0x00000 0x00000.bin

reconect power
Code: Select allesptool.py --port COM7 write_flash 0x40000 0x40000.bin

6. to normal start CH_PD to VCC and GPIO15 to GND

PS I try this instruction on clear computer.
And received only one error error
Code: Select allmake: esptool: Command not found
make: *** [firmware/0x00000.bin] Error 127


to resolve this problem, download this archiv(http://www.ex.ua/323914782630) and extract it in dir that exist in PATH evn. For ex in c:\minigw\bin

Re: ESP-03 programming

PostPosted: Fri Oct 31, 2014 4:53 am
by Wizzard
okay, thanks a lot!

How should I invoke esptool.py to upload via USB port? I use this usb to uart ttl bridge.

Re: ESP-03 programming

PostPosted: Fri Oct 31, 2014 11:05 am
by bjpirt
Thanks @mcsa - I've also been trying to play around with this module and hadn't come across the need to pull GPIO15 to GND. Out of interest where did you come across this?
Cheers,
Ben