Firmware download via Y-Modem crashes with the following error when selected in UserApp example project "!!Error during file download!!".
Hello guys I hope you can help me with my problem regarding my adaptation of sbsfu.
I'm currently adapting the stm32f413h-discovery example project on a stm32429zi. Everything works fine with one mayor exeption. I have difficulty downloading a new firmware version via Y-Modem. Everytime I want to downlaod a newer version (e.g. changed version nr. in postbuild.bat and in userapp.c) the download crashes and I get the following output via terminal. (all securities where off during testing)
I can however download the firmware successfully when holding the userbutton on a reset like it is mentioned in um2262 chapter 8.4.
I have tested this with multiple version numbers, all have worked.
I also tried activating securities and then using the user button, but in this case a button bush is considered a "Tampering fault".
I have also figured out that both methods (download in sbsfu and download in userapp) use completly different functions. I'm not familiar enougth with how Y-Modem works to find any helpful differences between those functions that could lead to such an error.
I have listed my hardware and software I'm currently using , hopefully it helps.
Hw & Sw I'm using:
- Windows Ver. 10.0.19045 Build 19045
- TeraTerm Ver. 4.106
- SBSFU Ver. 2.6.2
- CubeIDE Ver. 1.11.2
- STM32F429ZI
