2023-07-26 12:21 AM - edited 2023-07-26 02:06 AM
Greetings
I'm trying the TF-M Application package v1.2 released by ST and am following the instructions in UM2851.
I'm currently in the step shown below:
in windows im unable to run the TFM_Update.sh script that is provided in the following location(my installation path)
C:\TFM\en.stm32cubeu5-v1-2-0\STM32Cube_FW_U5_V1.2.0\Projects\B-U585I-IOT02A\Applications\TFM\TFM_SBSFU_Boot\STM32CubeIDE.
To enable the installation of shell scripts i used the cygwin tool and tried running the above mentioned script from the path and the following error is returned:
Is there any changes that i have to do(as i m not much familiar in shell scripts). Is my method correct? There is another path that contains a batch file TFM_UPDATE.batch in the path(for EWARM IDE). Can i use this batch file with STMCube IDE.
C:\TFM\en.stm32cubeu5-v1-2-0\STM32Cube_FW_U5_V1.2.0\Projects\B-U585I-IOT02A\Applications\TFM\TFM_SBSFU_Boot\EWARM.
Is there any manual sequence by which i can upload the code?
Please suggest me solutions for the same as i m stuck now.
Thanks for the support
Solved! Go to Solution.
2023-07-26 06:00 AM
Hi Team
The issue was solved i tried the option byte configuration as described in section 10.2 of UM2851
i used git bash to run .sh files in windows system. Now i am able to get TF-M Output on tera term screen
2023-07-26 03:02 AM - edited 2023-07-26 03:27 AM
Hi @Channel
The issue was related to the cygwin tool. i installed the git bash tool to run the TFM_UPDATE.sh script and tested the script. The script is running and program is uploaded.
In this setup i have not added a OEM2 regression password(is it mandatory) and have not changed any configuration in the static security protection as it is by default configured:
Is there requirement of any scripts that we have to run manually other than the dataimg.sh and tfm_update.sh script(postbuild.sh will be executed after the build of sbsfu boot code)
But even after this i reset the board and opened tera term and tested the output but nothing is being displayed. Can anyone suggest the possible issue here and how to resolve the error.
Thanks and Regards
2023-07-26 06:00 AM
Hi Team
The issue was solved i tried the option byte configuration as described in section 10.2 of UM2851
i used git bash to run .sh files in windows system. Now i am able to get TF-M Output on tera term screen