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

How read NRF_FICR in non-secure core? NRF5340

Hi all, I try read DEVICEID in non-secure application but always return "BUS FAULT", I tried too enable NRF_FICR register in "spm.c" but the error persist!
I try
NRF_FICR_S->INFO.DEVICEID[0]
 and
NRF_FICR->INFO.DEVICEID[0]
00> [00:00:00.404,602] <err> os: ***** BUS FAULT *****
00> [00:00:00.404,602] <err> os:   Precise data bus error
00> [00:00:00.404,632] <err> os:   BFAR Address: 0xff0204
00> [00:00:00.404,632] <err> os: r0/a1:  0x0003797b  r1/a2:  0x20022848  r2/a3:  0x200111f8
00> [00:00:00.404,632] <err> os: r3/a4:  0x00ff0000 r12/ip:  0x00000001 r14/lr:  0x0000dd33
00> [00:00:00.404,632] <err> os:  xpsr:  0x81000000
00> [00:00:00.404,632] <err> os: Faulting instruction address (r15/pc): 0x0000cbde
00> [00:00:00.404,663] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
00> [00:00:00.404,693] <err> os: Current thread: 0x20012858 (main)
00> [00:00:01.623,016] <err> os: Halting system
Regards.
Parents Reply Children
No Data
Related