2025-09-08 7:18 AM
Hi,
I am successfully builded and flashed TFM_Azure_IoT application at X-CUBE-AZURE(v2.3.0) package. You can see teraterm port output at attachment.
I looked in to MCU software packages for B-U585I-IOT02A i found "STM32Cube_FW_U5_V1.8.0\Projects\B-U585I-IOT02A\Applications\SBSFU" application that runs test for protection. In X-CUBE-AZURE(v2.3.0) test_protections header and source file name and locations changed.
"B-U585I-IOT02A\Applications\SBSFU\SBSFU_Appli\NonSecure\Inc\test_protections.h" to "B-U585I-IOT02A\Applications\TFM_Azure_IoT\TFM_Appli\Secure\Inc\test_protections.h" test_protections header file moved to secure app folder. "B-U585I-IOT02A\Applications\SBSFU\SBSFU_Appli\NonSecure\Src\test_protections.c" "B-U585I-IOT02A\Applications\TFM_Azure_IoT\TFM_Appli\Secure\Src\app_rot_test.c" test_protections source file moved to secure app folder and changed name. When try to run the test at non secure side its giving me error undefined reference to `TEST_PROTECTIONS_Run'. Why im getting this error? How can run the tests?