Chat freely about anything...

User avatar
By Wizzard
#2338
mcsa wrote: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


Hi, I'm trying to follow your reciepe but at point #4 I get:

Code: Select allMicrosoft Windows XP [Wersja 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\esp_iot_sdk_v0.9.1\examples\at>make
CC driver/uart.c
make: execvp: c:/esp_iot_sdk_v0.9.1/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc: Bad file number
make: *** [build/driver/uart.o] Error 127


what am I missing here?
Thanks!
User avatar
By Wizzard
#2361 nope but the Makefile seems to reflect that situation... anyway can you please post an archive containing all of necessary stuff in proper directory structure? I mean an archive that works :)
Thanks a lot!
User avatar
By Michaelo
#2473 First Link in second post above contained everything I needed... otherwise it was a case of finding individual packages and installing separately...

The zip contains three folders...
  • esp_iot_skd_v6.9.1 (this contains the xtensa-lx106-elf folder)...
  • MinGW
  • Python27
required for Windows users...

I just followed the instructions above and compile went without a hitch but I did need to download the Python27 windows install as I had a missing DLL...

I assume you could grab the git for xtensa-lx106-elf, run the make file and then add the xtensa-lx106-elf folder manually...
There's a Flash download tool here: http://bbs.espressif.com/viewtopic.php?f=7&t=25 but I haven't tried it...