2024-08-28 12:36 AM - edited 2024-08-28 12:38 AM
Hi I am working on SBSFU Application project from STM32U585 project. I have done below changes to the existing project.
1. Added my project code SBSFU_Appli_NonSecure project.
2. Previously this project was assigned 192KB and it was hardly using 3% of it. And now the requirement is of more RAM, I have increased RAM boundry to 256KB as below in STM32U585AIIX_FLASH.ld
RAM (xrw) : ORIGIN = NS_DATA_START, LENGTH = 256KB/*NS_DATA_SIZE*/
3. Now what I am seeing is I am not getting to jump to NS main() after this
"[INF] Jumping to the first image slot"
Same kind of experiment I have tried in TFM project and it worked, but I am not able to get the catch here.
Need help, thanks in advance...
Solved! Go to Solution.
2024-09-04 07:51 AM - edited 2024-09-04 09:03 PM
Hi Jocelyn, SRAM3 application run it is working out now. I did a small change in unsecure_sram3() definition as below
2024-09-04 08:56 AM
Hello Nitin,
The change in HAL_GTZC_MPCBB_GetConfigMem was not mandatory but this is cleaner.
Other changes are necessary indeed. I'm sorry I forgot to mention them. If you can edit your post for test protection to add _2 at the end.
For debugging, you must disable the RDP at least. Please also disable HDP and WRP.
If you disabled protection debugger should be able to attach.
Best regards
Jocelyn
2024-09-04 09:05 PM
Hi Jocelyn,
I missed doing that, edited now.
I will try debug thing. Thanks for the clue.
Closing this ticket now. Much thanks for the support.
Regards
Nitin