Where to solder USB wires

Does anybody know if there’s a way to hardwire a USB cable to a Seeeduino Xiao? I.e.where to connect the White and Green wires? Know where to connect the red and black wires, but the other wires are unclear.

Why don’t I just use the plug? Because I want a permanent, vibration resistant connection.

And, if, as I suspect, there are no exposed connection points, has anyone succeed at using a USB to RS232TTL device to connect to the RX/TX lines, and then upload a sketch by that means?

@salman I think you can help him.

If you are looking for the ATSAMD21 USB pin USB_D+ and USB_D-, it was not exposed in the XIAO via gpio pin or test pads, you might need to use jumper wires and solder directly to the USB pads or the ATSAMD21 pad’s in the XIAO.

If you just need to give the power, then you can use the exposed power pins.

I marked it “Solution” but, whew, that would be some high-skill soldering!!

And, I want it to be more than just a power connection. I want the customer to be able to plug the thing into a USB port on, for instance, a desktop PC, so the firmware can be upgraded.

I agree on that since it’s connected directly with the controller, it is hard to make jumper wires. or you can make your own Type-C based adapter board that connects the xiao.