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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,221 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
1,213 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
1,214 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.

1,210 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
1,202 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