The usb can't connect the openmv and ide when vin has 5V.why

the usb can’t connect the openmv and ide when vin has 5V.
why?
i uss usb cable connect the openmv and ide, but when vin has 5V power ,i can’t find the openmv in ide.
even the ide connect the openmv, it will break when vin has 5V which comes from PLC

1 Like

Which OpenMV Cam is this? There’s no reason for this not working.

openmv4 H7 plus by singtown.cn

The circuit for that is this:

If VIN is present, then that disables USB power from flowing. Note that the MCU needs to see VBUS for the USB transceiver to run. This needs to be the case when the MCU boots.

roger that

i wish the openmv have jumper to decide vbus or vin is first.
so i can change the jumper and let the usb connect is first .