Questions tagged [ota]

Over-the-air updates to flash a new firmware in a microcontroller without physically accessing it

26 questions
3
votes
1 answer

Wireless programming of Arduino

I'm trying to find a convenient way to program my Arduino remotely (by Bluetooth or Wi-Fi) because it will be packed and placed outside of my working place. Found a few ways (Arduino Cloud and Blynk) but most of them are about IoT and this is not an…
Dante
  • 133
  • 4
3
votes
1 answer

Is it possible to check for correct architecture on OTA update (ESP32 or ESP8266)?

Having a skech running on ESP8266 as well as ESP32 with the ability to update via OTA, uploading the wrong binary (upload to ESP8266 compiled for ESP32, and vice versa) leads to crashing the MCU and not being able to do OTA Updates any more. The…
ridgy
  • 181
  • 5
3
votes
4 answers

Why doesn't OTA work with the Ai-Thinker ESP32-CAM board?

I have working code on an Ai-Thinker ESP32-CAM board, programming over serial. I would like to reprogram using OTA, but adding in the functionality from the BasicOTA sketch (which I have done on various other boards successfully) fails when OTA…
rolinger
  • 174
  • 1
  • 6
2
votes
1 answer

OTA over MQTT for ESP32

Before starting working, I am just researching around how can I achieve OTA over MQTT in ESP32 in using Arduino IDE. The process I understand the esp listen to MQTT messages and then received that file over MQTT(not fully at once may be in chunks).…
2
votes
0 answers

Nodemcu OTA - no response issue

I was trying to use nodemcu for a project. No issues when uploading the OTA sample code. Added led blink to test. But when trying to upload the second sketch via OTA getting an error no response from device. Tried ping to the Nodemcu IP and no…
Anandu v t
  • 21
  • 2
2
votes
1 answer

OTA-program SPIFFS on the ESP8266

Something I'd like information on is whether it is possible to upload a SPIFFS filesystem image to the ESP8266. In theory it might work: It can be uploaded over USB, and according to the logs the flash location changes, but that's about it.…
RDragonrydr
  • 338
  • 4
  • 15
1
vote
0 answers

ESP32 HTTP Update and x-MD5 header

https://github.com/espressif/arduino-esp32/tree/master/libraries/HTTPUpdate I found out that this library can read x-MD5 header but looks like it's going through with the update no matter what MD5 I set. I thought it's for verifying the update, I do…
JvJ
  • 21
  • 1
1
vote
1 answer

ESP32 OTA update over MQTT using "update.h"

I am trying to do OTA over MQTT using update.h library. I am publishing firmware file over MQTT in a specified chunk size. The file is receiving at ESP32 end. I am supplying the received data to update.write. In start ~150 packet are written…
1
vote
1 answer

ESP-01 OTA Error uploading

Im trying to do OTA upload from Arduino IDE. Uploaded BasicOTA to ESP-01 with flash size set to (FS:2mb, OTA 1019kb). ESP-01 connects and shows up in Port selection, but when trying to upload I…
NccWarp9
  • 229
  • 1
  • 7
1
vote
1 answer

OTA update - sodaq board (arduino M0 compatible)

I am trying to perform a firmware update from an SD card, on a Sodaq Sara AFF board. If i use the SDU.h library in my sketch, it fails the board check. See this link please. I have edited the SDU.cpp myself to force the selection of…
Sean
  • 111
  • 1
1
vote
0 answers

OTA framework update by GitHub server Connection fail error

I have tried to use some OTA programming method by website servers like this method which was not successful and asked here. So I have tried the own Arduino library shown below: and changed the ESP OTA GitHub Library example code : to this kind…
Soheil Paper
  • 1
  • 1
  • 7
1
vote
0 answers

Searching for free OTA Server Host list name

I have seen this video: Over The Air programming Tutorial For programming the Arduino modules via internet OTA system, so I have tried the adafruit account and don't find the AIO_KEY part on it, ( as you can see below): So I like to know about…
Soheil Paper
  • 1
  • 1
  • 7
1
vote
2 answers

Is 1MB flash enough for OTA upload in ESP-01?

I'am asking this question, because in my ESP-01 OTA upload always fail. In fact update won't even start. When update was triggered esp wifi led(build in blue) indicates "working" , but after cca one second esp reset itself. And The original program…
Sahasrar
  • 161
  • 1
  • 8
1
vote
1 answer

ESP8266 OTA update with different flash size settings?

I have an ESP8266 in a project. It's specifically this ESP8266 SMT Module - ESP-12F item. It's been working great with OTA, but I realized belatedly that I didn't change the flash settings when I started compiling through the Arduino IDE several…
Brick
  • 174
  • 3
  • 13
1
vote
0 answers

OTA update for ESP32 in Arduino ide from a different nework

I am trying to use the OTA to update my code in esp32. I have used Web updater so far and it has worked perfectly. But I want to update the code even when I am not connected in the same network with my esp32. Say, the esp32 have an ip from my phone…
sdebarun
  • 71
  • 1
  • 7
1
2