Associate
March 20, 2019
Question
NUCLEO-L412KB : USB-CDC Initial FAIL
- March 20, 2019
- 12 replies
- 2932 views
I have try to use the USB-VCP (Virtual COM Port) on the STM32L412KB (32-pin) but I have an issue that the code which is generated from the CubeMX got stuck at MX_USB_DEVICE_Init() and I try to debug in the Atollic TrueStudio, it causes the hard fault on HAL_PCD_init() function in USBD_Init process.
Issue: MX_USB_DEVICE_Init() got stuck
MCU: STM32L412KB (NUCLEO-32 Board)
Firmware Package Name and Version: STM32Cube FW_L4 V1.13.0
CubeMX version 5.1.0
Toolchain/IDE: Atollic TrueStudio Version 9.1.0
Please suggest, thank you very much.
P.S. I have used the USB-VCP via CubeMX on the another chip such STM32F072, STM32L053, STM32L476 with no problem.
