Page 1 of 1

Wired connection does not work

Posted: Thu Mar 06, 2014 9:09 pm
by pawel
Hi,

I'm trying to play using USB connector for dummies on PS3 and with PC running Windows 8 64bit. I followed the tutorial and both the adapter and Teensy are recognised when connected to the PC, as "Silicon Labs CP210x USB to UART Bridge (COM4)" and PS3 Joystick respectively. Now I have both devices connected using 3 cables, the adaptor connected to the PC and recognised by Gimx-serial, Teensy is connected to the PS3 which is switched on. When I run Gimx-serial and click start I get a command prompt screen which closes after a few seconds. It says:
option -p value 'COM4'
option -c with value 'confignamehere'
subpos flag is set
force_updates flag is set
Detected USB adapter: none.
No controller detected.
connector_init failed

Am I missing something obvious here or is my hardware faulty?

thanks

Re: Wired connection does not work

Posted: Thu Mar 06, 2014 9:12 pm
by Matlo
This is probably due to a wrong wiring. Please post a clear photo of your adapter.

Re: Wired connection does not work

Posted: Thu Mar 06, 2014 9:29 pm
by pawel
Here it is

Image

Re: Wired connection does not work

Posted: Thu Mar 06, 2014 9:37 pm
by Matlo
I can't see the pin labels on the CP2102 adapter.

Re: Wired connection does not work

Posted: Thu Mar 06, 2014 9:42 pm
by pawel
Image

Re: Wired connection does not work

Posted: Thu Mar 06, 2014 10:01 pm
by Matlo
Your adapter is not the same as in the "DIY USB adapter for dummies" tutorial...

The correct wiring is:
GND -> GND
RXD -> D2
TXD -> D3

I hope the wrong wiring didn't broke something...

Re: Wired connection does not work

Posted: Thu Mar 06, 2014 10:12 pm
by pawel
I'm getting the same result. So I guess one of those devices is gone now? Can I tell which one?

Re: Wired connection does not work

Posted: Thu Mar 06, 2014 10:14 pm
by Matlo
Sometimes the rx and tx are swapped. Try to invert those cables.

You can test your serial adapter with the method in the FAQ: http://gimx.fr/wiki/index.php?title=FAQ ... adapter.3F

Re: Wired connection does not work

Posted: Thu Mar 06, 2014 10:26 pm
by pawel
I've swapped the cables and it works now! So that's great, thanks a lot. I do get a bit of lag sometimes though. Processing time is average 415us, worst 16149us. Is that fairly normal or shall I look around for some improvement suggestions?