2021-07-12 01:10 AM
We are working with STM32H750VBT6. Our project works with an external QSPI flash. We planned to put our bootloader in STM’s internal flash and our firmware in the QSPI flash. We need to protect the internal flash (bootloader) for reading from the external flash’s code.
There are some tools for protection in STM32H750:
There are some problems for understanding how secure access mode works:
HAL has functions for it, but we tried it and it does not work in our project. We use HAL and set parameters in FLASH_SCAR_PRG and FLASH_OPTSR_PRG, but these new parameters do not copy to FLASH_SCAR_CUR and FLASH_OPTSR_CUR.
Solved! Go to Solution.
2021-07-12 03:11 AM
Hello,
for you information, the new version of X-CUBE-SBSFU that just came our last week includes an example for the STM32H750 discovery kit that probably directly fits your need.
In the SBSFU, the secure access mode, as well as all other protections can be activated by the code itself.
In this example the application is located in QSPI.
So, I advise you request this package from st.com and use it as base example for your developments.
Best regards
Jocelyn
2021-07-12 03:11 AM
Hello,
for you information, the new version of X-CUBE-SBSFU that just came our last week includes an example for the STM32H750 discovery kit that probably directly fits your need.
In the SBSFU, the secure access mode, as well as all other protections can be activated by the code itself.
In this example the application is located in QSPI.
So, I advise you request this package from st.com and use it as base example for your developments.
Best regards
Jocelyn
2021-07-12 05:34 AM
Hello, thank you for your answer. I have created a request for X-CUBE-SBSFU.