Need help with psx serial cable

BIOS, Controllers, Memory Cards, Serial I/O, Parallel I/O, etc.
Post Reply
User avatar
CosmoGuy
Serious PSXDEV User
Serious PSXDEV User
Posts: 91
Joined: May 30, 2012
I am a: Hell knows who I am
PlayStation Model: SCPH-7502
Location: Polska, Wroclaw
Contact:

Need help with psx serial cable

Post by CosmoGuy » July 15th, 2015, 6:38 am

Hi :D

I just got some time during holidays so i decided to go back to the topic. I bought this thing:
"YwRobot FTDI Basic" (FTDI 232RL based with a switch 3,3v / 5v on the backside)

http://item.taobao.com/item.htm?id=15848232884

Which is compatibile with FTDI official drivers and FTProg.
After unsuccessful results with PSX Serial soft, i was searching for some tips about how to properly use that converter and i found a little info here, at danahns42's site:
https://psx0.wordpress.com/2013/08/08/p ... ink-cable/
Alternatively, if you use one of the FTDI parts, you can omit the whole circuit and just invert the handshaking lines using the FTDIprog tool available on the FTDI website.
Yup, I did that with FTProg but for some weird reason i could invert just RI, and RTS pin. After digging messy FTDI site i found older apps to manage the same hardware. I tried MProg and it did that, inverted all handshaking pins [RTS, CTS, DTR, DSR, DCD], and to check it to be fully sure, i scanned it again with FTProg, which is newer one, and i guess it should be more reliable, but yup FTProg showed that they are inverted now, so MProg wins.

Now getting to the point.

PSXSERIAL.exe worked fine with my own homemade psx serial cable based on hitmen's schematics [redrawn a bit nicer to read, by somebody from this forum] but it was crappy breadboard construction and i didn't want to make my own PCB.

With my freshly bought FTDI thingy, the console recognizes ongoing signal, but PSXSERIAL.EXE is still waiting for it, i don;t get it.
I plugged only TXD, RXD and GND lines of course, thats all.
When i turn off the console, while the PSXSERIAL.exe is still working, there goes some small voltage jump [or something like that] which makes a bug and PSXSERIAL.EXE is starting to send my demo to the console, which is actually turned off.

Also tried to cross TXD and RXD in the middle, but then, neither application on pc, and console doesn't recognizes shit.

Why FTDI? I asked shadow on Skype, when he used to be available some time ago. He said it's the best option. The whole thing pisses me off a bit :| . I'm more programmer than electronic, but i guess that this topic is so lame, that i shouldn't even annotate that xd :oops:


Thanks for any help as always,
Regards
Image

User avatar
Greg
Verified
Serious PSXDEV User
Serious PSXDEV User
Posts: 101
Joined: Sep 09, 2013
PlayStation Model: SCPH-7501
Location: Port-au-Prince, HAITI

Post by Greg » July 15th, 2015, 12:52 pm

Do you use a sony psx cable cut in half? If it's the case you must know that the sony serial cable was for connect 2 psx together, so the signals wires are crossed as below..

1 -> 4
2 -> 2
3 -> 6
4 -> 1
5 -> 8
6 -> 3
7 -> 7 (usually not connected)
8 -> 5

The wires color will be different from one side to other one.

*edit* some pics of my old serial adapter.
Image
Image
IMG_20150714_2201205_rewind.jpg
IMG_20150714_2202051_rewind.jpg
You do not have the required permissions to view the files attached to this post.
1 x SCPH-7501, 2 x SCPH-7001, 2 x SCPH-5501
1 x Pro Action Replay with "Dual Rom Mod", ROM 1: Caetla, ROM 2: UNIROM
1 x Xplorer V2 with Caetla
1 x GameShark V2.1
1 x GameShark Pro V3.0
1 x CommLinkUSB
1 x XLinkUSB

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » July 15th, 2015, 2:40 pm

We have cables available in the store.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
CosmoGuy
Serious PSXDEV User
Serious PSXDEV User
Posts: 91
Joined: May 30, 2012
I am a: Hell knows who I am
PlayStation Model: SCPH-7502
Location: Polska, Wroclaw
Contact:

Post by CosmoGuy » July 16th, 2015, 12:30 am

Hi again

Thank you for replies.

Greg: Yup i know it's crossed at the end, my map was the pinout from HITMEN's site
Shadow: It's pointless :D The product is overpriced + cost for sending that. I'd better choose to buy small FTDI chip, and i can always plug it out to use with AVRs :p


my "construction" looks like this:

Image
ie. -red- is RXD...
Image
and goes to 8 pin which, as written in the legend/map, is RX.

-But- because it's crossed, it's ongoing TX in fact, so it should communicate. I hope it seems logical :|. And as i mentioned before, i did try to re-cross them anyway. No success.
Image
As danhans42 wrote on his site, i need to invert handshaking pins, so i did it. Nothing changes, before and after :/.

Please help :D :praise
Regards
Image

User avatar
Greg
Verified
Serious PSXDEV User
Serious PSXDEV User
Posts: 101
Joined: Sep 09, 2013
PlayStation Model: SCPH-7501
Location: Port-au-Prince, HAITI

Post by Greg » July 16th, 2015, 1:02 am

Did you set the FTDI's voltage to 3.3v ?
1 x SCPH-7501, 2 x SCPH-7001, 2 x SCPH-5501
1 x Pro Action Replay with "Dual Rom Mod", ROM 1: Caetla, ROM 2: UNIROM
1 x Xplorer V2 with Caetla
1 x GameShark V2.1
1 x GameShark Pro V3.0
1 x CommLinkUSB
1 x XLinkUSB

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » July 16th, 2015, 1:10 am

Believe it or not, an extremely small profit is made from that price. The PSX Serial cable itself costs the most to be honest because they are not made any more and are being sold from companies 'new old stock' supply. If you can make one yourself, that's good, but it's there for people who just want the headache free, and hassle free option to just get stuck into programming and testing their code. Also, postage is free anywhere in the world at that price.

Anyway, 3V3 or 5V, it doesn't matter. The PSX can handle 5V. It's just not recommended is all.
The problem could be that you have a fake FTDI chip. Also, ensure that you have the RL series.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
CosmoGuy
Serious PSXDEV User
Serious PSXDEV User
Posts: 91
Joined: May 30, 2012
I am a: Hell knows who I am
PlayStation Model: SCPH-7502
Location: Polska, Wroclaw
Contact:

Post by CosmoGuy » July 16th, 2015, 3:31 am

Shadow wrote: Also, ensure that you have the RL series.
Yup it's RL series, checked before buying.

Also, 40AUD in my country's currency could be 6 times that FTDI :p
Nowe im uploading a video where i'm making a test so you can better understand :p.

Greg: Yup 3,3v, but now i switched back to 5v just to check, but also no changes


EDIT

https://youtu.be/WrPt3aRn-tE

Edit 2:
Shadow, where is that VMWare image with preconfigured PSY-Q and stuff? I can't find it [i have new hdd and i had no chance to backup :/]
Image

User avatar
Greg
Verified
Serious PSXDEV User
Serious PSXDEV User
Posts: 101
Joined: Sep 09, 2013
PlayStation Model: SCPH-7501
Location: Port-au-Prince, HAITI

Post by Greg » July 16th, 2015, 9:37 am

You can do a quick test, connect TX pin and RX pin together, you can use one of the female / female cable for that, open a terminal program, and initiate a connection, everything that you sent is supposed to be echo in receive window.
If you do not have a terminal program you can use "Terminal" link: https://sites.google.com/site/terminalbpp/
1 x SCPH-7501, 2 x SCPH-7001, 2 x SCPH-5501
1 x Pro Action Replay with "Dual Rom Mod", ROM 1: Caetla, ROM 2: UNIROM
1 x Xplorer V2 with Caetla
1 x GameShark V2.1
1 x GameShark Pro V3.0
1 x CommLinkUSB
1 x XLinkUSB

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » July 16th, 2015, 1:22 pm

Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
CosmoGuy
Serious PSXDEV User
Serious PSXDEV User
Posts: 91
Joined: May 30, 2012
I am a: Hell knows who I am
PlayStation Model: SCPH-7502
Location: Polska, Wroclaw
Contact:

Post by CosmoGuy » July 17th, 2015, 12:14 am

Greg wrote:You can do a quick test, connect TX pin and RX pin together, you can use one of the female / female cable for that, open a terminal program, and initiate a connection, everything that you sent is supposed to be echo in receive window.
If you do not have a terminal program you can use "Terminal" link: https://sites.google.com/site/terminalbpp/

Yup, it works correctly as expected :) So my "YwRobot" is working ok. And as in video, PSX sees that there is going some signal, but PSXSERIAL.EXE doesn't see the console. It's still waiting.

my windows configuration:
Image
Image
Image

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » July 17th, 2015, 1:00 am

Try another PSX. You might have damaged the serial line in the CPU from your previous experiments. It's a long shot, but that could very well be the case, and it's good to eliminate all fault possibilities.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
CosmoGuy
Serious PSXDEV User
Serious PSXDEV User
Posts: 91
Joined: May 30, 2012
I am a: Hell knows who I am
PlayStation Model: SCPH-7502
Location: Polska, Wroclaw
Contact:

Post by CosmoGuy » July 17th, 2015, 1:24 am

Shadow wrote:Try another PSX. You might have damaged the serial line in the CPU from your previous experiments. It's a long shot, but that could very well be the case, and it's good to eliminate all fault possibilities.
but i'm pretty sure that my breadboard construction would work! Btw. when i was doing that, i plugged capacitors in the wrong pins [2 of them if i remember well], but at the end everything worked including siocons tests so i don't think that i burned something :/.
Also i don't have another psx to test :(.

Damn it.
Image

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » July 17th, 2015, 1:28 am

Well I'm not sure what else to advise to you. All you need is Tx, Rx and Gnd for PSXSERIAL to initiate and work.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
Greg
Verified
Serious PSXDEV User
Serious PSXDEV User
Posts: 101
Joined: Sep 09, 2013
PlayStation Model: SCPH-7501
Location: Port-au-Prince, HAITI

Post by Greg » July 17th, 2015, 9:32 am

Today my psx do the same thing as CosmoGuy's psx, first it do not communicate, so I check my sony serial cable at the psx's end, I shake the connector a little and it start communicate but it don't reach the 100%, so I hit CTRL+C to stop the prog, and I restart the psx, but this time the psx says sending data to the pc but I has not yet run psxserial, then I remember the FTDI chip has a buffer, maybe some data was left in the buffer to be processed by the chip. So I unplug every thing, wait 2 minutes, plug the FTDI into the PC, plug the serial cable into the psx, power on the psx, and finally run psxserial, this time everything was all good.

I don't know if my story can help you...
1 x SCPH-7501, 2 x SCPH-7001, 2 x SCPH-5501
1 x Pro Action Replay with "Dual Rom Mod", ROM 1: Caetla, ROM 2: UNIROM
1 x Xplorer V2 with Caetla
1 x GameShark V2.1
1 x GameShark Pro V3.0
1 x CommLinkUSB
1 x XLinkUSB

User avatar
CosmoGuy
Serious PSXDEV User
Serious PSXDEV User
Posts: 91
Joined: May 30, 2012
I am a: Hell knows who I am
PlayStation Model: SCPH-7502
Location: Polska, Wroclaw
Contact:

Post by CosmoGuy » July 17th, 2015, 9:55 am

Greg wrote:Today my psx do the same thing as CosmoGuy's psx, first it do not communicate, so I check my sony serial cable at the psx's end, I shake the connector a little and it start communicate but it don't reach the 100%, so I hit CTRL+C to stop the prog, and I restart the psx, but this time the psx says sending data to the pc but I has not yet run psxserial, then I remember the FTDI chip has a buffer, maybe some data was left in the buffer to be processed by the chip. So I unplug every thing, wait 2 minutes, plug the FTDI into the PC, plug the serial cable into the psx, power on the psx, and finally run psxserial, this time everything was all good.

I don't know if my story can help you...

Yup about that buffer thingy,
when i reset the console [but PSXSERIAL.EXE is still working] PSX sees again that something is going to it.
Then i switch off PSXSERIAL.EXE, and i have to reset the console to see some difference of course, and what? At the startup of PSXSERIAL [on console] it says "Receiving data from pc" when i'm not sending anything, that's the one thing.
Second thing is that, when i switch psx off and on [faster] then PSXSERIAL.EXE sees a reply from a console [which proves an error at the PC side], but console has just started.

I'm not sure if my configuration is ok on the FTDI side. I'm pretty sure that i didn't burn that.
When my breadboard wasn't final, there were so many places in my circuit to burn the other side, that everyone could say it was hillarious xD. But at the end it worked even with SIOCONS.

I'd need some psx app which sends some crap to see that through terminal on PC to be 100% sure about my FTDI. If not i have to buy another... but at the moment i don't have any $$ :////
Image

User avatar
Greg
Verified
Serious PSXDEV User
Serious PSXDEV User
Posts: 101
Joined: Sep 09, 2013
PlayStation Model: SCPH-7501
Location: Port-au-Prince, HAITI

Post by Greg » July 18th, 2015, 1:17 am

CosmoGuy wrote:...
I'd need some psx app which sends some crap to see that through terminal on PC to be 100% sure about my FTDI. If not i have to buy another... but at the moment i don't have any $$ :////
look at: C:\psyq\psx\sample\serial\SIO\TUTO1
and http://www.psxdev.net/forum/viewtopic.p ... =349#p2592
set terminal speed to 9600 Baud
1 x SCPH-7501, 2 x SCPH-7001, 2 x SCPH-5501
1 x Pro Action Replay with "Dual Rom Mod", ROM 1: Caetla, ROM 2: UNIROM
1 x Xplorer V2 with Caetla
1 x GameShark V2.1
1 x GameShark Pro V3.0
1 x CommLinkUSB
1 x XLinkUSB

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests