SBSFU update with I2C instead of using Ymodem protocol
I have been able to build the STM32H7B3I_DISCO_2_Images_Loader from STM32CubeExpansion_SBSFU_V2.3.0 project targeting STM32H7B3I_DISCO board. I have also been able to build the example file and use the Ymodem protocol for sending the UserApp.sfb file to the the board.
Instead of the Ymodem protocol I am trying to use an I2C master device for sending the UserApp.sfb file. Looking at the example there is a lots of dependencies on the Ymodem protocol.
Is there a way I can determine the file size from the sfb so I can use that in the I2C master for determining the number of bytes that needs to be sent to the STM32H7B3 board.
I am looking for a break down of the sfb data structure, with the hope that I can get information such as the file size etc.
