use the correct bootloader from here
https://firmware.ardupilot.org/Tools/Bootloaders/
and use these instructions to upload it
https://dev.px4.io/master/en/software_update/stm32_bootloader.html#flashing-the-bootloader
use the correct bootloader from here
https://firmware.ardupilot.org/Tools/Bootloaders/
and use these instructions to upload it
https://dev.px4.io/master/en/software_update/stm32_bootloader.html#flashing-the-bootloader