Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By kssoin
#59978
Creo wrote:1. I have a WIFI RGB strip controller: http://ru.aliexpress.com/item/RGBWW-Str ... e8a91a1adc
2. With my friend we downloaded full flash from controller.
3. Other friend helped to remove the protection on the MAC and remove pass for WI-FI.
4. There is only a problem with GPIO (grren and blue are mixed).
5. Android app in p.1 link (and of page)
6. Firmware in attach.

How is this FW flashed?
User avatar
By kssoin
#59979
martinayotte wrote:What error are you getting ?
Did the upload succeed ?
What is your code ?

Code: Select allvoid setup() {
  // put your setup code here,
  pinMode(2,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(2, HIGH);
  delay(1000);
  digitalWrite(2, LOW);
  delay(1000);
}

The following is the upload status
Code: Select allC:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages -hardware C:\Users\Karanbir Soin\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Karanbir Soin\Documents\Arduino\libraries -fqbn=esp8266com:esp8266:nodemcuv2:CpuFrequency=80,UploadSpeed=115200,FlashSize=4M3M -ide-version=10613 -build-path C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060 -warnings=default -prefs=build.warn_data_percentage=75 -verbose C:\Users\Karanbir Soin\Documents\Arduino\testblink15\testblink15.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages -hardware C:\Users\Karanbir Soin\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Karanbir Soin\Documents\Arduino\libraries -fqbn=esp8266com:esp8266:nodemcuv2:CpuFrequency=80,UploadSpeed=115200,FlashSize=4M3M -ide-version=10613 -build-path C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060 -warnings=default -prefs=build.warn_data_percentage=75 -verbose C:\Users\Karanbir Soin\Documents\Arduino\testblink15\testblink15.ino
Using board 'nodemcuv2' from platform in folder: C:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266
Using core 'esp8266' from platform in folder: C:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266
Detecting libraries used...
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/lwip/include" "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11  -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC   -DARDUINO=10613 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_NODEMCU"  -DESP8266 "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\sketch\testblink15.ino.cpp" -o "nul"
Generating function prototypes...
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/lwip/include" "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11  -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC   -DARDUINO=10613 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_NODEMCU"  -DESP8266 "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\sketch\testblink15.ino.cpp" -o "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/include" "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/lwip/include" "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/core" -c  -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC   -DARDUINO=10613 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_NODEMCU"  -DESP8266 "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266" "-IC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266\variants\nodemcu" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\sketch\testblink15.ino.cpp" -o "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\sketch\testblink15.ino.cpp.o"
Compiling libraries...
Compiling core...
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\cont.S.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\cont_util.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_eboot_command.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_flash_utils.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_i2s.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_noniso.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_phy.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_postmortem.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_si2c.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_timer.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_analog.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_digital.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_pulse.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_pwm.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_shift.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\heap.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\libc_replacements.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\time.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\uart.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\libb64\cdecode.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\libb64\cencode.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_cache.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_check.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_gc.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_hydrogen.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_nucleus.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\umm_malloc\umm_malloc.c.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Esp.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\FS.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\HardwareSerial.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\IPAddress.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\MD5Builder.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Print.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Schedule.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Stream.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\StreamString.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Tone.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Updater.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\WMath.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\WString.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\abi.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\base64.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\cbuf.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_main.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\debug.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\pgmspace.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs_api.cpp.o
Using previously compiled file: C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs_hal.cpp.o
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\cont.S.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\cont_util.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_eboot_command.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_flash_utils.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_i2s.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_noniso.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_phy.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_postmortem.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_si2c.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_timer.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_analog.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_digital.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_pulse.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_pwm.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_wiring_shift.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\heap.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\libc_replacements.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\time.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\uart.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\libb64\cdecode.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\libb64\cencode.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_cache.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_check.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_gc.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_hydrogen.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs\spiffs_nucleus.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\umm_malloc\umm_malloc.c.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Esp.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\FS.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\HardwareSerial.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\IPAddress.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\MD5Builder.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Print.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Schedule.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Stream.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\StreamString.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Tone.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\Updater.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\WMath.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\WString.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\abi.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\base64.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\cbuf.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\core_esp8266_main.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\debug.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\pgmspace.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs_api.cpp.o"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-ar" cru  "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\core\spiffs_hal.cpp.o"
Linking everything together...
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc" -g  -Os -nostdlib -Wl,--no-check-sections -u call_user_start -u _printf_float -u _scanf_float -Wl,-static "-LC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/lib" "-LC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/ld" "-LC:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/sdk/libc/xtensa-lx106-elf/lib" "-Teagle.flash.4m.ld" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy  -o "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/testblink15.ino.elf" -Wl,--start-group "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060\sketch\testblink15.ino.cpp.o" "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/arduino.ar" -lhal -lphy -lpp -lnet80211 -llwip_gcc -lwpa -lcrypto -lmain -lwps -laxtls -lespnow -lsmartconfig -lmesh -lwpa2 -lstdc++ -lm -lc -lgcc -Wl,--end-group  "-LC:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060"
"C:\Users\Karanbir Soin\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.9/esptool.exe" -eo "C:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/bootloaders/eboot/eboot.elf" -bo "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/testblink15.ino.bin" -bm dio -bf 40 -bz 4M -bs .text -bp 4096 -ec -eo "C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/testblink15.ino.elf" -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec

Sketch uses 250,869 bytes (24%) of program storage space. Maximum is 1,044,464 bytes.
Global variables use 33,032 bytes (40%) of dynamic memory, leaving 48,888 bytes for local variables. Maximum is 81,920 bytes.
C:\Users\Karanbir Soin\Documents\Arduino\hardware\esp8266com\esp8266/tools/esptool/esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/testblink15.ino.bin
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
   setting board to nodemcu
   setting baudrate from 115200 to 115200
   setting port from COM1 to COM3
   setting address from 0x00000000 to 0x00000000
   espcomm_upload_file
   espcomm_upload_mem
   setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   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
Uploading 255024 bytes from C:\Users\KARANB~1\AppData\Local\Temp\arduino_build_3060/testblink15.ino.bin to flash at 0x00000000
   erasing flash
   size: 03e430 address: 000000
   first_sector_index: 0
   total_sector_count: 63
   head_sector_count: 16
   adjusted_sector_count: 47
   erase_size: 02f000
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   setting serial port timeouts to 15000 ms
   setting serial port timeouts to 1000 ms
   espcomm_send_command: receiving 2 bytes of data
   writing flash
................................................................................ [ 32% ]
................................................................................ [ 64% ]
................................................................................ [ 96% ]
..........                                                                       [ 100% ]
starting app without reboot
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   espcomm_send_command: receiving 2 bytes of data
closing bootloader
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete

But the LED on GPIO2 does not blink.
User avatar
By martinayotte
#59980 GPIO2, as well as GPIO0, are special pins who needs to be both HIGH to allow execution boot mode.
How did you attached your LED to GPIO2, in "source" mode or in "sink" mode ?
Image
If it is in "source", the ESP won't boot properly in execution mode. Change the wiring to be in "sink" mode and make sure you have also the usual GPIO2 pullup in parallel to the LED wiring.