TF-M and MCUBoot (on the nrf9160)

Hi,

I am using the nrf9160 and attempting to enable MCUBoot and secure boot. Is it correct that you still cannot use any form of TF-M with MCUBoot on the nrf53 or nrf91 (as of NCS v2.0.2) ? Is it  still supported to use the SPM + MCUBoot combo for secure boot on these Cortex M33 devices? Just trying to understand what the state of things is right at this moment.

I am coming across a lot of assertion errors (to do with the SPU) when I try to mix flash partitions/MCUBoot and TF-M.

Thanks,

Jeremy

Parents
  • Hello,

    Sorry for the long response time

    Could you try removing the debug configuration and run the code again. I tried this and now it does not hang.

    And I can see there is CONFIG_FPROTECT=n in thigy91_nrf9160 mcuboot overlay file which disables flash protection. This might be the reason for: hangs with a failed assertion in nrf_spu_flashregion_set.

    Kind Regards,

    Abhijith

Reply
  • Hello,

    Sorry for the long response time

    Could you try removing the debug configuration and run the code again. I tried this and now it does not hang.

    And I can see there is CONFIG_FPROTECT=n in thigy91_nrf9160 mcuboot overlay file which disables flash protection. This might be the reason for: hangs with a failed assertion in nrf_spu_flashregion_set.

    Kind Regards,

    Abhijith

Children