Ho to configure non-secure memory location in NRF9160?

Hi, 

We are building the custom bootloader in Rust, 

Therefore want to define the non secure memory region. 

Need to know exact steps to define the Non secure memory regions with the help of IDAU/SPU/SAU.

Please suggest some documentation if any?

Thanks 

Parents
  • Hi,

    I cannot say how you would do this in Rust, but we provide two alternative methods for handling the secure regions:

    • TF-M
    • Secure Partition Manger (SPM). This is deprecated and removed from all samples in nRF Connect SDK 2.1.0, but you can use it as a reference as it is less complex.

    It is difficult to suggest much when you are doing things from the beginning yourself. I would suggest to use what we provide in the SDK (including the MCUBoot bootloader), and use TF-M for handling secure regions etc. But if you want to do this yourself and implement something minimal, then looking at the SPM implementation probably makes the most sense. We do not have any documentation for implementing this (other than what you find in the product specification for for instance the SPU).

Reply
  • Hi,

    I cannot say how you would do this in Rust, but we provide two alternative methods for handling the secure regions:

    • TF-M
    • Secure Partition Manger (SPM). This is deprecated and removed from all samples in nRF Connect SDK 2.1.0, but you can use it as a reference as it is less complex.

    It is difficult to suggest much when you are doing things from the beginning yourself. I would suggest to use what we provide in the SDK (including the MCUBoot bootloader), and use TF-M for handling secure regions etc. But if you want to do this yourself and implement something minimal, then looking at the SPM implementation probably makes the most sense. We do not have any documentation for implementing this (other than what you find in the product specification for for instance the SPU).

Children
No Data
Related