MechaCon/UART commands: Difference between revisions

From PS2 Developer wiki
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
* [[MechaCon/UART commands/SPC970|SPC970 commands]]
* [[MechaCon/UART commands/SPC970|SPC970 commands]]
* [[MechaCon/UART commands/Dragon|Dragon commands]]
* [[MechaCon/UART commands/Dragon|Dragon commands]]
'''Note: This is subject to ongoing research and partially inaccurate'''
''Not all of these commands are available on every MechaCon version''
{| 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 || || ||
|-
| 0xc16 || MECHA_CMD_DISC_DETECT ||  ||  ||
|-
| 0xc20 || MECHA_CMD_LASER_DIODE ||  ||  ||
|-
| 0xc22 || MECHA_CMD_FOCUS_UPDOWN ||  ||  ||
|-
| 0xc23 || MECHA_CMD_FOCUS_AUTO_START ||  ||  ||
|-
| 0xc24 || MECHA_CMD_FOCUS_AUTO_STOP ||  ||  ||
|-
| 0xc25 || MECHA_CMD_FCS_SEARCH_CHECK ||  ||  ||
|-
| 0xc30 || MECHA_CMD_TRACKING ||  ||  ||
|-
| 0xc41 || MECHA_CMD_SLED_CTL_MICRO ||  ||  ||
|-
| 0xc42 || MECHA_CMD_SLED_CTL_BIPHS ||  ||  ||
|-
| 0xc43 || MECHA_CMD_SLED_CTL_POS ||  ||  ||
|-
| 0xc44 || MECHA_CMD_SLED_POS_HOME ||  ||  ||
|-
| 0xc45 || MECHA_CMD_SLED_IN_SW ||  ||  ||
|-
| 0xc50 || MECHA_CMD_SP_CTL ||  ||  ||
|-
| 0xc51 || MECHA_CMD_SP_CLV_S ||  ||  ||
|-
| 0xc52 || MECHA_CMD_SP_CLV_A ||  ||  ||
|-
| 0xc60 || MECHA_CMD_TRAY ||  ||  ||
|-
| 0xc61 || MECHA_CMD_TRAY_SW ||  ||  ||
|-
| 0xc8d || MECHA_CMD_CLEAR_CONF ||  ||  ||
|-
| 0xc8e || MECHA_CMD_UPLOAD_NEW ||  ||  || 00
|-
| 0xc93 || MECHA_CMD_UPLOAD_TO_RAM ||  ||  ||
|-
| 0xc97 || MECHA_CMD_DETECT_ADJ ||  ||  ||
|-
| 0xc99 || MECHA_CMD_WRITE_CHECKSUM ||  ||  ||
|-
| 0xc9a || MECHA_CMD_READ_CHECKSUM ||  ||  ||
|-
| 0xc9b || MECHA_CMD_SETUP_OSD ||  ||  || 00 = NTSC, 01 = PAL, presumed to be supported by DEX B and later.
|-
| 0xc9e || MECHA_CMD_SETUP_SANYO ||  ||  ||
|-
| 0xca1 || MECHA_CMD_AUTO_ADJ_ST_1 ||  ||  ||
|-
| 0xca2 || MECHA_CMD_AUTO_ADJ_ST_2 ||  ||  ||
|-
| 0xca3 || MECHA_CMD_AUTO_ADJ_ST_12 ||  ||  ||
|-
| 0xca4 || MECHA_CMD_AUTO_ADJ_ST_2MD ||  ||  || Performed during skew adjustment initialization.
|-
| 0xca5 || MECHA_CMD_AUTO_ADJ_FIX_GAIN ||  ||  ||
|-
| 0xca7 || MECHA_CMD_RFDC_LEVEL ||  ||  ||
|-
| 0xca8 || MECHA_CMD_TPP ||  ||  ||
|-
| 0xcaa || MECHA_CMD_MIRR_CHECK ||  ||  ||
|-
| 0xcab || MECHA_CMD_FE_OFFSET ||  ||  ||
|-
| 0xcb0 || MECHA_CMD_CD_PLAY_1 ||  ||  || 1x
|-
| 0xcb1 || MECHA_CMD_CD_PLAY_2 ||  ||  || 2x
|-
| 0xcb2 || MECHA_CMD_CD_PLAY_3 ||  ||  || 4x
|-
| 0xcb3 || MECHA_CMD_CD_PLAY_4 ||  ||  || 5-12x
|-
| 0xcb4 || MECHA_CMD_CD_STOP ||  ||  ||
|-
| 0xcb5 || MECHA_CMD_CD_PAUSE ||  ||  ||
|-
| 0xcb6 || MECHA_CMD_CD_TRACK_CTL ||  ||  ||
|-
| 0xcb8 || MECHA_CMD_CD_TRACK_LONG_CTL ||  ||  ||
|-
| 0xcb9 || MECHA_CMD_CD_PLAY_5 ||  ||  || 10-24x
|-
| 0xcc0 || MECHA_CMD_DVD_PLAY_1 ||  ||  || 1x
|-
| 0xcc1 || MECHA_CMD_DVD_PLAY_2 ||  ||  || 1.6x
|-
| 0xcc2 || MECHA_CMD_DVD_PLAY_3 ||  ||  || 1.6-4x
|-
| 0xcc3 || MECHA_CMD_DVD_STOP ||  ||  ||
|-
| 0xcc4 || MECHA_CMD_DVD_PAUSE ||  ||  ||
|-
| 0xcc5 || MECHA_CMD_DVD_TRACK_CTL ||  ||  ||
|-
| 0xcc7 || MECHA_CMD_DVD_TRACK_LONG_CTL ||  ||  ||
|-
| 0xcc8 || MECHA_CMD_FOCUS_JUMP ||  ||  ||
|-
| 0xcca || MECHA_CMD_ADJ_AUTO_TILT ||  ||  ||
|-
| 0xccb || MECHA_CMD_INIT_AUTO_TILT ||  ||  ||
|-
| 0xccd || MECHA_CMD_MOV_AUTO_TILT ||  ||  ||
|-
| 0xcd1 || MECHA_CMD_SET_DSP ||  ||  ||
|-
| 0xcd3 || MECHA_CMD_GAIN ||  ||  ||
|-
| 0xcde || MECHA_CMD_DSP_ERROR_RATE_CTL ||  ||  ||
|-
| 0xcdf || MECHA_CMD_DSP_ERROR_RATE ||  ||  ||
|-
| 0xce0 || MECHA_CMD_EEPROM_WRITE || aaaadddd ||  || ce0aaaadddd    a = address, d = data.
|-
| 0xce1 || MECHA_CMD_EEPROM_READ || aaaa ||  || ce1aaaa    a = address
|-
| 0xce4 || MECHA_CMD_RTC_READ ||  ||  ||
|-
| 0xce5 || MECHA_CMD_RTC_WRITE ||  ||  ||
|-
| 0xce6 || MECHA_CMD_ECR_READ ||  ||  ||
|-
| 0xce7 || MECHA_CMD_ECR_WRITE ||  ||  ||
|-
| 0xce8 || MECHA_CMD_CD_ERROR ||  ||  ||
|-
| 0xce9 || MECHA_CMD_JITTER ||  ||  ||
|-
| 0xcf2 || MECHA_CMD_FOCUS_JUMP_NEW ||  ||  ||
|-
| 0xcfa || MECHA_CMD_CFA ||  ||  ||
|-
| 0xcfc || MECHA_CMD_READ_MODEL_2 ||  ||  ||
|-
| 0xcfd || MECHA_CMD_READ_MODEL ||  ||  ||
|-
| 0xcfe || MECHA_CMD_EEPROM_ERASE ||  ||  ||
|-
|}

Revision as of 14:31, 27 April 2023

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.

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