PSX RS-232 Serial I/O for SIOCONS / HIT-SERIAL

Start a work log and update it occasionally with your projects progress
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 4th, 2013, 5:46 pm

No. It failed to work with SIOCONS and HITMENS EXE loader. It did nothing.
I'm looking into it again to see what the problem with the schematic was...
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
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » July 12th, 2013, 1:47 pm

Here is a little update.
The board has been wired to TX/RX and GND on the PC serial (DB-9) connector, but refuses to work.
The only thing I can get it to do is output when I remove power (either the 5V or GND) once the Yaroze boot disc has loaded. I am running the cracked version of the Yaroze boot disc.
I am feeding it 5V from a 7805 VREG from a 9V battery. The voltage levels are a constant and a stable 5V.
Any help is appreciated.

When power is removed once the boot disc has loaded:

Code: Select all

Connected CIP ver2.0xÛ[[7Û
                         onàÿàÿ
When CTS+RTS are bridged together on the PC serial side and power is removed once the disc has loaded:

Code: Select all

Connected CIP ver2.0
Communication baud rate 9600 bps
OK
  àààààààààààààààààààààààààààààààààààààààààààÃ>
Schematic:
Image
You do not have the required permissions to view the files attached to this post.
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
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

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

All working now! (sort of) :D
I can use '>>play' to play CD-DA off of some games that have it and run '>>cb' to show the coloured bars, etc...

PC RTS and CTS are wired together.
PC DTR and DSR are wired to 5V, and the GND from the 7805 was removed. If I add the ground from the power supply, everything stops working which is very weird.

The new problem now is that it wont load any EXE's.
I receive a sync error.
I have tried PS-EXE's and Yaroze AUTO files.
It sounds to me like a handshaking problem... Any suggestions? :shrug

Code: Select all

BINARY DATA TRANSFER - BWR
ADRS = 800DEA9C
SIZE = 000338FF BYTES
INTO BURST TRANSFER SUM:00 0/ 338FF BYTES
SYNC ERROR (FFFFFFFF)
ABORT.
Image
Image
You do not have the required permissions to view the files attached to this post.
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.

rsoft
Rookie Programmer
Rookie Programmer
Posts: 19
Joined: Jun 22, 2013
Location: /home/rsoft

Post by rsoft » July 13th, 2013, 8:35 pm

Hmm... The sync error does point to a handshake problem.
"PC RTS and CTS are wired together." - Is that supposed to mean that PC RTS is connected to PSX CTS and vice versa?
If so, then that should be correct.
I've had similar problems trying to use siocons (the unix clone) with a Pentium 4 era PC... Never really resolved that issue. It even existed when using a USB RS232 converter.
Hope you get it running!

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 14th, 2013, 3:16 am

No. The PC RTS and CTS are connected together (shorted). The RX and TX are crossed (EG: RX becomes TX). The DTR and DSR are wired to 5V. If I wire the RTS and CTS respectively, I get in SIOCONS "Yaroze DTL not ready".

I have no idea what the hell is going on.
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
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » July 14th, 2013, 4:36 pm

This project has been scratched... I will be re-designing a new PCB using an FTDI and USB :)
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.

rsoft
Rookie Programmer
Rookie Programmer
Posts: 19
Joined: Jun 22, 2013
Location: /home/rsoft

Post by rsoft » July 17th, 2013, 11:26 pm

Well, once again: RTS and CTS shouldn't be looped back. They need to be connected to the PSX for the handshake to work.
On a different note: You're most likely not going to get the full transfer speed powering the MAX232 from +3.3V as required by the PSX and its in- and outputs. For that reason I'm using a MAX3232/3222 for my build. It's the 3.3V variant of the MAX232.

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

Post by Shadow » September 5th, 2013, 3:04 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
gwald
Verified
Net Yaroze Enthusiast
Net Yaroze Enthusiast
Posts: 282
Joined: Sep 18, 2013
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Contact:

Post by gwald » January 15th, 2016, 6:14 pm

Shadow wrote:All working now! (sort of) :D
I can use '>>play' to play CD-DA off of some games that have it and run '>>cb' to show the coloured bars, etc...

PC RTS and CTS are wired together.
PC DTR and DSR are wired to 5V, and the GND from the 7805 was removed. If I add the ground from the power supply, everything stops working which is very weird.

The new problem now is that it wont load any EXE's.
I receive a sync error.
I have tried PS-EXE's and Yaroze AUTO files.
It sounds to me like a handshaking problem... Any suggestions? :shrug

Code: Select all

BINARY DATA TRANSFER - BWR
ADRS = 800DEA9C
SIZE = 000338FF BYTES
INTO BURST TRANSFER SUM:00 0/ 338FF BYTES
SYNC ERROR (FFFFFFFF)
ABORT.
Image
Image
I know this is old, and your not making these anymore, just wanted to say that I'm having the same issue with my NY on linux (mint 17.1)
It works 100% correct in windows so i'm thinking your problem could be a com port Hardware or software setup issue.

User avatar
brill
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 63
Joined: Apr 30, 2013
PlayStation Model: SCPH-7502
Contact:

Post by brill » August 25th, 2016, 4:20 am

Image Image Image Image Image Image Image
Hello!
My MasterCard cable)
Work. But so slow. Any idea?

2 x ST232BN
1 x 74HC00
10 x 1mF 50v
Dev console: SCPH-7502 + Xplorer with custom MultiRom firmware
Dev PC: Windows 98 SE, Celeron at 633MHz, 128MB RAM, 20GB HDD

danhans42
BANNED
BANNED
Posts: 329
Joined: Nov 28, 2012

Post by danhans42 » August 25th, 2016, 6:25 am

siocons is slow unfortunately, even at 115k.

User avatar
brill
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 63
Joined: Apr 30, 2013
PlayStation Model: SCPH-7502
Contact:

Post by brill » August 25th, 2016, 6:38 am

seems problem in dos (may be some extra settings)
because CodeWarrior Debugger load much-much-much faster same file (7-10 sec).
Dev console: SCPH-7502 + Xplorer with custom MultiRom firmware
Dev PC: Windows 98 SE, Celeron at 633MHz, 128MB RAM, 20GB HDD

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests