NUCLEO-L433 problem with USB

Did you try to debug? For exact line where the code stops.

BR, Jan