-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Subject of the issue
The Over The Air (OTA) firmware update fails. On an RTK Express system running v1.10 firmware, entering WiFi Config mode and then initiating a firmware upload of RTK_Surveyor_Firmware.bin displays the message "OTA could not begin" on the browser and then reboots due to a failed assertion.
Your workbench
- What version of RTK Surveyor firmware are you running? v1.10
- Are you connected to the device over Bluetooth? What app? No, connected via WiFi to 192.168.4.1
- Are you transmitting NTRIP back to the device? No
- How is everything being powered? Battery / USB cable
- Are there any additional details that may help us help you? See attached log file.
Steps to reproduce
- Power on the RTK Express system
- Load firmware v1.10
- Power on the RTK Express system
- Press and release the Setup button to enter Setup mode
- Press and release the Setup button multiple times until WiFi Config is selected
- Wait for the RTK Express to enter WiFi config mode
- On a PC or MAC, select the WiFi network "RTK Config"
- With a browser, connect to http://192.168.4.1/
- Click on the "System Configuration" button near the bottom of the screen
- Click on the "Choose File" button
- Using the dialog box that pops up select the "RTK_Surveyor_Firmware.bin" file
- Click the upload button
Expected behavior
The system should fail gracefully, displaying a message on the browser and then continue operation in WiFi Config mode.
Actual behavior
The system resets due to a failed assertion.
I realize that this is old firmware and that the fix will not be made to the old firmware. However a fix should be applied to any new firmware to enable the download to fail gracefully back to WiFi Config mode.
What I was trying to test was the upgrade path from old firmware to new firmware. There have been several changes to the partition structure over the past couple of months. As I understand things, the old APP partition was 1.9MB and the when the current image is greater than 1.9MB I would expect the firmware download to fail.
I believe there needs to be a small (< 1.9MB) intermediate firmware image built using the new partition structure. This image gets downloaded to the device before any new firmware images are downloaded.