This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Setting page size in the nrfutil

In the v16.0.0 SDK the settings struct size is 904 bytes, but in the nrfutil it's 803 (screenshots attached). I figured the settings in python don't include peer_data(64bytes) and adv_name(28 bytes), which results in the setting size 812 bytes.

Where did we lose another 9 bytes of the settings? And also why is the size = 803, if the last address in 802?

Thank you!

  • Hi Oleg, 

    I'm sorry for late response. We were on reduced staff due to summer vacation. 

    It's correct that the setting in Python doesn't include peer data and adv_name. 
    The last address is 802 meaning it's the 803th byte hence byte_count = 803
    Information I got from the developer is that the bootloader setting size in his calculation was 896 bytes not 904 based on what written on flash. But it's not clear for me on this. However it seems that the bootloader setting generated by the nrfutil and the CRC calculated is accepted by the bootloader so it should be correct. 
    We can try to compare the bootloader setting generated by nrfutil and the bootloader setting generated by the bootloader (of the same application) and check the difference.

Related