JavaPSXSend - PSX Serial V1.3 Compatible

Downloadable items posted by PSXDEV members are within this forum.
Post Reply
tlrmcknz
Curious PSXDEV User
Curious PSXDEV User
Posts: 26
Joined: February 18th, 2014, 3:15 am

JavaPSXSend - PSX Serial V1.3 Compatible

Post by tlrmcknz » May 21st, 2014, 11:12 am

I've created a Java equivalent of the PSXSERIAL upload program. Feedback would be appreciated. No file size limit checking implemented yet.

Whats new in version 1.1:

+Debug Mode (--debug)

Program stays active and polls serial port for debug messages and displays them.

Current version 1.1 compatible with PSXSERIAL 1.3
http://psxdev.tlrmcknz.com/javapsxsend/

Usage:
java -jar "JavaPSXSend.jar" <FILENAME> <COM> [--debug]

COM for Windows will be in the form COM3, Linux (and Mac OS I believe) will be /dev/ttyUSB0

To implement debug, use AddSIO(115200) before calling any std out such as printf or puts. Call DelSIO() when finished.
Last edited by tlrmcknz on June 11th, 2014, 10:43 am, edited 2 times in total.

User avatar
Shendo
C Programming Expert
C Programming Expert
Posts: 238
Joined: March 21st, 2012, 4:34 am
I am a: Programmer
Motto: Never settle
PlayStation Model: SCPH-9002
Location: Croatia, EU

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Post by Shendo » June 4th, 2014, 5:10 pm

Thanks for this. Works fine on OS X 10.9.
Although it sometimes complains about a timeout but relaunching solves that issue.

If you are open for suggestions, add a progress bar/percentage info so the user knows how much more to wait.

Image
You do not have the required permissions to view the files attached to this post.
My PS1 consoles: 2 x SCPH-1002, SCPH-5552, SCPH-7002, 4x SCPH-9002, 2 x SCPH-102.
Dev console: SCPH-9002, MM3 - 7 wire modchip, PAL color mod, CH340 serial cable addon.

tlrmcknz
Curious PSXDEV User
Curious PSXDEV User
Posts: 26
Joined: February 18th, 2014, 3:15 am

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Post by tlrmcknz » June 5th, 2014, 2:59 am

Thanks for the feedback. Will add upload progress. I haven't ran into a timeout issue myself yet, I'll do some testing on OSX one of these days perhaps to see if it is localized to that.

User avatar
Shendo
C Programming Expert
C Programming Expert
Posts: 238
Joined: March 21st, 2012, 4:34 am
I am a: Programmer
Motto: Never settle
PlayStation Model: SCPH-9002
Location: Croatia, EU

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Post by Shendo » June 5th, 2014, 6:17 am

This is somewhat unrelated but CH340 and CH341 USB TTL adapters are easy to set up in
Windows but for OS X i spent a decent amount of time hunting for drivers.

I always ended up with a PL232 drivers which weren't working for this particular adapter
even though PID and VID matched or at least the manufacturer's info said so.

In the end I finally found a installer package on some chinese site and I got it working.
So for any poor soul who got himself in the same trouble here is a Mac driver package.

Code: Select all

USB2.0-Serial
Product ID: 0x7523
Vendor ID: 0x1a86
/dev/tty.wch ch341 USB=>RS232 1d160
/dev/tty.cu ch341 USB=>RS232 1d160
Warning: Do not use this package on anything newer than OS X 10.9. You will be unable to boot!
You do not have the required permissions to view the files attached to this post.
Last edited by Shendo on December 7th, 2018, 10:31 am, edited 1 time in total.
My PS1 consoles: 2 x SCPH-1002, SCPH-5552, SCPH-7002, 4x SCPH-9002, 2 x SCPH-102.
Dev console: SCPH-9002, MM3 - 7 wire modchip, PAL color mod, CH340 serial cable addon.

tlrmcknz
Curious PSXDEV User
Curious PSXDEV User
Posts: 26
Joined: February 18th, 2014, 3:15 am

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Post by tlrmcknz » June 11th, 2014, 10:44 am

Added a debug logging feature, feedback on it would also be welcome.

User avatar
CodeAsm
Active PSXDEV User
Active PSXDEV User
Posts: 64
Joined: January 13th, 2012, 12:41 am
I am a: Programmer, Student
IRC: codeasm
Steam: codeasm
Location: The Netherlands
Contact:

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Post by CodeAsm » August 4th, 2017, 1:16 am

Thanks, this works nicely with PSXSerial on my Linux box :D
Development Console: SCPH-102, unkown clone Modchip, PAL , FTDI board build into the case (microUSB) for Serial I/O.
Development Computer: GNU/Linux, Arch x86_64 Linux 4.20.3, i7-3632QM [8x3.2GHz], 11,8GiB, 1366x768 GeForce GT 630M (Optimus tech), lots of gig of storage

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest