ESP8266 already in flash mode, still getting "timed out waiting for packet header" error message

  • Thread starter Deleted member 750607
  • Start date

Thread Starter

Deleted member 750607

Joined Dec 31, 1969
0
Im trying to track the ISS longitude and latitude. My sketch is coped from a book. compiles fine.

I bought a USB programmer and was able to run a simple blink sketch on the ESP8266, but when I put the ESP8266 back onto my Arduino UNO, the error message came up again, "esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header"

this is the full error message:

Arduino: 1.8.13 (Mac OS X), Board: "Generic ESP8266 Module, 160 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:128KB OTA:~438KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

/private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/hardware -hardware /Users/hill/Library/Arduino15/packages -tools /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/tools-builder -tools /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/hardware/tools/avr -tools /Users/hill/Library/Arduino15/packages -built-in-libraries /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/libraries -libraries /Users/hill/Documents/Arduino/libraries -fqbn=esp8266:esp8266:generic:xtal=160,vt=flash,exception=legacy,ssl=all,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=1M128,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=2341_0043 -ide-version=10813 -build-path /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295 -warnings=none -build-cache /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_672578 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python3.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-fe5bb56 -prefs=runtime.tools.mklittlefs-2.5.0-4-fe5bb56.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-fe5bb56 -verbose /Users/hill/Documents/Arduino/ISS_Tracker/ISS_Tracker.ino
/private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/hardware -hardware /Users/hill/Library/Arduino15/packages -tools /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/tools-builder -tools /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/hardware/tools/avr -tools /Users/hill/Library/Arduino15/packages -built-in-libraries /private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/libraries -libraries /Users/hill/Documents/Arduino/libraries -fqbn=esp8266:esp8266:generic:xtal=160,vt=flash,exception=legacy,ssl=all,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=1M128,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=2341_0043 -ide-version=10813 -build-path /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295 -warnings=none -build-cache /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_672578 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python3.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-fe5bb56 -prefs=runtime.tools.mklittlefs-2.5.0-4-fe5bb56.path=/Users/hill/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-fe5bb56 -verbose /Users/hill/Documents/Arduino/ISS_Tracker/ISS_Tracker.ino
Using board 'generic' from platform in folder: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3
Using core 'esp8266' from platform in folder: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3
Detecting libraries used...
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=160000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/variants/generic /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/sketch/ISS_Tracker.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
-> candidates: [SPI@1.0]
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=160000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/variants/generic -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/SPI /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/sketch/ISS_Tracker.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for ESP8266WiFi.h: [ESP8266WiFi@1.0]
ResolveLibrary(ESP8266WiFi.h)
-> candidates: [ESP8266WiFi@1.0]
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=160000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/variants/generic -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/SPI -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/sketch/ISS_Tracker.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for TimeLib.h: [Time@1.6]
ResolveLibrary(TimeLib.h)
-> candidates: [Time@1.6]
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=160000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/variants/generic -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/SPI -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src -I/Users/hill/Documents/Arduino/libraries/Time /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/sketch/ISS_Tracker.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/SPI/SPI.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/BearSSLHelpers.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/CertStoreBearSSL.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/ESP8266WiFi.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/ESP8266WiFiAP.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/ESP8266WiFiGratuitous.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/ESP8266WiFiMulti.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/ESP8266WiFiSTA-WPS.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/ESP8266WiFiScan.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/WiFiClient.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/WiFiClientSecureAxTLS.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/WiFiClientSecureBearSSL.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/WiFiServer.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/WiFiServerSecureAxTLS.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/WiFiServerSecureBearSSL.cpp
Using cached library dependencies for file: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/WiFiUdp.cpp
Using cached library dependencies for file: /Users/hill/Documents/Arduino/libraries/Time/DateStrings.cpp
Using cached library dependencies for file: /Users/hill/Documents/Arduino/libraries/Time/Time.cpp
Generating function prototypes...
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=160000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/variants/generic -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/SPI -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src -I/Users/hill/Documents/Arduino/libraries/Time /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/sketch/ISS_Tracker.ino.cpp -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/preproc/ctags_target_for_gcc_minus_e.cpp -DARDUINO_LIB_DISCOVERY_PHASE
/private/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/AppTranslocation/19D855D3-038B-4437-9F17-1CF5E076E5FA/d/Arduino-2.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/signing.py --mode header --publickey /Users/hill/Documents/Arduino/ISS_Tracker/public.key --out /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/core/Updater_Signing.h
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=160000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/variants/generic -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/SPI -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src -I/Users/hill/Documents/Arduino/libraries/Time /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/sketch/ISS_Tracker.ino.cpp -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/sketch/ISS_Tracker.ino.cpp.o
Compiling libraries...
Compiling library "SPI"
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/SPI/SPI.cpp.o
Compiling library "ESP8266WiFi"
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/CertStoreBearSSL.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/lwip2/include -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DNONOSDK22x_190703=1 -DF_CPU=160000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DOUT -DESP8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/cores/esp8266 -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/variants/generic -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/SPI -I/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src -I/Users/hill/Documents/Arduino/libraries/Time /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi/src/BearSSLHelpers.cpp -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/BearSSLHelpers.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiAP.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiGratuitous.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiSTA-WPS.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiMulti.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiSTA.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiScan.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiClient.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiClientSecureBearSSL.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiClientSecureAxTLS.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiServer.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiServerSecureAxTLS.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiUdp.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiServerSecureBearSSL.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/BearSSLHelpers.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/CertStoreBearSSL.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiAP.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiGratuitous.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiMulti.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiSTA-WPS.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiSTA.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFiScan.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiClient.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiClientSecureAxTLS.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiClientSecureBearSSL.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiServer.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiServerSecureAxTLS.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiServerSecureBearSSL.cpp.o
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar cru /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/WiFiUdp.cpp.o
Compiling library "Time"
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/Time/Time.cpp.o
Using previously compiled file: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/Time/DateStrings.cpp.o
Compiling core...
Using precompiled core: /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_672578/core/core_ae3730296692e6ea9bb7a43bcd829a04.a
Linking everything together...
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-gcc -CC -E -P -DVTABLES_IN_FLASH /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/ld/eagle.app.v6.common.ld.h -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/local.eagle.app.v6.common.ld
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-gcc -fno-exceptions -Wl,-Map -Wl,/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.map -g -w -Os -nostdlib -Wl,--no-check-sections -u app_entry -u _printf_float -u _scanf_float -Wl,-static -L/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/lib -L/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/lib/NONOSDK22x_190703 -L/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/ld -L/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sdk/libc/xtensa-lx106-elf/lib -Teagle.flash.1m128.ld -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read -o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.elf -Wl,--start-group /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/sketch/ISS_Tracker.ino.cpp.o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/SPI/SPI.cpp.o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/ESP8266WiFi/ESP8266WiFi.a /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/Time/DateStrings.cpp.o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/libraries/Time/Time.cpp.o /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_cache_672578/core/core_ae3730296692e6ea9bb7a43bcd829a04.a -lhal -lphy -lpp -lnet80211 -llwip2-536-feat -lwpa -lcrypto -lmain -lwps -lbearssl -laxtls -lespnow -lsmartconfig -lairkiss -lwpa2 -lstdc++ -lm -lc -lgcc -Wl,--end-group -L/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295
/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/elf2bin.py --eboot /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/bootloaders/eboot/eboot.elf --app /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.elf --flash_mode dout --flash_freq 40 --flash_size 1M --path /Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin --out /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.bin
Creating BIN file "/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.bin" using "/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/bootloaders/eboot/eboot.elf" and "/var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.elf"
/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/signing.py --mode sign --privatekey /Users/hill/Documents/Arduino/ISS_Tracker/private.key --bin /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.bin --out /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.bin.signed --legacy /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.bin.legacy_sig
/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/sizes.py --elf /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.elf --path /Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin
Executable segment sizes:
IROM : 246908 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26888 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
DATA : 1276 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 1020 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25032 ) - zeroed variables (global, static) in RAM/HEAP
Using library SPI at version 1.0 in folder: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/SPI
Using library ESP8266WiFi at version 1.0 in folder: /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/libraries/ESP8266WiFi
Using library Time at version 1.6 in folder: /Users/hill/Documents/Arduino/libraries/Time
/Users/hill/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-size -A /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.elf
Sketch uses 276092 bytes (30%) of program storage space. Maximum is 892912 bytes.
Global variables use 27328 bytes (33%) of dynamic memory, leaving 54592 bytes for local variables. Maximum is 81920 bytes.
/Users/hill/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/upload.py --chip esp8266 --port /dev/cu.usbmodem14201 --baud 115200 --before default_reset --after hard_reset write_flash 0x0 /var/folders/n5/z2gx7xvj2x140_3rshcsmct00000gn/T/arduino_build_921295/ISS_Tracker.ino.bin
esptool.py v2.8
Serial port /dev/cu.usbmodem14201
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/upload.py", line 65, in <module>
esptool.main(cmdline)
File "/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/esptool/esptool.py", line 2890, in main
esp.connect(args.before)
File "/Users/hill/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/esptool/esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

_
 

Thread Starter

Deleted member 750607

Joined Dec 31, 1969
0
I have Serial.begin(115200);
yes RX goes to TX and TX goes to RX
 

Yaakov

Joined Jan 27, 2019
3,735
Try this: close the serial monitor, put the board into flash mode, upload, if there is an error immediately try again.
 

Thread Starter

Deleted member 750607

Joined Dec 31, 1969
0
Try this: close the serial monitor, put the board into flash mode, upload, if there is an error immediately try again.
sorry I was frustrated so I took a long break...im back... and I have the blink sketch working. what should I do next?
 

Yaakov

Joined Jan 27, 2019
3,735
sorry I was frustrated so I took a long break...im back... and I have the blink sketch working. what should I do next?
If you have the blink sketch h working that mean you were able to flash the ESP-01. The error you are showing me is from esptool, the programmer. If the programmer works for one sketch it will work for the other.
 
What are the connections between the ESP and the UNO? If you can program the ESP by itself, but not with the UNO connected (if I understand things right) then something on the UNO is causing the problem. My guess is either they are both trying to use the same serial connections, or something isn't being connected.
 

Yaakov

Joined Jan 27, 2019
3,735
What are the connections between the ESP and the UNO? If you can program the ESP by itself, but not with the UNO connected (if I understand things right) then something on the UNO is causing the problem. My guess is either they are both trying to use the same serial connections, or something isn't being connected.
The Uno is no longer involved. Instead, a TTL serial adapter is being used. Since the blink sketch appears to upload properly, the error is probably spurious, some side effect. The error is coming from esptool, which is the uploader. It can't have anything to do with the actual program running so we need more information.
 

Thread Starter

Deleted member 750607

Joined Dec 31, 1969
0
What are the connections between the ESP and the UNO? If you can program the ESP by itself, but not with the UNO connected (if I understand things right) then something on the UNO is causing the problem. My guess is either they are both trying to use the same serial connections, or something isn't being connected.
what should I do next?
 

Thread Starter

Deleted member 750607

Joined Dec 31, 1969
0
The Uno is no longer involved. Instead, a TTL serial adapter is being used. Since the blink sketch appears to upload properly, the error is probably spurious, some side effect. The error is coming from esptool, which is the uploader. It can't have anything to do with the actual program running so we need more information.
what should I do next?

sometimes blink uploads, sometimes it doesn't. not sure what is making it work or not
 

Thread Starter

Deleted member 750607

Joined Dec 31, 1969
0
Frankly, I don't understand the state of things. How do you know that your program hasn't been uploaded?
sometimes blink doesn't upload, for example if I try now to change the speed of the blink, it doesn't upload anymore. seems touchy.
 

Yaakov

Joined Jan 27, 2019
3,735
sometimes blink doesn't upload, for example if I try now to change the speed of the blink, it doesn't upload anymore. seems touchy.
The content of the program does not influence the ability to upload it. I suspect you are not getting the ESP-01 into flash mode consistently.
 

Yaakov

Joined Jan 27, 2019
3,735
Check your wiring, not the locations but the connections. Make sure they are all tight and solid. Also, the serial adapter has lights for RX/TX do they flash when it fails? That is, do the do something, then the error or do they do nothing, then the error?
 
@Yaakov in the original post "I bought a USB programmer and was able to run a simple blink sketch on the ESP8266, but when I put the ESP8266 back onto my Arduino UNO, the error message came up again, "esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header" sounds a lot like something with connecting to an UNO is causing the issue.

@hbasile91 is there an UNO involved or no?
 

Thread Starter

Deleted member 750607

Joined Dec 31, 1969
0
@Yaakov in the original post "I bought a USB programmer and was able to run a simple blink sketch on the ESP8266, but when I put the ESP8266 back onto my Arduino UNO, the error message came up again, "esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header" sounds a lot like something with connecting to an UNO is causing the issue.

@hbasile91 is there an UNO involved or no?
right now, no. im trying to flash the esp8266 into programming mode. once I get it in programming mode, ill switch back to connecting the Arduino UNO to the esp8266 and upload my code which is suopposed to track the international space station in the serial monitor.

I tried this once before, got the blink sketch working, assuming I had successfully put it into programming mode, but when I reconnected the UNO, I got the same error message as before I ever flashed the esp8266

so right now I have the programmer and the esp8266 successfully running a blink sketch, and wondering what to do next.
 

Yaakov

Joined Jan 27, 2019
3,735
@Yaakov in the original post "I bought a USB programmer and was able to run a simple blink sketch on the ESP8266, but when I put the ESP8266 back onto my Arduino UNO, the error message came up again, "esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header" sounds a lot like something with connecting to an UNO is causing the issue.

@hbasile91 is there an UNO involved or no?
Sorry, this is a continuation of a previous thread and I have no idea why the TS would return it to the UNO. I can no longer follow what is going on, so I guess it's time to call it quits.

I hope you can help.
 

Yaakov

Joined Jan 27, 2019
3,735
Programming mode is only active until you upload. Once you remove power or start a sketch it is not in program mode any more. I have no idea why you are trying to upload to the ESP-01 through the UNO, but good luck.
 

Thread Starter

Deleted member 750607

Joined Dec 31, 1969
0
Programming mode is only active until you upload. Once you remove power or start a sketch it is not in program mode any more. I have no idea why you are trying to upload to the ESP-01 through the UNO, but good luck.
that's what my sample code from a book did
 
Top