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

14 次查看(过去 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
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