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

How to set Product identifier and product version through dfu?

Hello,

I am trying to set product identifier and product version in application hex file, then bundled this hex file in zip using nrfutil tool, and performed dfu, then I checked product identifier and version in nrf mesh app for expected change, but it does not get, it is getting 0000 as product identifier and 0001 as version resp. In hex file, these two values are wrote at address 0x10001080, It seems that this address is skipped by dfu?

Could you suggest any other solution to set product identifier and product version, or please guide where I am going wrong?

Regards,

Anaya

Parents
  • Hello,

    I don't recommend storing the FW version in the UICR. It is very risky business to update the UICR from the app. The UICR is intended to be written during production, and never updated for the lifetime of the product. I would recommend just storing the application version in the application itself.

    #define application_version "1.2.3"

    Or alternatively in an FDS record. Is there a particular reason why you need to store it in the UICR?

Reply
  • Hello,

    I don't recommend storing the FW version in the UICR. It is very risky business to update the UICR from the app. The UICR is intended to be written during production, and never updated for the lifetime of the product. I would recommend just storing the application version in the application itself.

    #define application_version "1.2.3"

    Or alternatively in an FDS record. Is there a particular reason why you need to store it in the UICR?

Children
Related