tarxvftech / FCS-152

FCS-152 PRC-152 clone software. Warning: Do not flash unless comfortable with arduino IDE.
18 stars 3 forks source link

AutoConnect OTA support may not always work correctly #47

Open tarxvftech opened 1 year ago

tarxvftech commented 1 year ago

Hard to describe, but occasionally during dev flashing with OTA does not appear to work reliably, particularly when working on the menu system. It often seems like updates involving changes to the large data structures there don't work reliably unless it's flashed over serial with make flash. (make flash2 is not necessary).

And yet, I also know for a fact that the OTA does work sometimes. What feedback can we get from that library's OTA support to see if it's erroring at some point?

tarxvftech commented 1 year ago

It seems that it's pretty consistently failing to flash over wifi now. From that, I assume it's related to the size of the sketch in some way.

AlexGlide commented 1 year ago

Mike, what firmware version on your radio? As far as I remember, renewing firmware from 2.0.0000 to 2.1.1226 was very difficult, because the radio Wi-Fi hasn't Access Point mode, so it was not so easy to flash new version properly.

tarxvftech commented 1 year ago

I have yet to flash it the official way, actually. The OTA updates here are the ones built into the current firmware in the master branch (that is, the firmware images that don't actually work as a radio).

AlexGlide commented 1 year ago

I flashed my radio, but it was not easy to do.

Install the FCS App on smartphone and select menu item "Upgrade 1.0" for updating firmware. And you need to download new firmware to you smartphone/tablet first!

As the radio turned out into a service mode (hold down "monitor" button under the PTT button and turn on the radio), user should enable updating the firmware (you should not connect to PC with cable! It's important!).

You need to enable Wi-Fi and GPS (WTF?! Is this an espionage point?) After all App will find your WI-FI hot-spot. In "Password" line you need to enter PASSWORD FROM YOUR WI-FI HOTSPOT! (It's also important!) After all of this the App will connect to your radio and you will be able to flash new firmware.

Ooh, it was not easy to understand. The FCS representative told me the radio haven't have AP mode in firmvare 2.0.0000 version.

That's all. 😉

ср, 12 апр. 2023 г., 09:12 tarxvf @.***>:

I have yet to flash it the official way, actually. The OTA updates here are the ones built into the current firmware in the master branch (that is, the firmware images that don't actually work as a radio).

— Reply to this email directly, view it on GitHub https://github.com/tarxvftech/FCS-152/issues/47#issuecomment-1504717346, or unsubscribe https://github.com/notifications/unsubscribe-auth/A54MAKVLBBZJH4P4NSXNDBDXAZBVJANCNFSM6AAAAAAVPO4OW4 . You are receiving this because you commented.Message ID: @.***>