A faulty USB adapter cable (connector pins pushed back into plug) appears to have killed my USB output/input on the pi zero2. I am a little surprised that 5V into the data pins would damage it, but it appears to be the case.
My question is whether there is an option to resurrect the USB I/O using the GPIO pins?
Could you please clarify the damage caused by the faulty USB. Has the connector pins been damaged on the Pi Zero or has the 5V actually fried the data pins on the Pi?
The reason I ask if that while there is no way to map the GPIO’s into a standard USB port, you can bypass the connector using the underside D+ and D- test pads. There are a few products that take advantage of this to give the Pi Zero 4 USB Ports, such as this USB HUB HAT.
However if the USB data channels themselves have been fried, there’s not much you can do. You could always use the GPIO SPI connections to extract data from a USB drive or an SD Card, you would need to find compatible software to have them treated as a valid USB port. At that point, it might be easier to get a new Zero and use your current unit entirely headless.
Thanks for replying. That is a good question. It is a bit hard to see inside those micro USB sockets. I guess I will have to probe the pads underneath to see if there is any data getting to them. There is certainly 5V available at the socket. Are the data pads labelled DP and DM?
It is a pity as the pizero2 is a bit hard to get these days.
The USB HUB HAT you refer to seems to connect via the microUSB port, so wouldn’t work in my case.
That one looks interesting. Can’t seem to find the images on your website. The link you gave says it is not compatible with the pizero2. Not sure why, maybe the pins are slightly different positions. In any event, it doesn’t matter, there are no data on the pads on my Pizero2. . Looks like I will have to find a non-USB use for it.