Skip to content
This repository was archived by the owner on Jan 11, 2020. It is now read-only.
This repository was archived by the owner on Jan 11, 2020. It is now read-only.

OTA problem #78

@poesel

Description

@poesel

I'm trying to get OTA running with VSC but without success so far.
I've tried 0.1.8 and also current master (as #52 seems to have found a fix for the problem).
Unfortunately it doesn't work for me. The IP address is correct. Here's the code:

`#include <Arduino.h>
#include <Basecamp.hpp>

Basecamp iot{
Basecamp::
SetupModeWifiEncryption::
secured
};

void setup() {
iot.configuration.set("OTAPassword", "qwe");
iot.configuration.set("OTAActive", "true");
iot.begin();
}

void loop() {
// put your main code here, to run repeatedly:
}`

PlatformIO.ini:
`[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit
framework = arduino

lib_deps =
ArduinoJson@<6.0

monitor_speed = 115200

upload_protocol = espota
upload_port = 192.168.0.39`

and the output from esptool:
Checking size .pioenvs/esp-wrover-kit/firmware.elf Memory Usage -> http://bit.ly/pio-memory-usage DATA: [= ] 14.2% (used 46368 bytes from 327680 bytes) PROGRAM: [======== ] 79.3% (used 1038776 bytes from 1310720 bytes) esptool.py v2.6 Configuring upload protocol... AVAILABLE: esp-prog, espota, esptool, ftdi, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa CURRENT: upload_protocol = espota Uploading .pioenvs/esp-wrover-kit/firmware.bin 17:17:06 [DEBUG]: Options: {'timeout': 10, 'esp_ip': '192.168.0.39', 'host_port': 16367, 'image': '.pioenvs/esp-wrover-kit/firmware.bin', 'host_ip': '0.0.0.0', 'auth': '', 'esp_port': 8266, 'spiffs': False, 'debug': True, 'progress': True} 17:17:06 [INFO]: Starting on 0.0.0.0:16367 17:17:06 [INFO]: Upload size: 1038896 Sending invitation to 192.168.0.39 .......... 17:18:46 [ERROR]: No response from the ESP *** [upload] Error 1

Can someone help me? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions