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
px4fmu-v2 vs px4fmu-v3 confusion #8809
Comments
Why does the bot flag this as a bug? |
GitMate.io thinks a possibly related issue is #7675: Some questions about “mc_att_control” hope to get help. |
GitMate couldn't be more wrong. |
The uploader is wrong, yes. This could be the result of a weird combination of Bootloader and silicon errata. |
@LorenzMeier ok, so you think I have "a wrong bootloader revision" ? That's possible since I might have updated these at some point. |
So, I can reproduce exactly the same behavior with 3 different Pixhawks, so this batch is consistent and it's probably not some bootloader that I flashed myself. |
The silicon check was added to the bootloader with revision 5: https://github.com/PX4/Bootloader/pull/47/files. My pixhawks have bootloader revision 4 and therefore should be defaulted to 1MB. |
My PR tries to do something more complex, it might be easier as you suggested to just default any v4 board that reports larger than 1M to 1M. |
Ok thanks, this let's me flash The other question is if we should prevent flashing v3 for older bootloaders where we don't know if it is safe? |
I think we should prevent flashing > 1M images on old boot loaders, yes. |
Ok, do you want to add it to your PR, or should I? |
Makes more sense if you go ahead as you have the test setup. |
Ok, will do. |
@LorenzMeier done, commits added to #8811. |
I did a quick pass and many of the newer fmu-v2/v3 boards still have bootloader version 4.
|
@dagar do you agree with the change though? Or do you think we should only display a warning? |
The safest thing to do is stick with px4fmu-v2_default if the the bootloader is older than revision 5, but there are obviously plenty of cases where that's annoying. |
@dagar Ok, the change went in. Do we need to do the same for QGC? |
I was told on the dev call that this is correct for QGC and it looks indeed correct: Closing. |
@LorenzMeier [100%] Linking CXX executable ../../nuttx_px4fmu-v2_default.elf |
@cdlwhm1217096231 this looks like a separate issue, please create a new issue for this and share all the build output, and make sure to do a |
I am trying to flash one of the early 3DR Pixhawks and I'm confused whether to build and flash
px4fmu-v2
orpx4fmu-v3
because I see conflicting information.When I boot the Pixhawk I am informed that I should be using 1MB flash only, therefore
px4fmu-v2
However, when I try to flash
px4fmu-v2
, the uploader does not agree:I'm assuming the uploader is wrong, right?
@davids5 could you comment?
The text was updated successfully, but these errors were encountered: