2024-12-30 08:50 PM
Hi All,
I am following the UM2262 document. I will add a screenshot. I enabled the ENABLE_IMAGE_STATE_HANDLING flag to enable rollback, but after updating UserApp.bin, the device continues to reset. I will add a debug log screenshot (it’s not jumping into the application). Please help me with any references for the rollback feature using the SBSFU package version 2.6.x.
Document image 1:
Debug image 2:
Regards,
Raju
Solved! Go to Solution.
2025-01-02 02:08 AM
Hello @Kurien_Raju ,
as far as I remember, you need to add this flag to all projects (SBSFU, SECoreBin, appli), and perform a clean build for each one to make this work.
Is this what you have done ?
Best regards
Jocelyn
2025-01-02 02:08 AM
Hello @Kurien_Raju ,
as far as I remember, you need to add this flag to all projects (SBSFU, SECoreBin, appli), and perform a clean build for each one to make this work.
Is this what you have done ?
Best regards
Jocelyn
2025-01-02 11:07 PM
I followed same step, but I am getting undefined reference error I added screenshot
screen shot image1:
screen shot image 2: error log stm32 cubeide:
C:/STM32SecuWS/L4/STM32CubeExpansion_SBSFU_V2.6.2/Projects/NUCLEO-L476RG/Applications/2_Images/2_Images_UserApp/Src/fw_update_app.c:411: undefined reference to `SE_APP_GetActiveFwState'
C:/ST/STM32CubeIDE_1.15.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/STM32SecuWS/L4/STM32CubeExpansion_SBSFU_V2.6.2/Projects/NUCLEO-L476RG/Applications/2_Images/2_Images_UserApp/Src/fw_update_app.c:415: undefined reference to `SE_APP_GetActiveFwState'
C:/ST/STM32CubeIDE_1.15.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/STM32SecuWS/L4/STM32CubeExpansion_SBSFU_V2.6.2/Projects/NUCLEO-L476RG/Applications/2_Images/2_Images_UserApp/Src/fw_update_app.c:423: undefined reference to `SE_APP_ValidateFw'
collect2.exe: error: ld returned 1 exit status
Regards,
Kurien Raju