I do know it may be used for disabling debug access, but does it disable read-access from the software (e.g. due to software vulnerability)?
Solved! Go to Solution.
The software is running from flash, so if it disabled flash read, it would also prevent the code from running. So no, it does not stop read access to flash from the CPU.
The software is running from flash, so if it disabled flash read, it would also prevent the code from running. So no, it does not stop read access to flash from the CPU.
Thanks for your reply
I thought the feature is analogous to execute-only memory, but maybe I was wrong.
You could use a suitably configured MMU to achieve the requirement you desire, but after a processor reset the memory would be readable again.