1. Have you assured that the DP1&DP2 have connected to the USB 2.0 US DP? And DN1 &DN2 have connected to the USB2.0 US DN?
2. This test case, if you are source only, which is means you are DFP at initial states. Have you been initial DR_SWAP with this case?
3. VBUS_P_CTRL0 and VBUS_P_CTRL1 's voltage is relay on VBUS_P voltage. For N MOS FET. The charge-pump block is used to
boost the input VBUS to provide a higher voltage (VBUS +2*VDDD) on the NGDO_OUT output.
I think the chip is working. When it is connected to a USB-C connector of a laptop a message "USB Root Hub (USB3.0)" is shown in the laptop's setup window but the USB hub's LED keeps flashing and the laptop can not detect anything plugged in the hub's downstream ports. When it is unplugged from the laptop the message is gone.
Here I have a question on programming the CYPD. Before programming I connected (by a wire) the Pin 1 of the SWD connector to VDDIO and VDDD and I set the programmer's 3.3v to power the chip while programming and I found the programming succeeded. But later when I tried to program again an error message is shown on the screen.
I found the CYPD3125 might be partly damaged: the VDDD, VDDIO and VCCD are measured to be short circuit to GND. But the chip is working as I described above.
The programmer is a miniProg3. Below is the connection of the SWD connector:
Here is the connector pinout:
Pin 1: +5v
Pin 2: GND
Pin 3: reset
Pin 4: GPIO P2.0 ((pin 16 in CYPD3125)
Pin 5: GPIO P2.1 (pin 15 in CYPD3125)
and part of the schematic of the target board:
Could you tell me if the wired connection of the Pin 1 of the SWD connector to VDDIO and VDDD caused the chip partly damaged?
Pin#1 of SWD programming is VTAG, it is about 3.3V or 5V. It should be not damaged. If you suspect the chip was damaged, you could contact your local FAE to support you to do Failure Analysis.