Does code read protection (CRP) disable flash read from software?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Posting new questions will be temporarily unavailable from Dec 21 to Jan 5 due to a scheduled community upgrade.

Does code read protection (CRP) disable flash read from software?

Jump to solution
3,272 Views
dnjsdnwja
Contributor II

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)?

Labels (1)
0 Kudos
Reply
1 Solution
3,264 Views
converse
Senior Contributor V

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.

View solution in original post

3 Replies
3,264 Views
converse
Senior Contributor V

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.

3,261 Views
dnjsdnwja
Contributor II

Thanks for your reply

I thought the feature is analogous to execute-only memory, but maybe I was wrong.

0 Kudos
Reply
3,253 Views
Gorvak
Contributor II

You could use a suitably configured MMU to achieve the requirement you desire, but after a processor reset the memory would be readable again.

 

0 Kudos
Reply