Bootloader version from app prior to DFU

Following some previous posts on how to get the Bootloader version from the application, mainly this post: devzone.nordicsemi.com/.../221367

I noticed that initially the bootloader version will report zero until I update the bootloader via DFU. I assume this is because bootloader_version is only updated after a DFU?

Is it possible to set up the bootloader so that it will read the version of bootloader programmed at production and report correctly without an update?

  • Hei Tom, 
    The bootloader version is stored in the bootloader setting and by default the bootloader version is 0. 

    It's possible to initialize the bootloader version manually by generating the bootloader setting binary (hex) and then flash it to the bootloader. You can see the documentation here  and can have a look at my blog here that I explained briefly about that. 

    This would requires you to flash the application in addition to the bootloader and bootloader setting. 

Related