:null:
Donate & Support PSXDEV.NET

We have been operating since 2012 providing users with a place for free information, free downloads & zero ads.

It has always been a safe and clean forum with no spam for other members interested in the PlayStation 1 to meet and make new friendships.
It's a place for those who are interested in learning about programming, reverse engineering and experimenting with hardware/software for the console.

We have never asked for donations before but it has reached the point where the server costs are becoming too much for us.
We would like to politely ask that if you use this site that you donate any amount you can to show your support to assist with the hosting fees in order to keep PSXDEV.NET alive.

Users who donate will be rewarded with a new profile rank on their account badge ;)
Just be sure to include your handle/alias when sending the donation or message me here with your BTC address.


Bitcoin: 1GqS7rr8jYPzT4Lp9Uua3D5thUH8ZnWyD8

Thank you for your contribution :praise
:null:

How to connect usb/serial to ps1?

Start a work log and update it occasionally with your projects progress
Post Reply
User avatar
bizarro2011
Serious PSXDEV User
Serious PSXDEV User
Posts: 118
Joined: Mar 27, 2012
Location: Brazil

How to connect usb/serial to ps1?

Post by bizarro2011 » June 23rd, 2013, 11:59 pm

I have a cable usb/Serial. :shrug
Image
I can connect to the serial ps1? Work?
Image
someone already used? which software need? :shrug

Gradius
Verified
Extreme PSXDEV User
Extreme PSXDEV User
Posts: 220
Joined: Sep 09, 2012
I am a: IT Consultant, Systems Integrator
PlayStation Model: 7501
Location: Chile

Post by Gradius » June 24th, 2013, 5:14 am

You're pretty crazy, not the less. :lol:

User avatar
LameGuy64
Verified
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 388
Joined: Apr 10, 2013
I am a: Hobbyist Game Developer
Motto: Commercial or not, play it!
PlayStation Model: H2000/7000
Location: Philippines
Contact:

Post by LameGuy64 » June 29th, 2013, 2:41 pm

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
Please don't forget to include my name if you share my work around. Credit where it is due.

Dev. Console: SCPH-7000 with SCPH-7501 ROM, MM3, PAL color fix, Direct AV ports, DB-9 port for Serial I/O, and a Xplorer FX with Caetla 0.35.

DTL-H2000 PC: Dell Optiplex GX110, Windows 98SE & Windows XP, Pentium III 933MHz, 384MB SDRAM, ATI Radeon 7000 VE 64MB, Soundblaster Audigy, 40GB Seagate HDD, Hitachi Lite-on CD-RW Drive, ZIP 250 and 3.5" Floppy.

Type 79
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 61
Joined: Sep 18, 2012
Location: Finland

Post by Type 79 » July 2nd, 2013, 3:10 am

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);
}

User avatar
bizarro2011
Serious PSXDEV User
Serious PSXDEV User
Posts: 118
Joined: Mar 27, 2012
Location: Brazil

Post by bizarro2011 » July 2nd, 2013, 4:29 am

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?

Gradius
Verified
Extreme PSXDEV User
Extreme PSXDEV User
Posts: 220
Joined: Sep 09, 2012
I am a: IT Consultant, Systems Integrator
PlayStation Model: 7501
Location: Chile

Post by Gradius » July 2nd, 2013, 2:16 pm

bizarro2011: vc precisa de um conversor TTL, esse que vc tem (apenas RS232 para USB) não serve!

User avatar
bizarro2011
Serious PSXDEV User
Serious PSXDEV User
Posts: 118
Joined: Mar 27, 2012
Location: Brazil

Post by bizarro2011 » July 4th, 2013, 7:51 am

ok, I'll use this project to run homebrew.
it works?

Image
Image

User avatar
Shendo
Verified
C Programming Expert
C Programming Expert
Posts: 250
Joined: Mar 21, 2012
I am a: Programmer
Motto: Never settle
PlayStation Model: SCPH-7502
Discord: ShendoXT
Location: Croatia, EU

Post by Shendo » July 11th, 2013, 12:08 pm

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.
Dev console: SCPH-7502, FreePSXBoot, CH340 serial cable.

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

Post by Shadow » July 15th, 2013, 2:53 pm

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.
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.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests