Page 1 of 1

JavaPSXSend - PSX Serial V1.3 Compatible

Posted: May 21st, 2014, 11:12 am
by tlrmcknz
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.

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Posted: June 4th, 2014, 5:10 pm
by Shendo
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

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Posted: June 5th, 2014, 2:59 am
by tlrmcknz
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.

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Posted: June 5th, 2014, 6:17 am
by Shendo
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!

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Posted: June 11th, 2014, 10:44 am
by tlrmcknz
Added a debug logging feature, feedback on it would also be welcome.

Re: JavaPSXSend - PSX Serial V1.3 Compatible

Posted: August 4th, 2017, 1:16 am
by CodeAsm
Thanks, this works nicely with PSXSerial on my Linux box :D