Skip to content

renderedsheep/PlayStation-Serial-Utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

PSX-Serial-Py

A Python file transfer utility for PlayStation 1 (PSX/PS1) development. The script utilizes the pyserial library to enable uploading of compiled binaries from a PC to the PlayStation console's RAM via a USB-to-Serial cable (CH340G based cable). The utility is compatible with PSXSerial by PSXdev.net.

PSX Serial transfers binary data in 1024-byte chunks from the host PC to PSX console at 115200 baud and implements basic error checking. This includes waiting for acknowledgments (ACK) after sending the file size and each data chunk with exceptions raised if the expected 0x06 byte is not received. A final acknowledgment confirms successful file transfer. The script also seeks to catch and handle other common error types, including serial communication errors, file I/O errors, and general exceptions. Finally, a CRC32 calculation function is provided, which can be integrated for further verify data integrity if needed.

WARNING: This program was a learning experiment and a work in progress; it is not production-ready.

License

This project is licensed under the GNU General Public License v3. Attribution should go to RetroGameplayer.com

About

A file transfer uility for uploading compiled binaries from a PC to the PlayStation 1 (PSX/PS1) console via a USB-to-Serial cable.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages