Page 1 of 1

How to connect usb/serial to ps1?

Posted: June 23rd, 2013, 11:59 pm
by bizarro2011
I have a cable usb/Serial. :shrug
Image
I can connect to the serial ps1? Work?
Image
someone already used? which software need? :shrug

Re: How to connect usb/serial to ps1?

Posted: June 24th, 2013, 5:14 am
by Gradius
You're pretty crazy, not the less. :lol:

Re: How to connect usb/serial to ps1?

Posted: June 29th, 2013, 2:41 pm
by LameGuy64
Its possible since the Serial I/O port on the back of the PlayStation is RS-232 compatible but you'll need to build an adapter circuit to convert the voltages and you'll need to replace the proprietary Serial I/O connector on your PSX with a DB-9 connector.

Here's the build instructions for making such an adapter:
http://hitmen.c02.at/html/psx_siocable.html


If you don't wanna build the adapter yourself, you can try finding a NET Yaroze serial link cable which pretty much does the same thing but such cables are very rare and expensive.

The things you can do with such an adapter/cable is pretty limited due to the speed limitations of the serial port. The main uses of such a cable is to upload and run your PSX exectuables on a real system (if you don't have an xPlorer cartridge) and to send debug messages to your PC.

Here's the tool to execute PS-EXE files received from the serial port:
http://hitmen.c02.at/files/releases/psx/hit-serial.zip

Re: How to connect usb/serial to ps1?

Posted: July 2nd, 2013, 3:10 am
by Type 79
Image

ebay - USB To RS232 TTL CH340 Auto Converter Module

Image
Quick test with Putty, PlayStation echoes back nicely.

Code: Select all

/* $PSLibId: Run-time Library Release 4.1$ */
/*
 *	sio echo back 
 *
 *	Copyright (C) 1997 by Sony Corporation
 *		All rights Reserved
 *
 * 	Version		Date		Design
 *	---------------------------------------
 *	1.00		Jan.28.1997	shino
 */

#include <sys/types.h>
#include <libetc.h>
#include <libsio.h>
static void sio_read();

main()
{
	ResetCallback();
	AddSIO(9600);
	ResetGraph(0);
	PadInit(0);
	while(1)
	{
		if(PadRead(1)&PADselect)break;
		sio_read();
	}
	DelSIO();
	PadStop();
	ResetGraph(3);
	StopCallback();
	return;
}

static void sio_read()
{
	char c;

	c=getchar();
	putchar(c);
}

Re: How to connect usb/serial to ps1?

Posted: July 2nd, 2013, 4:29 am
by bizarro2011
yes,
yes, that's what I'm talking about.
this cable here is so fit, I know.
Image
Image
Image
Pin Sinalizar Nome Direção
1 RTS PSX RTS Fora
2 GND PSX GND n / a
3 DTR PSX DTR Fora
4 CTS PSX CTS Em
5 TXD PSX TXD Fora
6 DSR PSX DSR Em
7 3,3 V PSX VCC n / a
8 RXD PSX RXD Em

you have and use? can run homebrew?

Re: How to connect usb/serial to ps1?

Posted: July 2nd, 2013, 2:16 pm
by Gradius
bizarro2011: vc precisa de um conversor TTL, esse que vc tem (apenas RS232 para USB) não serve!

Re: How to connect usb/serial to ps1?

Posted: July 4th, 2013, 7:51 am
by bizarro2011
ok, I'll use this project to run homebrew.
it works?

Image
Image

Re: How to connect usb/serial to ps1?

Posted: July 11th, 2013, 12:08 pm
by Shendo
Your USB-RS232 adapter requires voltage shifter and you will need to loopback all lines except TX and RX.
You also need DB-9 connector, SCPH-1040 cable and a soldering iron to connect everything.

I suggest you go with Type 79's advice.
It's the cheapest option and it works with the send application so you can upload your homebrew.

Re: How to connect usb/serial to ps1?

Posted: July 15th, 2013, 2:53 pm
by Shadow
On a side note, if anyone is having problems compiling Sony's SIO Echo Back example, it is because you need to edit PSYQ.INI under psyq/bin and add the SIO library :)

You will need to do this if you use #include <libsio.h> which contains AddSIO(9600);.

Otherwise, if you don't want to edit the standard libs (all of which are not actually necessary) then you can link it in your MAKEFILE.