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: 28
Joined: Feb 18, 2014

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
psxdev.tlrmcknz.com/javapsxsend/
Now hosted at Mega

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 April 12th, 2020, 3:51 am, edited 4 times in total.

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

tlrmcknz
Curious PSXDEV User
Curious PSXDEV User
Posts: 28
Joined: Feb 18, 2014

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

tlrmcknz
Curious PSXDEV User
Curious PSXDEV User
Posts: 28
Joined: Feb 18, 2014

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

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

User avatar
CodeAsm
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 69
Joined: Jan 13, 2012
I am a: Programmer, Student
Location: The Netherlands
Contact:

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 2 guests