Skip to content

OTA Example fails #3187

@ghost

Description

It starts with the OTA protocol but not with sending any data.
This problem is the same in platformio and Arduino IDE.

The OTA code is the example code BasicOTA.

Ready
IP address: 192.168.178.24
Start
Progress: 0%
Error[2]: Connect Failed
Error[4]: End Failed

Basic Infos

Hardware

Hardware: ESP-12

Description

Problem description

Settings in IDE

Module: Generic ESP8266 Module
Flash Size: 4MB/1MB
CPU Frequency: 80Mhz
Flash Mode: dio
Flash Frequency: 40Mhz
Upload Using: OTA
Reset Method: ck

Sketch

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Debug Messages

Message read with serial connection while uploading using OTA.

Ready
IP address: 192.168.178.24
Start
Progress: 0%
Error[2]: Connect Failed
Error[4]: End Failed

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