2023-04-17 03:10 AM
I build SBSFU using X-CUBE extension for STM32F769I-DISCO. Flashed the "SBSFU_UserApp.bin" file using STM32CubeProgrammer. Now I need to send UserApp.sfb file via YMODEM without using Tera Term
I used,
stty -F /dev/ttyACM0 115200
sb UserApp.sfb >/dev/ttyACM0 </dev/ttyACM0
Is there any extra parameters to be mentioned or is there any other way without using tera term?
Solved! Go to Solution.
2023-04-26 11:24 PM
Hi @JHOUD , I add the following macro (MINICOM_YMODEM) to the following files in project (2_Images):
#define MINICOM_YMODEM
Then I build all three and selected option 1 on putty while the board is connected.
Then I entered the following command on Linux Terminal:
stty -F /dev/ttyACM0 115200
sb UserApp.sfb >/dev/ttyACM0 </dev/ttyACM0
This worked for me.
2023-04-26 07:00 AM
Hi @MdFayaz ,
the SBSFU doesn't support all the variants of the YMODEM, for example the variable size of the block. If you force the block size to 1K, there should be no problem.
The ymodem.c source in the SBSFU project loader file may also give you some further hints in case the block size doesn't help.
BR,
J
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-04-26 11:24 PM
Hi @JHOUD , I add the following macro (MINICOM_YMODEM) to the following files in project (2_Images):
#define MINICOM_YMODEM
Then I build all three and selected option 1 on putty while the board is connected.
Then I entered the following command on Linux Terminal:
stty -F /dev/ttyACM0 115200
sb UserApp.sfb >/dev/ttyACM0 </dev/ttyACM0
This worked for me.
2023-04-27 10:04 AM
Thanks @MdFayaz ,
this solution should be useful for other users.
BR,
J
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.