Skip to content

(RF Bridge) Problem with OTA update via PlatformIO #832

@jcisio

Description

@jcisio

Hi,

I flashed my RF Bridge v2 first with 0.9.5 binary, then with 0.9.4 binary. Now I'm switching to PlatformIO to do OTA update but it does not seem to work.

...
Building in release mode
Compiling .pio/build/rfbridge/src/main.ino.cpp.o
Retrieving maximum program size .pio/build/rfbridge/firmware.elf
Checking size .pio/build/rfbridge/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [====      ]  39.5% (used 32388 bytes from 81920 bytes)
Flash: [======    ]  56.3% (used 429100 bytes from 761840 bytes)
Configuring upload protocol...
AVAILABLE: espota, esptool
CURRENT: upload_protocol = espota
Uploading .pio/build/rfbridge/firmware.bin
00:20:16 [DEBUG]: Options: {'esp_ip': '192.168.5.83', 'host_ip': '0.0.0.0', 'esp_port': 8266, 'host_port': 19328, 'auth': 'OTAPASSWORD', 'image': '.pio/build/rfbridge/firmware.bin', 'spiffs': False, 'debug': True, 'progress': True}
00:20:16 [INFO]: Starting on 0.0.0.0:19328
00:20:16 [INFO]: Upload size: 433248
00:20:16 [INFO]: Sending invitation to: 192.168.5.83
00:20:26 [ERROR]: No Answer
*** [upload] Error 1
============================================== [FAILED] Took 13.09 seconds ==============================================

Environment    Status    Duration
-------------  --------  ------------
rfbridge       FAILED    00:00:13.086
========================================= 1 failed, 0 succeeded in 00:00:13.086 =========================================
The terminal process "pio 'run', '--target', 'upload'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Any idea? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions