The bootloader uses embassy-boot to interact with the flash.
embassy-boot
Flash the bootloader
cargo flash --features embassy-nrf/nrf52832 --release --chip nRF52832_xxAA