We appear to be getting a "z_arm_secure_fault" after the call to "flash_read", trying to access what appears to be any area of flash memory using tag v1.3.0. This call, including accompanying functions for erase and write, were working perfectly on tag v1.0.0 within addresses 0x040000-0x0FFFFF to store sensor readings. We haven't been able to locate any sort of read protection enable flag/option. It seems like this could be a simple issue, but we're not sure where to look. Any ideas?
These are the related options in "prj.conf", which have not changed among the two tag versions:
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y
CONFIG_SOC_FLASH_NRF=y
Thanks!