Hi,
I'm trying to set up a custom project with all the mentioned components. I build the bootloader, I'm using the `s140_nrf52_6.0.0_softdevice.hex` for the softdevice and then I build the example from `/examples/ble_peripheral/ble_app_blinky`. Once they're all built, I create the settings using `nrfutil settings generate --family NRF52 --application bootloader_settings.hex --application-version 0 --bootloader-version 0 --bl-settings-version 1 bootloader_settings_$version.hex`.
I then use `mergehex` to create a single hex file in this order:
merge bootloader with softdevice in final1.hex
merge final1.hex with app_firmware.hex in final2.hex
merge final2.hex with bootloader_settings.hex in final.hex
I then flash final.hex. The board starts but it stays in DFU mode as I can see that it advertises as 'DfuTarg'. I've been trying to find out why it's not going past bootloader with no success. I guess that the settings are written in the wrong place and then the bootloader reads `Bank0 Bank Code` as 0. If the settings would be in the right and bank0 would be 1 then I should at least see the board restart every few seconds.
How can I debug this? What could be the issues?
PS. I'm using sdk v15.0.0
Best,
Gabriel