cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H750 External Flash Read Protect

SMoon.2
Associate III

Working on setting RDP (read out protection) on STM32H750.  We are using an external loader to be able to read from/write to external flash. The internal flash only contains a bootloader.

1. Setting RDP to Level 1 doesn't prevent reading external flash. Is there a way to enable protection for external flash?

2. Setting to Level 1 and then reverting to Level 0 deletes the internal flash (bootloader).  Is there a way to extend this functionality to external flash?  

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello,

RDP is a feature exclusively for internal Flash.

There is no mechanism to protect the external Flash for this device. Meanwhile, STM32H723/733 devices feature 

OTFDEC (On-The-Fly decryption engine) for OCTOSPI memories which allows to decrypt on-the-fly AXI traffic based on the read request address information.

SofLit_0-1728403296997.png

You can refer to RM0468 / Section  42 On-The-Fly decryption engine - AXI (OTFDEC)

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2

No

The content can be encrypted at rest, and you can move to RAM to execute, or pick the H7xx parts with 2MB of internal FLASH on die that's tested.

There are other parts in the H7 family supporting OCTOSPI, and encryption-on-the-fly, to protect/obfuscate the content of the external memory.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
SofLit
ST Employee

Hello,

RDP is a feature exclusively for internal Flash.

There is no mechanism to protect the external Flash for this device. Meanwhile, STM32H723/733 devices feature 

OTFDEC (On-The-Fly decryption engine) for OCTOSPI memories which allows to decrypt on-the-fly AXI traffic based on the read request address information.

SofLit_0-1728403296997.png

You can refer to RM0468 / Section  42 On-The-Fly decryption engine - AXI (OTFDEC)

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.