MechaCon/UART commands: Difference between revisions

From PS2 Developer wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
To enable the UART interface, the console must be put into testmode by pulling the RMC test point to ground. The interface operates at '''57600 baud 8N1''' and rather non-standard '''3.5 V'''.  
To enable the UART interface, the console must be put into testmode by pulling the RMC test point to ground. The interface operates at '''57600 baud 8N1''' and rather non-standard '''3.5 V'''.  


3.3 V signal levels work fine, but care must be taken not to additionally connect an internal 3V3 voltage regulator, which is provided on some USB UART interfaces, to the console, since this will conflict with the console's own 3V5 voltage regulation and could damage the USB device and/or the console. On such interfaces, it should suffice to connect Rx, Tx and GND. Even better would be to use a level shifter, which can take the 3V5 voltage as reference directly from the console itself.
3.3 V signal levels work fine for communication, but care must be taken not to additionally connect an internal 3V3 voltage regulator, which is provided on some USB UART interfaces, to the console, since this will conflict with the console's own 3V5 voltage regulation and could damage the USB device and/or the console. On such interfaces, it should suffice to '''just connect Rx, Tx and GND'''. Even better would be to use a level shifter, which can take the 3V5 voltage as reference directly from the console itself.


'''Instead of working with raw MechaCon commands, it is recommended for users to use pre-made tools like [https://github.com/ps2homebrew/PMAP/tags PMAP]. The purpose of this page is to provide documentation for the further development of PS2 tools.'''
'''Instead of working with raw MechaCon commands, it is recommended for users to use pre-made tools like [https://github.com/ps2homebrew/PMAP/tags PMAP]. The purpose of this page is to provide documentation for the further development of PS2 tools.'''

Revision as of 12:43, 9 September 2024

Overview

These commands can be sent to MechaCon via it's UART interface. They exist for manufacturing and servicing purposes. For wiring up a serial terminal to the MechaCon UART interface, see MechaCon UART test points. To enable the UART interface, the console must be put into testmode by pulling the RMC test point to ground. The interface operates at 57600 baud 8N1 and rather non-standard 3.5 V.

3.3 V signal levels work fine for communication, but care must be taken not to additionally connect an internal 3V3 voltage regulator, which is provided on some USB UART interfaces, to the console, since this will conflict with the console's own 3V5 voltage regulation and could damage the USB device and/or the console. On such interfaces, it should suffice to just connect Rx, Tx and GND. Even better would be to use a level shifter, which can take the 3V5 voltage as reference directly from the console itself.

Instead of working with raw MechaCon commands, it is recommended for users to use pre-made tools like PMAP. The purpose of this page is to provide documentation for the further development of PS2 tools.

Large differences exist between the SPC970-based MechaCon and the ARM-based "Dragon" MechaCon.

Commands