TFM_VERSION_MANUAL mismatches to actual TF-M version. Please update [nRF9160 DK]

Hi everyone

I am using the nRF9160 DK board with the VS nRF Connect extension.
I am stuck at lesson 7 exercise 1 of the Cellular IoT Fundamentals lesson.

Up to this lesson I have had no problems.

The first error it gave me was that
CONFIG_LTE_PSM_REQ_RPTAU and CONFIG_LTE_PSM_REQ_RAT were not included because CONFIG_LTE_LC_EDRX_MODULE and CONFIG_LTE_LC_PSM_MODULE were not enabled.

After this change, it did not give me any problems for these commands.

The problem comes when I do the build configuration again which gives me the following error in the terminal:

TFM_VERSION_MANUAL mismatches to actual TF-M version.  Please update

I have tried moving the folder to have a shorter path, but the problem persists.

I have searched the community but can't find any help

I have tried moving the folder to have a shorter path, but the problem persists.

I tried updating the firmware with the guide Updating the DK firmware using Programmer, but the error remains

I have also this errors.

I uninstalled and reinstalled the extension and re-performed the instructions in Chapter 1 exercise 1 and 2 of the nRF Connect SDK Fundamentals section

cell-fund-master.zip

Parents
  • Hi all,

    Anyone@Nordic: regarding the TFM version warning, will this be solved in the repository sometime? 

    SDK version 2.9.1 still has TFM version 2.1.0 in the version.cmake while the actual version is 2.1.1

    Correcting the version there indeed solves the warning, so it seems to be fitting to update the version as the warning suggests.

  • how can I update it manually? I don't think they will update it 

  • I tried it to see if the warning does go away, and it does. I am not sure if I like it in there for production though. 
    The cmake file mentioned is:  ncs\v2.9.1\modules\tee\tf-m\trusted-firmware-m\cmake\version.cmake
    (The NCS version might differ for your build, the location is the same though)
    The TFM version is 2.1.1 but the statement in the beginning of that file is:
       # The 'TFM_VERSION_MANUAL' is used for fallback when Git tags are not available
          set(TFM_VERSION_MANUAL "2.1.0")
    Changing that resolves the error. It seems to me that this should have been updated going from 2.1.0 to 2.1.0 but wasn't for some reason.
    As the SET statement is the one used in this file I do not think it can be overridden any other way.
Reply
  • I tried it to see if the warning does go away, and it does. I am not sure if I like it in there for production though. 
    The cmake file mentioned is:  ncs\v2.9.1\modules\tee\tf-m\trusted-firmware-m\cmake\version.cmake
    (The NCS version might differ for your build, the location is the same though)
    The TFM version is 2.1.1 but the statement in the beginning of that file is:
       # The 'TFM_VERSION_MANUAL' is used for fallback when Git tags are not available
          set(TFM_VERSION_MANUAL "2.1.0")
    Changing that resolves the error. It seems to me that this should have been updated going from 2.1.0 to 2.1.0 but wasn't for some reason.
    As the SET statement is the one used in this file I do not think it can be overridden any other way.
Children
No Data
Related