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

Unclear firmware version <=> hardware correspondance in documentation #7324

Closed
anuppari opened this issue May 30, 2017 · 17 comments
Closed

Unclear firmware version <=> hardware correspondance in documentation #7324

anuppari opened this issue May 30, 2017 · 17 comments
Assignees

Comments

@anuppari
Copy link
Contributor

It is unclear which firmware version should be used with the Pixhawk Mini (i.e., FMUv2, FMUv3, or FMUv4).
The documentation page lists it as v4, however QGC refuses to flash v4 citing incompatible board ID:
pic2

This release page suggests it should be v3, though it lists it as "Pixhawk (2) Mini", even though 3DR nor the documentation pages list it as being a "2", and the pixhawk 2 is a completely different device.

When connecting a new pixhawk mini to QGC, it lists it as having FMUv2. Even after flashing v3 (i.e., "custom" option in QGC), QGC still reads it as having v2 onboard. QGC allows the mini to be flashed by v2 and v3, so it's not clear which one to use:
pic1

So which version should be used with the pixhawk mini?

@anuppari
Copy link
Contributor Author

Also, QGC seems to automatically download v2, so is that the correct one?

pic3

@mhkabir
Copy link
Member

mhkabir commented May 31, 2017

v2 or v3 for the Pixhawk Mini. The v3 target uses the full 2MB flash.

I will fix the documentation in a minute. Sorry about the confusion.

@anuppari
Copy link
Contributor Author

What is the full flash used for? I've seen some mention of needing a different firmware for using the LPE instead of the EKF, does v3 include both?

@mhkabir
Copy link
Member

mhkabir commented Jun 1, 2017

Yes v3 includes both

@dagar
Copy link
Member

dagar commented Dec 6, 2017

I believe this has been improved. Please reopen if I'm wrong.

@dagar dagar closed this as completed Dec 6, 2017
@charles-blouin
Copy link

Hi,

I would like to confirm that the V3 seems like the right firmware. The V2 outputs an error (GRYO 0 not found). V4 refuses to install. The documentation here on the wiki seems wrong.

@dagar
Copy link
Member

dagar commented Dec 21, 2017

@charles-blouin which board do you have and which version of the Firmware did you try?

@charles-blouin
Copy link

charles-blouin commented Dec 21, 2017

This is with a Pixhawk mini. I used the px4fmu-v3_default.px4 firmware on the github release page, which Qgroundcontrol reports as 1.7.0. I was able to perform the calibrations and correctly display the attitude in Qgroundcontrol.

I am new to the PX4 environment. When I received the Pixhawk Mini, I flashed the new firmware using the default firmware in Qground control, and I kept obtaining the error Preflight fail: no gyro sensor 0. I spent a few hours researching this. The information of the wiki I linked above confused me. If I connect the Pixhawk Mini in Qgroundcontrol, the board reports as a PX4 FMU V2 in the firmware tab. Then, when I flash the firmware using the default PX4 flight stack, the gyro is not recognized and the calibration fails. I tried to manually flash the firmware for the FMU v4 using the Custom Firmware file option, but that reports a board id error and the firmware does not upload. In the end, only the firmware for the v3 FMU worked.

@LorenzMeier LorenzMeier reopened this Dec 21, 2017
@LorenzMeier
Copy link
Member

@santiago3dr Could you re-test with QGC and Pixhawk Mini?

@charles-blouin
Copy link

charles-blouin commented Dec 21, 2017

Aditionnal information:
Here is a screenshot of what happens when I plugin the Pixhawk mini:
image
When I was flashing the firmware using the default configuration as in the image above, Qgroundcontrol was downloading the v2 firmware version, and it had the "Preflight fail: no gyro sensor 0" Error.
Now that I have flashed the v3 version manually, when I reflash the board using the default settings, Qgroundcontrol downloads the V3 firmware, which works.

@santiago3dr
Copy link

There was an issue with the pixhawk mini running 1.7.1 that flagged the error of No gyro and No accel found.
Said error was fixed in 1.7.2 as per commit b718901

Successfully flashed stable/default firmware on pixhawk mini with qgroundcontrol:
1
2

@charles-blouin
Copy link

I would like to update the gitbook documentation. Can I confirm that the correct firmware is the px4fmu-v3_default.px4? Is there a reason Qgroundcontrol specifies FMU v2 and the gitbook says it is FMU v4?

@dagar
Copy link
Member

dagar commented Dec 22, 2017

@charles-blouin px4fmu-v2 and px4fmu-v3 are nearly the same, except the v3 has access to the full 2MB of flash. PX4 includes more modules (like UAVCAN) only in the v3. If you look in the firmware you'll see that px4fmu-v3_default is actually px4fmu-v2_large.

Due to the bootloader that the pixhawk mini ships with we can't automatically flash fmu-v3 through QGC, but you can still do it manually.

I've opened PX4/PX4-user_guide#121 to fix the documentation. Sorry about the confusion.

@dagar dagar closed this as completed Dec 22, 2017
@LorenzMeier
Copy link
Member

The Gitbook docs seem correct, because it correctly states that FMUv4 is Pixracer.

@hamishwillee
Copy link
Contributor

@LorenzMeier FYI, that text just got updated following this issue.

@KJBB
Copy link

KJBB commented Nov 2, 2018

After floundering for months, I see a post from someone who is likely to be able to help. I have posted on various forums without success.

I have two Pixracer flight controllers, and neither has any SERIAL_ or FRSKY_ parameters present in the parameter list. I've just reflashed the "latest" via QGC - http//px4-travis.s3.amazonaws.com/firmware/stable/px4fmu-v4_default.px4.
No luck. A search for SER or FRSKY in the parameter list draws a blank.

I tried to use GitHub and forked and cloned multi-megabytes. I tried to find the makefile I wanted, but ended up guessing which was the correct one. I ran it anyway and it started and then said something was missing! Damn.
I feel I have been running several marathons in sequence, just to get firmware that I had expected to be there in the first place. I am exhausted, confused, and contemplating buying a new Pixracer just to see what I get!
I think I "updated" the firmware on each drone on first use, and possibly threw away the parameters I want? I'm extremely pi.... off, and lost as to my next step.
I noted the comment "Is there a reason Qgroundcontrol specifies FMU v2" which makes me wonder if QGC is limiting my choice somehow, despite the px4fmu-v4_default.px4 result that appears to be the best a man can get?

Do you think you can rescue a lost soul?
Ken Barrie - Scotland.

@hamishwillee
Copy link
Contributor

@KJBB Ken, can you post a new issue describing your problem. If you think this issue is relevant, link to it.

Please clarify the actual issue - I THINK from this that you have updated Pixracer with the latest FMUv4 rom (which is correct) and you expect to see SERIAL_ or FRSKY_ parameters, but you can't - if that is correct, then that is what the post should say.

Even more specifically, are you trying to set up FrSky telemetry or something else? What instructions are you following?

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

No branches or pull requests

9 participants