cancel
Showing results for 
Search instead for 
Did you mean: 

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

mof182
Associate II

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!

1 REPLY 1
Lubos KOUDELKA
ST Employee

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