I use buttonless_dfu app from sdk 14
- Generate settings file by nrfutil
- Merge with bootloader hex file
- Erase chip, flash SD, flash bootloader (everything use nrfutil)
- Generate zip file based on app's hex file and prior generated keys
My app is work (at least in ble part) and I can use buttonless feature for dfu, but in LOGS I can see some warnings
<warning> nrf_sdh_ble: RAM start should be adjusted to 0x200020F0.
<warning> nrf_sdh_ble: RAM size should be adjusted to 0xDF10.
<info> app: Setting vector table to bootloader: 0x00078000
<info> app: Setting vector table to main app: 0x00023000
<info> app: Application started
Now I can getting away from first two about RAM. I adjust those values to my keil IRAM settings. Second warnings I can't resolve. But app works well so I go ahead.
Add NUS(uart) service I described it here
After that I get the same warnings, but error is fatal and app can't start (led 3 is blinking). Going with the same way with app_template app doesn't raise any error and app works well (at least I can see uart service in nRF connect app)