2024-05-31 06:00 AM
Hi @Jocelyn RICARD
Greetings
we are working on the STM32u585 TFM Application and are facing issues when running the code. the issue is after dumping the code using the TFM_Update.sh script first time every operation is normal, but while running for the next time and checking the option byte configuration they have changed and hence am not able to run the script. The main changes observed are as follows as shown in the option byte screen as below:
1.
2.
3.
4.
Sometimes the change of option bytes will work after changing the value of boot0 pin.
Then the work around is to manually update the values as per UM2851. could you please suggest how this change is happening after running the code and how can we solve this issue.
Thanks and Regards
Philip
2024-06-03 01:08 AM
Hello @PJose.4 ,
By default, you can see Read out protection is enabled.
When you have already a TFM running on the target, you need first to run the regression.sh script.
Please edit this script and remove the --hardrst that is line 7. Please also remove this option in TFM_Update.sh
Best regards
Jocelyn