I am trying to update my S132v2.0.1 devices over the air to S132v3.0.0 and am getting no bootup, even after swapping dfu_dual_bank.c from the answer below.
Although the SD seems to update, NRFUtil shows the bootloader size is 24kb instead of the new size of 32kb, and the start address is unchanged after the update is complete. The logs from the mobile device indicate a successful update.
I need to update devices over the air and cannot re flash them.
I am also unsure where to install dfu_dual_bank.c in the new bootloader, as the SDK12 secure bootloader does not have this file.
I have not modified any of the relevant files, I am building ble dual bank S132 bootloader in SDK11 with the batch, and using the new secure bootloader built from SDK v12.1.0. I am then packaging this bootloader using the old NRFUtil from SDK11 with arguments :
nrfutil dfu genpkg --bootloader nrf52832_xxaa_s132.hex --application-version 0xffffffff --dev-type 0xffff --dev-revision 0xffff --sd-req 0xfffe 'patchedBL.zip'
When building the new bootloader with IAR or KEIL, the FW update fails to initiate with this in the mobile log.
[DFU] Remote DFU error: REMOTE DFU DATA SIZE EXCEEDS LIMIT