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

10 ビュー (過去 30 日間)
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

採用された回答

MathWorks Embedded Coder Team
MathWorks Embedded Coder Team 2022 年 12 月 1 日
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

その他の回答 (1 件)

Arun Mathamkode
Arun Mathamkode 2022 年 11 月 16 日
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 件のコメント
Jad
Jad 2022 年 11 月 16 日
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?

サインインしてコメントする。

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by