STM32U585 TF-M Application + Bootloader Debugging and Execution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-20 12:19 AM
Hi @ST Community
Thanks for the support
I'm working on the Package provided by ST, TF-M Application and Bootloader(TF-M Application and TF-M Bootloader) and have tested the working with the automatic script provided with the package(TFM_update.sh)(Reference Manual UM2851).
1. I wanted to know how can i do a step by step debug for the entire application(application + bootloader) or only the application. Please support me with any steps that are applicable to enable the same.
2. Can you please support on the sequence of the steps to manually run the total TF-M Application without using the script.
3. Could you please provide some sequence of steps to use the PSA Crypto API for crypto operations(i am going through the references provided in UM2851 and UM2852)
Thanks for the support
- Labels:
-
Cryptography
-
SBSFU
-
STM32 Security
-
TFM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-26 9:13 AM
Hello @PJose.4,
I would suggest having a look to this video which explains how to debug the TFM.
You need to understand that TFM is launched by a secureboot. This means that secure part (TFM) and non secure part (application) need to be signed, otherwise the secureboot fails.
The scripts are used to download the signed binaries to the target.
After that, you setup a debug session that just attaches to the target, load the required symbols.
Regarding PSA API, the example application provides some examples but we don't provide any user guide for that. This is a standard API.
Best regards
Jocelyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-13 9:06 AM
Hi Jocelyn,
Could you please guide us for where to find these script files mentioned in the screenshot attached below?
Thanks,
Nitin 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-14 11:37 PM
Hi @Nitin
As you can read on the top playlist of this MOOC :
https://www.youtube.com/playlist?list=PLnMKNibPkDnGd7J7fV7tr-4xIBwkNfD--
You can find all materials related to this session at: https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/STM32_security_ecosystem.html
This will point to the material :
https://drive.google.com/drive/folders/18AetVN1BpxSz1GdH3sN6-Kgl6JH-_lUo
Best regards,
Frantz
