Skip to main content
JChou.1
Associate III
December 3, 2020
Question

Adapting YMODEM to work with USB-CDC Class (on Microcontroller) .

  • December 3, 2020
  • 1 reply
  • 1136 views

Intergrated USB in SBSFU for FW update, and adapting it to work with YMODEM protocol. Only half of the package is downlaoding to microcontroller. Getting error. I will highly appreciate for any help.0693W000006EWG8QAO.png = [SBOOT] STATE: HANDLE CRITICAL FAILURE

= [EXCPT] COM ERROR DURING DOWNLOAD !

= [SBOOT] STATE: REBOOT STATE MACHINE

========= End of Execution ==========

with regards

Jitu

    1 reply

    Jocelyn RICARD
    ST Employee
    December 17, 2020

    Hello Jitu,

    I'm sorry, I don't catch your issue.

    What do you mean by "Integrated USB in SBSFU" ?

    Best regards

    Jocelyn

    Visitor II
    January 2, 2025

    I am trying to implement the SBSFU to use USB instead of UART and it is failing too. It is going into the default case of the Ymodem receiver code many times hence aborting the process. Do we have an example that is using USB and works please?

    thomas239955_stm1_st
    Associate
    April 23, 2025

    Hi there,

     

    I am trying to do the same thing, did you manage to find a solution? I get stuck after a couple of successful transfert, I think the CRC check goes wrong.

     

    Thanks in advance