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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,949件の閲覧回数
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,941件の閲覧回数
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,942件の閲覧回数
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,938件の閲覧回数
dnjsdnwja
Contributor II

Thanks for your reply

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

0 件の賞賛
返信
1,930件の閲覧回数
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 件の賞賛
返信