Hi, I wanted to update the bootloader of my CubeOrangePlus, i made a custom bootloader, but i haven’t found a way to upload it, i’ve seen people talking about ST-Link or DFU, but i don’t have access to those, is there any other way? Perhaps via MavFTP?
Yes, you can do this by compiling a custom ArduPilot firmware that carries your bootloader as a payload.
-
Go to
ardupilot/Tools/bootloadersand replace the existing CubeOrangePlus_bl.bin with your custom binary (make sure the filename matches exactly). -
Compile and upload this custom firmware to the Cube.
-
Once connected in Mission Planner, go to Setup > Install Firmware and click the ‘Bootloader Update’ button.
CRITICAL WARNING: If your custom bootloader is buggy, you will brick the Cube. Since you don’t have an ST-Link or access to the internal DFU buttons, you will have absolutely no way to un-brick it.
My issue right now is that i don’t know how to properly compile a modified bl, i’ve tried to follow some guide, but with no success, do you have any recommendation?