Dear Nordic,
I changed the value in the Bootloader to not erase the 4k just before the bootlader.
NRF_DFU_APP_DATA_AREA_SIZE 4096
In the app I changed the rom size to end just before this space.
I save my user settings in this location. But what I found is that one out of 20 updates seems to erase this block as well.
Not sure what is going on, it works in general. Is there something I am missing? The image I update with is not changing in size, so I expect the same result each time.