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,421 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,413 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,414 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,410 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,402 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