Questions tagged [ota]

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

32 questions
3
votes
2 answers

Understanding ESP8266 OTA Updates: A Question on Limitations

I am currently researching OTA updates for ESP8266 firmware, and I have a question that I couldn't find an answer to: Question: Is the number of OTA updates limited? According to the documentation, it states: "The flash chip size should be large…
M-125
  • 31
  • 1
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
  • 7
3
votes
5 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
  • 204
  • 2
  • 8
2
votes
0 answers

Uploading code to ESP32 using Arduino OTA

im trying to upload my code to my esp32 through OTA iam able to discover the network port but my code is always failing to upload i donno the reason behind it #include #include const char* ssid = "Redmi"; const char*…
2
votes
0 answers

Uno R4 WiFi board is online but no OTA option for upload

I have followed these instructions to start using my new Uno R4 WiFi with the Arduino IoT Cloud. Everything works fine (even though sometimes the example screens do not exactly correspond with the actual screens). My Uno R4 WiFi is online and the…
user2343618
  • 121
  • 3
2
votes
2 answers

Arduino OTA - difference between Arduino IDE and PlatformIO

I used to OTA sketches and data files using the ArduinoOTA and ESP32 sketch data Upload tools and the ESP32 devkit, for example when using the Arduino IDE. Versions: Arduino IDE- 1.8.19 ESP32 on Arduino IDE - 1.0.6 ArduinoOTA 1.0.9 Moving to…
guyd
  • 1,049
  • 2
  • 26
  • 61
2
votes
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…
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

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
  • 184
  • 4
  • 13
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.…
user47164
1
vote
0 answers

How to set OTA on ESP 32

I am currently using an evalkit Nina W106-00B board that incorporates an ESP32. I am desperately trying to implement OTA (Over-The-Air) updates. I started by modifying my partitions.csv file, which looks like this (without OTA) and works well: nvs,…
Zapsalis
  • 11
  • 1
1
vote
0 answers

Looking for FOTA to update firmware with wi-fi over internet (ESP32)

I have tried ArduinoOTA and AsyncElegantOTA and they work, but only when you are in the same wi-fi as ESP32. I need to update ESP32 firmware "remotely" meaning when I'm not in the same local wi-fi network as ESP32. Has this been done yet for…
tipo1000
  • 21
  • 1
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
2 3