Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By AJB2K3
#29380 Can someone tell me how to fix this?
Code: Select allketch uses 391,852 bytes (78%) of program storage space. Maximum is 499,696 bytes.
Global variables use 53,672 bytes (65%) of dynamic memory, leaving 28,248 bytes for local variables. Maximum is 81,920 bytes.
/Users/adambryant/Library/Arduino15/packages/esp8266/tools/esptool/0.4.6/esptool -vv -cd ck -cb 9600 -cp /dev/cu.SLAB_USBtoUART -ca 0x00000 -cf /var/folders/lk/x85468mj7479l_t_44y9q4600000gn/T/build8983361191619901382.tmp/ESP8266Basic.cpp.bin
esptool v0.4.6 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
   setting board to ck
   setting baudrate from 115200 to 9600
   setting port from /dev/tty.usbserial to /dev/cu.SLAB_USBtoUART
   setting address from 0x00000000 to 0x00000000
   espcomm_upload_file
   stat /var/folders/lk/x85468mj7479l_t_44y9q4600000gn/T/build8983361191619901382.tmp/ESP8266Basic.cpp.bin success
opening port /dev/cu.SLAB_USBtoUART at 9600
   tcgetattr
   tcsetattr
   serial open
opening bootloader
resetting board
trying to connect
   setting character timeout 0
   done
   setting character timeout 1
   done
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
trying to connect
   setting character timeout 0
   done
   setting character timeout 1
   done
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   espcomm_send_command: receiving 2 bytes of data
   espcomm_send_command: receiving 2 bytes of data
   espcomm_send_command: receiving 2 bytes of data
   espcomm_send_command: receiving 2 bytes of data
   espcomm_send_command: receiving 2 bytes of data
   espcomm_send_command: receiving 2 bytes of data
   espcomm_send_command: receiving 2 bytes of data
   espcomm_send_command: receiving 2 bytes of data
   espcomm_open
Uploading 396000 bytes from /var/folders/lk/x85468mj7479l_t_44y9q4600000gn/T/build8983361191619901382.tmp/ESP8266Basic.cpp.bin to flash at 0x00000000
   erasing flash
   size: 060ae0 address: 000000
   first_sector_index: 0
   total_sector_count: 97
   head_sector_count: 16
   adjusted_sector_count: 81
   adjusted_size: 051000
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   setting timeout 10000
   setting character timeout 100
   done
   setting timeout 1
   setting character timeout 1
   done
   espcomm_send_command: receiving 2 bytes of data
   writing flash
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
warning: espcomm_send_command: didn't receive command response
closing bootloader
User avatar
By lakid
#29393 Are you putting the ESP8266 into flashing mode ? Typically done by grounding GPIO 0 during power up and then trying to load code.
User avatar
By AJB2K3
#29410 yup, as per kolban book.
i'm finding quite a few post now from osx users with this.
going to run up the pi2 and see if that works

Just instally esptool, see it that works.
User avatar
By AJB2K3
#29423 Bit of confusion here not made clear anywhere.
Press rst and GPIO 0, release rst then GPIO 0 to program or leave GPIO0 pulled low?