2026-04-15 7:10 AM - edited 2026-04-22 7:51 AM
Hi,
I am setting up SBSFU on our STM32H750. I want to test the RDP and WRP security protections.
Steps taken so far:
Note:
There are several test cases in sfu_test.c that I am using. The tests in questions are attached below:
TEST_ERASE_FLASH is failing.
Output:
I am not sure why this would be. Does anyone have any advice?
Solved! Go to Solution.
2026-04-22 7:50 AM
Fixed. This was a misunderstanding on my part.
RDP protects against external attack while this test suite attempts invalid access internally.
Enabling the MPU protections (SFU_MPU_PROTECT_ENABLE ) triggers a reset on each invalid read/write which is what should happen.
2026-04-16 6:10 AM
Update:
TEST_WRITE_FLASH and TEST_ERASE_FLASH are now working. However, TEST_READ_FLASH is consistently failing. I believe WRP is working but RDP is not.
2026-04-22 7:50 AM
Fixed. This was a misunderstanding on my part.
RDP protects against external attack while this test suite attempts invalid access internally.
Enabling the MPU protections (SFU_MPU_PROTECT_ENABLE ) triggers a reset on each invalid read/write which is what should happen.