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

Flash PX4 onto Crazyflie 2 problem #7624

Closed
ageofish opened this issue Jul 16, 2017 · 7 comments · Fixed by #7653
Closed

Flash PX4 onto Crazyflie 2 problem #7624

ageofish opened this issue Jul 16, 2017 · 7 comments · Fixed by #7653

Comments

@ageofish
Copy link

I tried to flash PX4 onto my crazyflie 2, I tried master, stable and beta (via QGroundControl or manually), all of these finished flashing (erase, program, verify), but CF wasn’t able to connect with QGC. It seems the flie is still in boot loading mode (green M1 light blinks), QGC firmware tab detected the flie and suggest flashing:

Found device: PX4 FMU V2
connected to boot loader:
version: 5
Board ID: 12
Flash size: 1032192

I tried using the latest PX4 firmware, master, stable, and beta, none were able to connect after flashing.
On the other hand, I had a older piece of code “50ecee9d” Wed Jun 7 14:19:57 2017 that I can flash and connect with QGC, calibrate and so on.
Is this a known issue? Or did I miss something obvious?

9ad1fb9b-9438-40be-9e0b-46fedc485e04

a60c7e48-bb42-4bb2-953e-7d8d916e8834

@YuhangWUST
Copy link

I have the same problem just like you. I'm Looking for the solution, and I haven't found it yet. Do you have any idea about this?

@dagar
Copy link
Member

dagar commented Jul 19, 2017

@dennisss do you know anything about this?

@YuhangWUST
Copy link

@ageofish I have already used the older piece code and succeeded flash and connect with QGC and so on, but cf2 cant connect with android QGC or official crazyflie phone app and cant fly. Have you solved it?

@ageofish
Copy link
Author

Just saw the replies. Yes, I also found older commits on stable branch that works.
And I did a "binary search" on the commit history, it seems 1be089c started to break the "stable" branch, maybe someone can take a look to see exactly why?

And what's interesting is that if I start with a working commit, and flash anything after 1be089c, it still works until another certain commit. Then if I start with a non-working commit, flashing anything after 1be089c does not work. Painful discovery, but hopefully someone with more knowledge will know exactly why given the hints.

@dennisss
Copy link
Contributor

I think the issue is right here: fc30f29, some odd timing issue with the magnetometer resets

@YuhangWUST
Copy link

YuhangWUST commented Jul 20, 2017

@dennisss @ageofish Thank for your help. It works. But there seems to be another problem, We use the latest firmware, can now connect to the computer side of the QGC ground station for debugging, but can not take off, and not connected to the mobile terminal QGC ground station, but the crazyflie official app can be connected, Between them seems to be able to communicate, because when I put the throttle down and the direction of the bar Right, M2, M3 bright blue light, and M1 extinguished. it still can not take off. How can i solve this problem?

@dennisss
Copy link
Contributor

@YuhangWUST I see what you mean now. I've retested with a clean build and saw that one more little fix was needed. See #7658

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

Successfully merging a pull request may close this issue.

4 participants