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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,220 次查看
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)?

标签 (1)
0 项奖励
回复
1 解答
1,212 次查看
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 回复数
1,213 次查看
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,209 次查看
dnjsdnwja
Contributor II

Thanks for your reply

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

0 项奖励
回复
1,201 次查看
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 项奖励
回复