Skip to content

Can't start OTA Update via serial, Unknown choice: u #603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aceat64 opened this issue Mar 22, 2025 · 1 comment
Open

Can't start OTA Update via serial, Unknown choice: u #603

aceat64 opened this issue Mar 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@aceat64
Copy link

aceat64 commented Mar 22, 2025

RTK Everywhere version: v2.1-Feb 20 2025
Board: RTK Postcard

Using the serial config menu, selection of the option u) Update to new firmware fails with Unknown choice: u.

SparkPNT RTK Postcard v2.1-Feb 20 2025
** Bluetooth SPP and BLE broadcasting as: Postcard Base-E626 **
Menu: Main
1) Configure GNSS Receiver
2) Configure GNSS Messages
3) Configure Base
4) Configure Ports
5) Configure Logging
6) Configure WiFi
7) Configure TCP/UDP
f) Firmware Update
i) Configure Corrections Priorities
p) Configure PointPerfect
r) Configure Radios
s) Configure System
u) Configure User Profiles
+) Enter Command line mode
x) Exit
f

Menu: Firmware Update
Current firmware: v2.1-Feb 20 2025
a) Automatic firmware updates: Disabled
c) Check SparkFun for device firmware: Not requested
e) Allow Beta Firmware: Enabled
u) Update to new firmware: v2.2-Mar 10 2025 - Not requested
x) Exit
u
Unknown choice: u

Menu: Firmware Update
Current firmware: v2.1-Feb 20 2025
a) Automatic firmware updates: Disabled
c) Check SparkFun for device firmware: Not requested
e) Allow Beta Firmware: Enabled
u) Update to new firmware: v2.2-Mar 10 2025 - Not requested
x) Exit
@PaulZC
Copy link
Contributor

PaulZC commented Mar 24, 2025

Hi Andrew (@aceat64 ),

Thanks for reporting this.

The root cause appears to be that newOTAFirmwareAvailable is never set to true. This line is the critical one. @nseidle was restructuring the code around the time of this commit. Looks like we missed something.

While we fix this, there is a work-around:

Open the "Debug Software" menu (s d). Set option "60) Print firmware update states" to "Enabled".

Exit the menus.

Re-open the Firmware Update menu.

Ensure you have "Allow Beta Firmware" set to "Enabled", and you should be able to update.

Best wishes,
Paul

@PaulZC PaulZC changed the title [Bug] [RTK Postcard] Can't start OTA Update via serial, Unknown choice: u [Bug] Can't start OTA Update via serial, Unknown choice: u Mar 24, 2025
@PaulZC PaulZC added the bug Something isn't working label Mar 24, 2025
@PaulZC PaulZC changed the title [Bug] Can't start OTA Update via serial, Unknown choice: u Can't start OTA Update via serial, Unknown choice: u Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants