cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U575I-EV: USBX Ux_Host_CDC_ACM example fails

MSher.1
Associate III

Using STM32U575I-EV board with USB-C connected to host pc and ST-Link connected, JP25 set to 5V-UCPD, JP14, JP15, JP6 fit as described in document, example app fails and board continuously resets for about 1 minute after running. The code fails in USBPD_PreInitOs(), at line 127 in usbpd_dpm_core.c on

CHECK_CAD_FUNCTION_CALL(USBPD_CAD_Init(USBPD_PORT_0, &CAD_cbs, (USBPD_SettingsTypeDef *)&DPM_Settings[USBPD_PORT_0],
                                           &DPM_Params[USBPD_PORT_0]));

The following console output is written:

CM33 Failed to read all registers

FAILED to REGISTER Values from the target

Error: Failed to set more breakpoints

Target is not responding, retrying...

Target is not responding, retrying...

0 REPLIES 0