Skip to main content
JChou.1
Associate III
Dec 3, 2020 2:49 PM UTC
Question

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

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

    This topic has been closed for replies.

    3 replies

    Jocelyn RICARD
    ST Employee
    Dec 17, 2020 6:16 PM UTC

    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
    Jan 2, 2025 8:12 PM UTC

    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
    Apr 23, 2025 10:12 AM UTC

    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