-
Notifications
You must be signed in to change notification settings - Fork 551
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
V5 Bootloader not working on newer Macs #181
Comments
Thanks for reporting! I'm looking into this over the next few days. |
Hey @ryanjAA have you tried flashing the PX4 bootloader on your board? I found a similar issue on Slack from Jonas |
Related context by @davids5: Summary: If you see this issue please try updating the bootloader: https://docs.px4.io/master/en/advanced_config/bootloader_update.html#qgroundcontrol-bootloader-update |
I’ll try again but I could only get it working with the chibios bootloader. I did try 4-5 different Pixhawk 1 and uploading the PX4 bootloader but it was the same every time. Then putting the chibios on it and it was fine. I did however get it to connect every 20 times or so for one time but generally it didn’t. |
I just tried this as well, here are my results:
Are you on a new M1 and that's why it's different for you? |
Newer Macs is firstly subjective but in the tests I did, as I rolled back the hardware and software of the Mac computers being used it started working again.
Problem: The V5 bootloader doesn't recognize the board from QGC when trying to flash PX4 (or Ardupilot) firmware. I tried with 2x MRO Pixhawk 1, 1x Generic Pixhawk 1, 5+ cables, 3x computers and several USB-C adapters.
When on bootloader v4 there were no problems on any of the machines. The issue becomes that you can't upload fmu_v3 firmware unless upgrading the bootloader (unless doing it manually) so when flashing the bootloader (all done via QGC 4.0.11 and PX4 v1.11.2), the ability to upgrade the firmware afterwards from QGC is no longer possible. It does not recognize the chip size, just hangs at Found Device: PX4 FMU V2 9 (see image). It also doesn't give the connected to boot loader on the next line (I tried QGC daily as of today and it also did not work).
Building and uploading the firmware from command line does work but it does ask 5-7 times to remove the USB (which I didn't do, just left it) and then it will flash without issue.
If I load the Chibios boot loader on the Pixhawks any of the computers will pick them up instantly for upgrading the firmware (PX4 works fine this way), only when putting the v5 firmware back does it stop working.
This is where the newer Macs get to be part of the problem. On macOS Big Sur and Catalina (and usb-c) Macs, the problem above is present 99% of the time. It's not 100% because after repeatedly doing it, occasionally (rarely) I could get it to show up but this was 1-2%.
Going back to an older Mac with High Sierra and Mojave and all worked (or something to do with USB-C?)
The current fix for the time being is to get the Chibios loaded up and just leave it on there. No issues with that on any machines but obviously not ideal.
It's strange and I don't have it nailed down to something exact but it is somewhere lurking in the above but I would imagine it will start to effect more people.
I'd rule out hardware as I did this across multiple machines and units and cables (and versions of QGC) and making the switch to a different bootloader does fix it.
[Screen Shot 2021-01-01 at 11.49.16 AM copy.pdf](https://github.com/PX4/PX4-Bootloader/files/5759752/Screen.Shot.2021-01-01.at.11.49.16.AM.copy.pdf)
The text was updated successfully, but these errors were encountered: