Z-Uno2 OTA Sketch update
Posted: 26 May 2022 10:50
I am attempting to upload my sketch using OTA to my Z-Uno2 (3.0.9). I am using Simplicity Studio 6 and an Aeotec USB 5 controller stick which successfully communicates with the Z-Uno2. I can send commands, update configuration parameters etc.
My testing uses the Radio Blink sketch and I have located the RadioBlink_ino_signed.bin in the temporary build folder as the source for the OTA upload. Using Simplicity Studio 5 I have successfully executed the "Get" command as the first stage of the firmware update. It reports Target 0 and Target 1 firmware information.
I have set config parameter 20 to 1 ready for OTA. When I execute the Update command for Target 1 the process repeatedly attempts to send packet 1 of 264. This is unsuccessful and the update does not proceed (I have tried the .hex file with the same problem). I've attached the log file. I have previously updated other devices, e.g. Heltun using this hardware and software.
Can you please let me know what I need to do to perform OTA updates. My final application sketch will run on a Z-Uno2 where USB access will be very difficult without removing ceiling coverings so OTA is essential.
My testing uses the Radio Blink sketch and I have located the RadioBlink_ino_signed.bin in the temporary build folder as the source for the OTA upload. Using Simplicity Studio 5 I have successfully executed the "Get" command as the first stage of the firmware update. It reports Target 0 and Target 1 firmware information.
I have set config parameter 20 to 1 ready for OTA. When I execute the Update command for Target 1 the process repeatedly attempts to send packet 1 of 264. This is unsuccessful and the update does not proceed (I have tried the .hex file with the same problem). I've attached the log file. I have previously updated other devices, e.g. Heltun using this hardware and software.
Can you please let me know what I need to do to perform OTA updates. My final application sketch will run on a Z-Uno2 where USB access will be very difficult without removing ceiling coverings so OTA is essential.