Editing MechaCon/UART commands

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== Overview ==
== 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 [[Test points/MechaCon UART|MechaCon UART test points]].
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 [[Test points/MechaCon UART|MechaCon UART test points]].
To enable the UART interface, the console must be put into testmode by pulling the TEST_MODE0 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 in testmode by pulling the RMC test point to ground.
 
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 RS-232-to-TTL 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.'''


Large differences exist between the SPC970-based MechaCon and the ARM-based "Dragon" MechaCon.
== Commands (incomplete, WIP) ==
{| border="1" cellspacing="0" cellpadding="5" border="#999" class="wikitable" style="border:1px solid #999; border-collapse: collapse;"
|- bgcolor="#cccccc"
! Command !! Description !! Parameters !! Return values !! remarks
|-
| 0xc00 || MECHA_CMD_INIT_SHIMUKE || || ||
|-
| 0xc01 || MECHA_CMD_INIT_MECHACON || || ||
|-
| 0xc10 || MECHA_CMD_DISC_MODE_CD_8 || || ||
|-
| 0xc11 || MECHA_CMD_DISC_MODE_CD_12 || || ||
|-
| 0xc12 || MECHA_CMD_DISC_MODE_DVDSL_8 || || ||
|-
| 0xc13 || MECHA_CMD_DISC_MODE_DVDDL_8 || || ||
|-
| 0xc14 || MECHA_CMD_DISC_MODE_DVDSL_12 || || ||
|-
| 0xc15 || MECHA_CMD_DISC_MODE_DVDDL_12 || || ||
|-


== Commands ==
|}
All communication uses ASCII-encoded Hex-values.
* [[MechaCon/UART commands/SPC970|SPC970 commands]]
* [[MechaCon/UART commands/Dragon|Dragon commands]]
Please note that all contributions to PS2 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS2 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)