Skip to main content
Visitor II
October 6, 2020
Question

Nucleo 144 (STM32F767ZI) - Hard fault error, if the USB cable is disconnected from the USB_CDC port

  • October 6, 2020
  • 1 reply
  • 591 views

Hi,

I started working with a Nucleo 144 board (STM32F767ZI) and have implemented an USB-CDC according an example of ST (see: https://www.youtube.com/watch?v=h9T0RTu9Muc).

Everything works well, but if I disconnect the USB line before startup the system, the software runs into a hard fault error. Does anybody has an idea, what could be the problem and how to fix it?

If you need more detailed informations, ask me please.

Thanks for your help!

    This topic has been closed for replies.

    1 reply

    ST Employee
    October 13, 2020

    Hello,

    I have tried on my side and I'm not able to reproduce the problem you're describing. Please try attached project on your side and if you still see the issue please write more details (from which function you entered hard fault, differences in your project).

    Best regards,

    Lubos