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

OTA adjustments for Argon #2045

Merged
merged 8 commits into from
Apr 15, 2020
Merged

OTA adjustments for Argon #2045

merged 8 commits into from
Apr 15, 2020

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Mar 9, 2020

Problem

This PR introduces the following changes:

  1. Reduce the maximum number of firmware chunks that can be requested by an Argon during OTA from 40 to 20. Argon doesn't seem to be able to receive more than 25 chunks from a given flight of chunks, which causes it to drop UpdateDone messages repeatedly.

  2. Do not wait for an ACK for a ChunkMissed message synchronously. This causes the comms library to drop packets and blocks the system loop during OTA.

  3. Rework logging in the OTA code so that it's easier to debug.

References

  • [ch48671]

@sergeuz sergeuz added this to the 1.6.0-rc.1 milestone Mar 9, 2020
@sergeuz sergeuz requested a review from avtolstoy March 9, 2020 17:58
@avtolstoy
Copy link
Member

avtolstoy commented Mar 19, 2020

@sergeuz Do we want to adjust number of chunks for other platforms as well? No longer needed.

@avtolstoy avtolstoy added ready to merge PR has been reviewed and tested and removed needs review labels Mar 31, 2020
@avtolstoy avtolstoy modified the milestones: 1.6.0-rc.1, 2.0.0 Apr 15, 2020
@avtolstoy avtolstoy merged commit 1c7a63f into develop Apr 15, 2020
@avtolstoy avtolstoy deleted the fix/argon_ota branch April 15, 2020 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ready to merge PR has been reviewed and tested
Projects
None yet
2 participants