cancel
Showing results for 
Search instead for 
Did you mean: 

SBSFU 2.7.0 , unable to load firmware with YMODEM in linux (minicom)

Javier1
Principal

If this thread was not read only i would bring it to life again. @Jocelyn RICARD @EEdwa.1 @Bubbles @Arno1 @Denish_Ribadiya @cyril 

After succesfull compiling (NUCLEO-G474RE) SBSFU and uploading UserApp troguh (TERATERM) 

\en.x-cube-sbsfu-v2-7-0\STM32CubeExpansion_SBSFU_V2.7.0\Projects\NUCLEO-G474RE\Applications\2_Images

YMODEM.gif

 

I decided time to do the same in linux, the issue is teraterm doesnt work for linux.

Trying to use minicom:
Adding the simbol for minicom special compilation and recompiling SBSFU

Javier1_1-1747913729196.png

installing minicom

 sudo apt install minicom
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
 lrzsz

minicom uses by default YMODEM lrzsz implementation

The FW update is VERY SLOW (for only 24K) and ends up with incomplete

 

half update: 

Javier1_4-1747914008265.png

 

full update, it says incomplete:

Javier1_5-1747914071661.png

 

and the SBSFU console says FW too big

======================================================================                                                                                                                                                                                                                                                                                               
=              (C) COPYRIGHT 2017 STMicroelectronics                 =                                                                                                                                                                                                                                                                                               
=                                                                    =                                                                                                                                                                                                                                                                                               
=              Secure Boot and Secure Firmware Update                =                                                                                                                                                                                                                                                                                               
======================================================================                                                                                                                                                                                                                                                                                               
                                                                                                                                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                                                                                                                     
= [SBOOT] SECURE ENGINE INITIALIZATION SUCCESSFUL                                                                                                                                                                                                                                                                                                                    
= [SBOOT] STATE: CHECK STATUS ON RESET                                                                                                                                                                                                                                                                                                                               
          INFO: A Reboot has been triggered by a Hardware reset!                                                                                                                                                                                                                                                                                                     
= [SBOOT] STATE: CHECK NEW FIRMWARE TO DOWNLOAD                                                                                                                                                                                                                                                                                                                      
= [SBOOT] STATE: CHECK USER FW STATUS                                                                                                                                                                                                                                                                                                                                
          No valid FW found in the active slots nor new FW to be installed                                                                                                                                                                                                                                                                                           
          Waiting for the local download to start...                                                                                                                                                                                                                                                                                                                 
= [SBOOT] STATE: DOWNLOAD NEW USER FIRMWARE                                                                                                                                                                                                                                                                                                                          
          File> Transfer> YMODEM> Send CCCCC                                                                                                                                                                                                                                                                                                                         
        Fw too big                                                                                                                                                                                                                                                                                                                                                   
= [SBOOT] STATE: HANDLE CRITICAL FAILURE                                                                                                                                                                                                                                                                                                                             
= [SBOOT] STATE: REBOOT STATE MACHINE                                                                                                                                                                                                                                                                                                                                
========= End of Execution ========== 

 

hit me up in https://www.linkedin.com/in/javiermu%C3%B1oz/
10 REPLIES 10
Javier1
Principal

AI answering questions and posting casino app SPAM , what a time to be alive .

 

the saddest part is that half of your comment makes sense

hit me up in https://www.linkedin.com/in/javiermu%C3%B1oz/