PS3 diy USB not working

Need help? Ask here and someone will help
User avatar
shatterstar78
Posts: 12
Joined: Wed Apr 01, 2015 2:40 am

PS3 diy USB not working

Post by shatterstar78 »

Hi, so I have tried everything I can think of to get this to work, but have not been successful. My setup is CP2102 board, Teensy++ and Windows 7 64bit. The CP2102 drivers are properly installed, tested with Arduino IDE and I can send and receive. Now I wasn't to sure about the Teensy++ because all the guides use a regular Teensy. But what I did was connect the RX and TX to D2 and D3 on the Teensy++ just like on the Teensy. Then I flashed it with the firmware PS3/at90usb1286.hex. I also tried switching the RX/TX wires around, but made no difference. When I load up GIMX-Launcher and click Start I get the fallowing error...

option -c with value 'CallOfDutuBlackOps.xml'
option -p with value 'COM8'
subpos flag is set
force_update flag is set
WaitForSingleObject failed: timeout expired.
No controller detected.
Connector_init failed

Also does it matter if its connect to the PS3 before I click start on GIMX-Launcher? On a side note I also tried using an Arduino One instead of the Teensy++, but I get the same exact results. I also tried two different PC's, and same error. Am I missing something? This should not be this difficult, im getting so frustrated. Can someone please help me out?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS3 diy USB not working

Post by Matlo »

Hi,
Please post a clear photo of your adapter (showing the wiring).
Check your USB cables as one may be bad.

The CP2102 may be faulty at higher baudrates.
I'll try to make a program to test the USB to UART adapter at 500kbps (which is the GIMX baudrate).
GIMX creator
User avatar
shatterstar78
Posts: 12
Joined: Wed Apr 01, 2015 2:40 am

Re: PS3 diy USB not working

Post by shatterstar78 »

Here are some pics of my two setups that I have tried. I also just now tried the same setups on a Linux PC, and also had the same unsuccessful results. Let me know if you spot any mistakes, or maybe something else im doing wrong.

Image

Image

Image

Image

Image

Image
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS3 diy USB not working

Post by Matlo »

I made a test program for your CP2102 adapter: http://gimx.fr/download/d74ef0e8ac4d73b ... /stest.zip

What firmware did you used with the arduino board?
If you flashed the atmega8u2, you still have to remove the atmega328 from the socket.
GIMX creator
User avatar
shatterstar78
Posts: 12
Joined: Wed Apr 01, 2015 2:40 am

Re: PS3 diy USB not working

Post by shatterstar78 »

Hi, so I ran the program and this it the result

receive timed out
press any key to exit

I also tried connecting the Teensy++ and the Arduino to the PC and they both show up as Playstation 3 controllers. The Arduino I flashed with "at90usb162.hex", and I tried removing the atmega328 but no change same results.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS3 diy USB not working

Post by Matlo »

It seems that your CP2102 adapter is faulty.
I'll make the test program start at 9600bps and increase the baudrate up to the GIMX one (500kbps).
This will confirm the test program works properly.
GIMX creator
User avatar
shatterstar78
Posts: 12
Joined: Wed Apr 01, 2015 2:40 am

Re: PS3 diy USB not working

Post by shatterstar78 »

Can't tell you how much I appreciate you helping me, it's been driving me crazy trying to get this to work. So i thought I had a brainstorm and was like "Hey why not just use the Arduino UNO as the USB to serial TTL converter" but unfortunately as you probably know they stopped using the FT232RL chip and switched to the atmega8u2 for the USB. So if it is my CP2102 adapter at fault, do you know of a seller on ebay (preferably) that sells know compatible CP2102 adapters?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS3 diy USB not working

Post by Matlo »

I uploaded a new test program, you can download it using the same link.
shatterstar78 wrote:So if it is my CP2102 adapter at fault, do you know of a seller on ebay (preferably) that sells know compatible CP2102 adapters?
I suggest to try a CP2102 adapter that looks identical to the ones shown in the wiki, or a FT232RL adapter (make sure it is 5V tolerant). Since these adapters are really cheap, maybe you can buy one of each, just in case one is bad.
GIMX creator
User avatar
shatterstar78
Posts: 12
Joined: Wed Apr 01, 2015 2:40 am

Re: PS3 diy USB not working

Post by shatterstar78 »

Just tried the new test program and this is what I get

Enter the COM port number: 8
port opened at 9600bps
................................................................................
....................
port opened at 14400bps
................................................................................
....................
port opened at 19200bps
................................................................................
....................
port opened at 28800bps
................................................................................
....................
port opened at 38400bps
................................................................................
....................
port opened at 57600bps
................................................................................
....................
port opened at 115200bps
................................................................................
....................
port opened at 256000bps
................................................................................
....................
port opened at 500000bps
................................................................................
................................................................................
................................................................................
................................................................................
And continues till I close it. I also tested the first version of the program and it works too. The reason it didn't work the first time is because I had it connected to the Teensy++ but when I disconnected it and just bridged the TX&RX it started working. So does this mean the CP2102 adapter is good, or was it suppose to work with the Teensy++ connected to it? Man don't tell me its the Teensy++ at fault, does my connections with the Teensy++ look good and I did flash the right file(at90usb1286.hex) to it..... right? Well at least this does feel like some progress.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS3 diy USB not working

Post by Matlo »

Yes, it means the adapter is good.

The right wiring is the following:
GND -> GND
D2 -> RXD
D3 -> TXD

Where did you download the firmware?
GIMX creator
Post Reply