Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading OTA firmware faild #1

Open
simeongr87 opened this issue Feb 22, 2024 · 1 comment
Open

Uploading OTA firmware faild #1

simeongr87 opened this issue Feb 22, 2024 · 1 comment

Comments

@simeongr87
Copy link

Hello and thanks for your code.
Im trying to flash but im getting the folowing error.

Processing nodemcuv2_ota (platform: espressif8266; board: nodemcuv2; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (4.2.1) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:

  • framework-arduinoespressif8266 @ 3.30102.0 (3.1.2)
  • tool-esptool @ 1.413.0 (4.13)
  • tool-esptoolpy @ 1.30000.201119 (3.0.0)
  • tool-mklittlefs @ 1.203.210628 (2.3)
  • tool-mkspiffs @ 1.200.0 (2.0)
  • toolchain-xtensa @ 2.100300.220621 (10.3.0)
    LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 46 compatible libraries
    Scanning dependencies...
    Dependency Graph
    |-- Adafruit GFX Library @ 1.11.9
    |-- Adafruit ILI9341 @ 1.6.0
    |-- XPT2046_Touchscreen @ 0.0.0-alpha+sha.26b691b2c8
    |-- Adafruit BusIO @ 1.15.0
    |-- Wire @ 1.0
    |-- PubSubClient @ 2.8.0
    |-- ESP8266WiFi @ 1.0
    |-- ArduinoOTA @ 1.0
    |-- SPI @ 1.0
    Building in release mode
    Retrieving maximum program size .pio\build\nodemcuv2_ota\firmware.elf
    Checking size .pio\build\nodemcuv2_ota\firmware.elf
    Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
    RAM: [==== ] 36.5% (used 29936 bytes from 81920 bytes)
    Flash: [==== ] 39.5% (used 412404 bytes from 1044464 bytes)
    Configuring upload protocol...
    AVAILABLE: espota, esptool
    CURRENT: upload_protocol = espota
    Uploading .pio\build\nodemcuv2_ota\firmware.bin
    18:03:51 [DEBUG]: Options: {'esp_ip': '192.168.1.199', 'host_ip': '0.0.0.0', 'esp_port': 8266, 'host_port': 31055, 'auth': '', 'image': '.pio\build\nodemcuv2_ota\firmware.bin', 'spiffs': False, 'debug': True, 'progress': True}
    18:03:51 [INFO]: Starting on 0.0.0.0:31055
    18:03:51 [INFO]: Upload size: 416560
    18:03:51 [INFO]: Sending invitation to: 192.168.1.199
    18:04:01 [ERROR]: No Answer
    *** [upload] Error 1
    ======================================================================== [FAILED] Took 13.80 seconds ========================================================================
    Environment Status Duration

nodemcuv2 SUCCESS 00:00:28.444
nodemcuv2_ota FAILED 00:00:13.799
=================================================================== 1 failed, 1 succeeded in 00:00:42.242 ===================================================================

@mineiwik
Copy link
Owner

Hello @simeongr87
It seems like that the device under the above IP is not reachable. Have you tried to ping the controller under this IP?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants