2024-05-07 06:06 AM
I'm using NUCLEOH56ZI board which consists of STM32H563ZIT6 controller.
I'm checking, if there is any provision to encrypt the data/program on external FLASH.
in the stm32h563/573 reference manual ,i see OTFDEC is a feature provided for this purpose.
but when i see in the STM32CUBEIDE, i don't see any peripheral listed with name OTFDEC.
any body have idea about this.
2024-05-07 06:27 AM
Correct. You will not be able to use OTFDEC in STM32H562 and STM32H563 as it is not available. In RM0481, section 37, OTFDEC is included because it is also the reference manual for the version with hardware encryption STM32H573.
The data sheet is always decisive for the usable peripheral blocks, the reference manual contains the detailed descriptions of several members of a family, which, however, do not all have to be included in each member.
Hope that answers your question?
Regards
/Peter
2024-05-07 06:44 AM
@Peter BENSCH Thanks for the clarification.
Is there any way,if we want to encrypt the external flash content in stm32h563?
2024-05-07 06:58 AM
Phew, fas is not a straightforward question. Of course you can encrypt anything you want - but that probably doesn't meet your requirements. Since OTFDEC cannot be realised with STM32H562 and STM32H563, you would have to do the decryption manually, which is certainly too time-consuming and slow. Why not switching to the STM32H573?
Regards
/Peter
2024-05-07 07:12 AM
You can encrypt and encode any memory content you want.
You just have to own the process, and it's not going to occur transparently.
2024-05-07 07:13 AM
>>Why not switching to the STM32H573?
Perhaps costs and export hurdles it erects..