Skip to content
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

FRSKY RX6R not able to flash OTA #4348

Closed
1 task done
craigywsm opened this issue Nov 21, 2023 · 11 comments
Closed
1 task done

FRSKY RX6R not able to flash OTA #4348

craigywsm opened this issue Nov 21, 2023 · 11 comments
Labels
enhancement ✨ New feature or request

Comments

@craigywsm
Copy link

Is there an existing issue for this feature request?

  • I have searched the existing issues

Is your feature request related to a problem?

With Reference to #4077

i can confirm that when using Archer or Archer Plus receivers it does indeed include the option to flash OTA

However for the RX series of receiver e.g. RX6R there is no option to flash OTA as they have the option off accst or access firmware.

Describe the solution you'd like

For RX series to have the OTA option (RX6R etc)

Describe alternatives you've considered

No response

Additional context

No response

@craigywsm craigywsm added the enhancement ✨ New feature or request label Nov 21, 2023
@pfeerick
Copy link
Member

pfeerick commented Nov 22, 2023 via email

@craigywsm
Copy link
Author

@pfeerick i will double check when i get home but I am sure Ethos allows the update via OTA.
I am sure its all access receivers e.g. baked into access as I have an old R9M and it allows OTA

@ParkerEde
Copy link
Contributor

I am very sure that the "old" RX6R and RX4R do not support OTA. This was first introduced with the Archer receivers.

@pfeerick
Copy link
Member

pfeerick commented Nov 22, 2023 via email

@craigywsm
Copy link
Author

@ParkerEde @pfeerick
Some interesting information in the way the latest version of Ethos 1.4.14 behaves
an old RX8RPRO (accst RX) no option for OTA
20231123_211124

R9MM /mini (old non OTA version) no option for OTA
20231123_211105

RX6R (access firmware) has option for OTA
20231123_211008

Here is where it gets interesting RX6R (accst firmware) Has the OTA option ???
20231123_211048

It looks like to me it is looking at the RX of the firmware and saying does it support access of so allow OTA

It looks like #4077 is slightly off

@pfeerick
Copy link
Member

But does the option actually work? ... i.e. the option may be shown, but does it actually work, or is that a bug in ETHOS?

It probably uses the same checks we do (which was changed in #4185), and is simply one of "what product ID is this?", and "are we running a supported OTA RF module?" . There is zero communication with the RX, and no consideration of what firmware it is currently running... which means we'll probably end up showing the option without it actually being able to work also at some point.

btw, what radio is this with (the one not showing the OTA option), as you never mentioned?

inline bool isReceiverOTAEnabledFromModule(uint8_t moduleIdx, uint8_t productId)
{
if (productId >= 0x15 && (isModuleISRM(moduleIdx) || isModuleR9M(moduleIdx)))
return true;
else
return false;
}

@craigywsm
Copy link
Author

@pfeerick from memory it does work as I updated all my access RX6R's let me double check this though.
Sorry the radio is X9D2019

@craigywsm
Copy link
Author

But does the option actually work? ... i.e. the option may be shown, but does it actually work, or is that a bug in ETHOS?

It probably uses the same checks we do (which was changed in #4185), and is simply one of "what product ID is this?", and "are we running a supported OTA RF module?" . There is zero communication with the RX, and no consideration of what firmware it is currently running... which means we'll probably end up showing the option without it actually being able to work also at some point.

btw, what radio is this with (the one not showing the OTA option), as you never mentioned?

inline bool isReceiverOTAEnabledFromModule(uint8_t moduleIdx, uint8_t productId)
{
if (productId >= 0x15 && (isModuleISRM(moduleIdx) || isModuleR9M(moduleIdx)))
return true;
else
return false;
}

@pfeerick after some testing on ethos your right it does not flash OTA, it recognises the rx but the receiver never accepts the firmware.
I do apologise for waisting your time. And thank you for the time you have put into this ticket

@ParkerEde
Copy link
Contributor

@craigywsm so could this ticket be closed?

@craigywsm
Copy link
Author

Yes

@3djc 3djc closed this as completed Nov 29, 2023
@bsongis
Copy link
Contributor

bsongis commented Dec 6, 2023

RX4R and RX6R cannot be flashed OTA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants