Having Issues Flashing PX4 on Bitcraze Crazyflie 2.1 with Custom rc File
8 views (last 30 days)
Jad on 15 Nov 2022
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.
MathWorks Embedded Coder Team on 1 Dec 2022
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
More Answers (1)
Arun Mathamkode on 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.