Hello.
I am considering using the UICR OTP to store device-specific identification information.
My understanding is that when accessing this area from a Non-secure application, it is necessary to use the TF-M IOCTL library and perform the read through 'tfm_platform_mem_read'.
I referred to the following document:
However, upon checking 'tfm_platform_user_memory_ranges.h' in the nRF Connect SDK (NCS), I noticed that the OTP range is not included for the nRF54L series, whereas it is present for the nRF91 and nRF53 series.
#if defined(NRF91_SERIES) || defined(NRF53_SERIES) #define UICR_OTP_ADDR (NRF_UICR_S_BASE + offsetof(NRF_UICR_Type, OTP)) #define UICR_OTP_SIZE (sizeof(NRF_UICR_S->OTP)) #endif
I have the following questions:
- Is the exclusion of the OTP range for the nRF54L series intentional or by design?
- If I need to include the OTP range in the allowed memory regions, is there a recommended method other than directly modifying
'tfm_platform_user_memory_ranges.h'within the SDK?
Best regards,
a.da