Hi,
In a project I am working on with the nRF52840 I will need the ACL to protect a private key in the flash memory. With help from another post here I put together the following code:
#define PROTECTED_REGION_START *(uint32_t *) (START_ADDRESS)
#define PROTECTED_REGION_LENGHT 0x00001000
NRF_ACL->ACL[n].ADDR = PROTECTED_REGION_START;
NRF_ACL->ACL[n].PERM = ACL_ACL_PERM_READ_Disable;
NRF_ACL->ACL[n].SIZE = PROTECTED_REGION_LENGHT;
Now what does this mean exactly? Does it mean that the region ACL[0] can read the protected memory range and all other ACL regions can not?
Or am I getting something wrong here?
Thank you and best regards
Thomas