I have a Holybro Pixhawk 4 board, and I attempted to flash the bootloader onto its IO and FMU chips. Here are the steps I followed:
I downloaded the PX4-Bootloader GitHub repository.
I navigated into the repository and ran the command: "make px4fmuv5_bl"
This generated a .hex file, which I then tried to flash using an ST-Link through the FMU debug port.
The first flashing process was successful. However, I am unable to access the board via QGroundControl (QGC), and the FMU LEDs keep blinking red continuously.
When I attempted to reflash the bootloader, I encountered the errors shown in the images below.
Inside the arm-none-eabi-gdb command, instead of “tar ext /dev/serial/by-id/” connect to the server, you can do this like this target extended-remote :3333
The remaining steps are the same. The only thing different on this page is the linking done in step 6.
`