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

CFclient can't update deck when multiple are attached #616

Closed
knmcguire opened this issue Jun 16, 2022 · 6 comments
Closed

CFclient can't update deck when multiple are attached #616

knmcguire opened this issue Jun 16, 2022 · 6 comments
Labels
Milestone

Comments

@knmcguire
Copy link
Contributor

knmcguire commented Jun 16, 2022

In this discussion somebody encountered that the lighthouse deck's firmware does not get updated if any other deck is attached: https://github.com/orgs/bitcraze/discussions/96

This also occurs with the AIdeck if a flowdeck or any other deck is attached.

Platform: Windows 11

How to reproduce:

  1. Have a Crazyflie with a lighthouse deck or AIdeck, and attach another deck to it as well (which is compatible).
  2. Go the the cfclient, go to Connect >Bootloader>flash the latest release (with warmboot)

Result:
The NRF and STM get reflashed but the to be updated deck is skipped.

What I would expect:
Either that the deck is updated without problems, or that there is at least a warning like: 'Multiple decks detected, Can't update'

@knmcguire knmcguire added the bug label Jun 16, 2022
@krichardsson
Copy link
Contributor

Can not reproduce

@krichardsson
Copy link
Contributor

krichardsson commented Mar 7, 2023

This problem still exists. I get if from time to time, but it is a bit random.
I got it with a Lighthouse deck (with outdated FPGA binary) and a LED ring deck. Curiously enough it works sometimes, but not always.

@whoenig
Copy link
Contributor

whoenig commented Mar 7, 2023

I have the update problem also frequently (usd + aideck). The main problem I have is that there seems that there is no proper error checking: if the 1wire reports the aideck works, but the UART connection doesn't work for some reason, there is no message. Similarly, when updating the firmware and there is some sort of error, there is no report on that at the end.

@krichardsson
Copy link
Contributor

Thanks for the input @whoenig !

@knmcguire
Copy link
Contributor Author

This is a weird issue that lacks in reproducibility but it comes back every once in a while. it needs more investigation.

@krichardsson
Copy link
Contributor

There seems to be a number of problems here working together. PRs #664 and bitcraze/crazyflie-lib-python#398 hopefully fixes them.

Tested with LED-ring + AI-deck + LH-deck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants