Did I miss anything ?
Hi @rkuo2000,
May I know if AMB82 Mini have uploaded the OTA firmware and connected to the same network as the PC running the UI?
Can you also check the SDK version?
Thank you.
SDK 4.1.1-build20260306 installed.
I set the server ip address incorrectly, after I modified the OTA server ip address.
OTA device is connected, but after I press the button to upload OTA_NTPclient.bin, it seems not rebooting ?
The log shows that the bin has issue. Could you show the steps that how you create the OTA bin? thanks.
Normally the OTA.bin is automatically generated after compiling. online guide
Note: There is a hidden check value called timestamp The OTA firmware must be newer than the currently running firmware; otherwise, the OTA process will fail and roll back to the original firmware.
I think I pick the wrong .bin to upload.
But after I upload ota.bin, the following message don’t look like it is running, nor if I press reset
#include "OTA.h"
#include "WiFi.h"
char ssid[] = "Network_SSID5"; // your network SSID (name)
char pass[] = "Password"; // your network password
int status = WL_IDLE_STATUS;
int port = 3000; // your server port number
char* server = "192.168.3.14"; // your server ip address
OTA ota;
void setup()
{
Serial.begin(115200);
// Connection to internet
while (status != WL_CONNECTED) {
Serial.print("Attempting to connect to WPA SSID: ");
Serial.println(ssid);
status = WiFi.begin(ssid, pass);
delay(2000);
}
// Set up the threads
ota.start_OTA_threads(port, server);
}
void loop()
{
// Empty or add non-blocking code here
}
the OTA demo is simple, please help me to check following points when compiling the bin,
- arduino ide menu, select OTA enable
- arduino ide menu, select NN load from SD card
- server, check the server device IP
- coding, need to setup wifi ssid and password, must be same network as server device
-
char ssid[] = "Network_SSID5"; // your network SSID (name) char pass[] = "Password"; // your network password
-
- coding, need to setup the server IP
char* server = “192.168.3.14”;
- coding, need to setup OTA
-
// Set up the threads ota.start_OTA_threads(port, server);
-
The following note is also important when doing OTA testing.
Note: There is a hidden check value called timestamp The OTA firmware must be newer than the currently running firmware; otherwise, the OTA process will fail and roll back to the original firmware.
It works now
I probably copied an older ota.bin for UI, so it is out-of-date.
Thanks !
Richard
Michael Zhang <notifications@ameba.discoursemail.com> 於 2026年3月19日週四 上午10:54寫道:


