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

Start a log and update it occasionally with your projects progress
User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2232
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

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

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), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2232
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

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

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 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
Attachments
psxrs232.png
PSX RS-232
(40.38 KiB) Not downloaded yet
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2232
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

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

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
Attachments
siocons.png
SIOCONS
(44.47 KiB) Downloaded 52 times
R0013801.JPG
SIOCONS Sync Error
(412.25 KiB) Downloaded 2 times
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

rsoft
Rookie Programmer
Rookie Programmer
Posts: 19
Joined: June 22nd, 2013, 1:33 am
Location: /home/rsoft

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

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
Admin / PSXDEV
Admin / PSXDEV
Posts: 2232
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

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

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" or something... What the hell is going on.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2232
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

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

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), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

rsoft
Rookie Programmer
Rookie Programmer
Posts: 19
Joined: June 22nd, 2013, 1:33 am
Location: /home/rsoft

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

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
Admin / PSXDEV
Admin / PSXDEV
Posts: 2232
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

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

Post by Shadow » September 5th, 2013, 3:04 pm

FTDI and USB > PSXSERIAL: viewtopic.php?f=62&t=425
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

User avatar
gwald
1997 Yaroze Enthusiast
1997 Yaroze Enthusiast
Posts: 256
Joined: September 18th, 2013, 8:44 am
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Location: Australia
Contact:

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

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
Curious PSXDEV User
Curious PSXDEV User
Posts: 21
Joined: April 30th, 2013, 12:57 pm
PlayStation Model: SCPH-7502
Skype: brillxxxx
Location: Ukraine, Odessa
Contact:

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

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
1 x SCPH-1002, 1 x SCPH-7502, 1 x SCPH-102
1 x Xplorer V2 with Caetla [v.0.37]

User avatar
danhans42
/// PSXDEV | ELITE ///
/// PSXDEV | ELITE ///
Posts: 250
Joined: November 28th, 2012, 11:51 pm
IRC: danhans42
PlayStation Model: SCPH-7502
Want to Find: Inspiration
Location: West Yorkshire, UK
Contact:

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

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

siocons is slow unfortunately, even at 115k.
♥ PSX - http://psx0.wordpress.com

My collection - SCPH-102/SCPH-7502, Yaroze Modded PSone, PocketStation (Clear), 2x Xplorer Carts, 2x Xplorer Pro, 2x AR Carts (1 with Ezoray), GS Pro 3, ISA Comms Link Card. Various USB serial devices, Gameshark Sharklink, Kentai Eddy, iMode Cable & other bits and bobs.

User avatar
brill
Curious PSXDEV User
Curious PSXDEV User
Posts: 21
Joined: April 30th, 2013, 12:57 pm
PlayStation Model: SCPH-7502
Skype: brillxxxx
Location: Ukraine, Odessa
Contact:

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

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).
1 x SCPH-1002, 1 x SCPH-7502, 1 x SCPH-102
1 x Xplorer V2 with Caetla [v.0.37]

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest