Having Issues Flashing PX4 on Bitcraze Crazyflie 2.1 with Custom rc File

11 visualizzazioni (ultimi 30 giorni)
Hello,
I'm trying to flash PX4 on a Bitcraze Crazyflie 2.1 through the hardware setup wizard for the PX4 autopilot support add-on for the UAV Toolbox. This works fine as long as I choose to use the default rcS file, but does not work when I try to use the custom rc.txt option, even after following the instructions for copying the file onto the sd card here. I have unsuccesfully tried following the installation procedure with the sd card configured as in that link, with a blank sd card, and with no sd card. Every attempt simply results in getting stuck on the error:
Attempting reboot on COM3 with baudrate=57600... If the board does not respond, unplug and re-plug the USB connector.
Following the instructions shown here solved the issue for the setup with the default rcS, but not with the custom rc setup.
Would anyone know how to resolve that issue?
Thank you for the help.
Jad W

Risposta accettata

MathWorks Embedded Coder Team
Crazyflie 2.1 is not officially supported in R2022b. Additionally, it is recommended to use the default startup script rcS. The custom startup script solution has limitations and cannot be supported out of the box for all boards

Più risposte (1)

Arun Mathamkode
Arun Mathamkode il 16 Nov 2022
I just went through the Bitcraze Crazyflie 2.1 PX4 documentation. Since you are facing the issue with flashing firmware, I doubt the bootloader might not be setup properly. The the above PX4 documentation, there is a step to flash the original bootloader before flashing the fimrware. You can consider following the steps under Flashing PX4 and see if it is successful.
  1 Commento
Jad
Jad il 16 Nov 2022
Thank you for the reply. I had already followed these instructions and flashed the proper bootloader, and tried doing so again in case it was done improperly the first time, but it did not fix the issue. Would you possibly have any other suggestions?

Accedi per commentare.

Prodotti


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by