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

Hardware device version from NRF_FICR->INFO.VARIANT?

Hi,

     I tried looking over the docs but I could not find anything specific to my question, which bytes in the NRF_FICR->INFO.VARIANT contain the hardware version ID? e.g. flashed from

nrfutil pkg generate --hw-version 52 --application-version 1 --application nrf52832_xxaa.hex --sd-req 0x98 --key-file private.key app_dfu_package.zip


Thanks
Parents
  • Hi,

    The HW version here is not intended to specify the chip version, but rather your hardware version (in case you for instance have different HW versions which are incompatible). The integer you provide to nrfutil with the --hw-version option must match the version set by the NRF_DFU_HW_VERSION define in the bootloaders sdk_config.h. This has no relationship with NRF_FICR->INFO.VARIANT. (It is possible to get the info from FICR via the DFU protocol though, using the NRF_DFU_OP_HARDWARE_VERSION operation).

Reply
  • Hi,

    The HW version here is not intended to specify the chip version, but rather your hardware version (in case you for instance have different HW versions which are incompatible). The integer you provide to nrfutil with the --hw-version option must match the version set by the NRF_DFU_HW_VERSION define in the bootloaders sdk_config.h. This has no relationship with NRF_FICR->INFO.VARIANT. (It is possible to get the info from FICR via the DFU protocol though, using the NRF_DFU_OP_HARDWARE_VERSION operation).

Children
Related