EDIT 2018/01/18: Added link to @wisi's research regarding SSBUSC Delay Registers. Replaced unofficial "DEV9_2", "DEV9_3" and "DEV9_1" names with "DEV9I", "DEV9M" and "DEV9C".
EDIT 2018/01/01: Corrected device table - SPU2 uses DACK8 and DREQ8 (of DEV8). DEV3 & DEV7 assignments are unknown.
Introduction to the Busses
@wisi has done wonderful research and experiments regarding the SSBUS. And I think it is good to have a thread to consolidate everything that we have ever discussed and gained.
The PlayStation 2 has a couple of data buses. Between the EE and IOP is the SBUS, while the IOP and its peripherals are connected via SSBUS. The EE is able to have access to the SSBUS peripherals, which allows a program from the EE to access IOP peripherals.
I have not found any official documentation that explains what "SBUS" and "SSBUS" really stand for, but they may stand for System Bus and Sub-System Bus respectively.
On the PlayStation, the relationship between the various busses has an uncanny similarity:
SSBUS Peripherals
SSBUS peripherals are assigned a device number. Each device has its own signals (/CSx, /INTx, /DACKx, /DREQx etc), and may have a SSBUS address and timing control register each. For now, we know:
CN505/CN5505
CN505/CN5505 is unlabelled in most service manuals. This connector provides connections to a lot of signals that run on the PlayStation 2, and was designed to allow the console's functionality to be extended.
Officially, only one PlayStation 2 model had this connector utilized: the SCPH-18000 GH-003 had a replacement BOOT+DVD ROM connected there. In the system 246, proprietary hardware connects through CN505, to replace the SSBUS I/F Controller/DEV9C device.
This appears to be the PIO interface from the PlayStation, and was removed from the late PlayStation 2 models (estimated to be the SCPH-79000 series).
Expansion Bus
DEV9 is connected to the SSBUS I/F Controller (CXD9611-compatible in expansion-bay consoles, while the A-chassis models have the CXD9566R). dev9.irx is used to set up and provide a software interface for software to communicate with the SPEED via DEV9.
On the SCPH-75000 and later, the SSBUS I/F Controller logic was integrated into the IOP. And so it is no longer possible to implement a custom expansion device to connect to.
In the network adaptor, there is the SPEED (CXD9624GG, CXP9731GP, etc), which implements the various network-adaptor functions like the ATA and network (SMAP) controller.
SSBUSC Register Layout
DEV9 has multiple memory regions (unlike other devices, it has three control channels).
Note: DEV9C is an unofficial name. But the ATAD module from some boot ROMs identify the SSBUS I/F Controller (CXD9611-compatible) as the "DEV9C", as well as the service manuals.
According to various hints in official software like PS2Linux, the first two DEV9 control register sets are DEV9I and DEV9M. The 'I' and 'M' represent "I/O" and "Memory" windows. It is possible that they were brought over from an older PS2 design, which carried a more native PCMCIA interface design.
As of the first PlayStation 2 model (contains the CXD9566R), the PC CARD interface is managed through DEV9M.
DEV9I seems to be used for controlling the AIF (On TOOLs) and the I2C interface to the DVE.
DEV9C seems to affect access to the DEV9 Controller/SSBUS I/F Controller (CXD9566R or CXD9611-compatible).
For more information, please refer to the documentation that @wisi drafted (see below for related links).
SSBUS I/F Controller Models
Also found within the documentation by @wisi, but slightly more updated. This list is incomplete and may have some inaccuracies.
The SCPH-70000 (K-chassis) was the final PlayStation 2 model to have an actual SSBUS I/F Controller. Subsequent models (SCPH-75000 series and later) had this device integrated into the DECKARD IOP, which reports a revision of 0x31.
I once had a SCPH-39001 with the CXD9686R, but did not make a dump of its data... so I have no idea what its ID was.
Thanks to @Armorant, it appears that at least his DTL-T10000 has a CXD9546R, which identifies itself as v1.4. Such a low version number is unsupported by all known dev9 modules, which would explain why Sony wrote that the T10K has "no support" for the network adaptor.
Related Links/Posts
Special Thanks to @wisi, @Shuji, @l_oliveira and @AKuHAK
EDIT 2018/01/01: Corrected device table - SPU2 uses DACK8 and DREQ8 (of DEV8). DEV3 & DEV7 assignments are unknown.
Introduction to the Busses
@wisi has done wonderful research and experiments regarding the SSBUS. And I think it is good to have a thread to consolidate everything that we have ever discussed and gained.
The PlayStation 2 has a couple of data buses. Between the EE and IOP is the SBUS, while the IOP and its peripherals are connected via SSBUS. The EE is able to have access to the SSBUS peripherals, which allows a program from the EE to access IOP peripherals.
Code:
SBUS SSBUS EE <-----> IOP <--------> IOP Perherals
On the PlayStation, the relationship between the various busses has an uncanny similarity:
Code:
Main-bus Sub-bus GPU <----------> CPU <---------> Peripherals
SSBUS peripherals are assigned a device number. Each device has its own signals (/CSx, /INTx, /DACKx, /DREQx etc), and may have a SSBUS address and timing control register each. For now, we know:
- DEV1: DVD ROM
- DEV2: BOOT ROM
- DEV4: SPU
- DEV5: CD/DVD DSP
- DEV8: DREQ8 and DACK8 are used by SPU2. CS8 and INT8 are not connected.
- DEV9: Expansion Bus
- EXTR:
- Unused on most PlayStation 2 consoles. Exists as part of an unpopulated connector (CN505/CN5505).
- Even when CN5505 was removed, this set of signals still existed on mainboards.
- Finally removed from the last PlayStation 2 models (estimated to be the SCPH-90000 series).
- This interface is used on the TOOL, to connect the MRP to the IOP via the PIF.
- The /INTEX signal is routed to the INUM_EXTR interrupt.
CN505/CN5505
CN505/CN5505 is unlabelled in most service manuals. This connector provides connections to a lot of signals that run on the PlayStation 2, and was designed to allow the console's functionality to be extended.
Officially, only one PlayStation 2 model had this connector utilized: the SCPH-18000 GH-003 had a replacement BOOT+DVD ROM connected there. In the system 246, proprietary hardware connects through CN505, to replace the SSBUS I/F Controller/DEV9C device.
This appears to be the PIO interface from the PlayStation, and was removed from the late PlayStation 2 models (estimated to be the SCPH-79000 series).
Expansion Bus
DEV9 is connected to the SSBUS I/F Controller (CXD9611-compatible in expansion-bay consoles, while the A-chassis models have the CXD9566R). dev9.irx is used to set up and provide a software interface for software to communicate with the SPEED via DEV9.
On the SCPH-75000 and later, the SSBUS I/F Controller logic was integrated into the IOP. And so it is no longer possible to implement a custom expansion device to connect to.
In the network adaptor, there is the SPEED (CXD9624GG, CXP9731GP, etc), which implements the various network-adaptor functions like the ATA and network (SMAP) controller.
Code:
SSBUS IOP <---> DEV9 <---> SSBUS I/F Controller <---> SPEED <---> ATA, SMAP, DVR, Flash, UART
Code:
ID - PS2 Function - PS Function - Address - Delay (Configuration) --------------------------------------------------------------------------------------- 0 - Exp1 - Exp1 - 0xBF801000 - 0xBF801008 1 - DVD ROM - Exp3 - 0xBF801400 - 0xBF80100C 2 - Boot ROM - Boot ROM - - - 0xBF801010 3 - ??? - ??? - - 4 - SPU - SPU - 0xBF801404 - 0xBF801014 5 - CD/DVD - CD-ROM - 0xBF801408 - 0xBF801018 6 - ??? - ??? - - - - 7 - ??? - ??? - - - - 8 - Exp2 - Exp2 - 0xBF801004 - 0xBF80101C 9 - SPU2 - N/A - 0xBF80140C - 0xBF801414 10 - DEV9I - N/A - - - 0xBF801418 11 - DEV9M - N/A - 0xBF801410 - 0xBF80141C 12 - DEV9C - N/A - - - 0xBF801420 Common Delay register: 0xBF801020
Note: DEV9C is an unofficial name. But the ATAD module from some boot ROMs identify the SSBUS I/F Controller (CXD9611-compatible) as the "DEV9C", as well as the service manuals.
According to various hints in official software like PS2Linux, the first two DEV9 control register sets are DEV9I and DEV9M. The 'I' and 'M' represent "I/O" and "Memory" windows. It is possible that they were brought over from an older PS2 design, which carried a more native PCMCIA interface design.
As of the first PlayStation 2 model (contains the CXD9566R), the PC CARD interface is managed through DEV9M.
DEV9I seems to be used for controlling the AIF (On TOOLs) and the I2C interface to the DVE.
DEV9C seems to affect access to the DEV9 Controller/SSBUS I/F Controller (CXD9566R or CXD9611-compatible).
For more information, please refer to the documentation that @wisi drafted (see below for related links).
SSBUS I/F Controller Models
Also found within the documentation by @wisi, but slightly more updated. This list is incomplete and may have some inaccuracies.
Code:
- - Exp Device - Applicable - Rev - Model - Form-Factor - Models - Description ------------------------------------------------------------------------------------ 1.4 - CXD9546R - PC-CARD - DTL-T10000 - DTL-T10000 (non-H) 2.0 - CXD9566R - PC-CARD - A, AB & A+ 3.0 - CXD9611R - Exp.Bay - B & C - without SIG3(pin3) = reg. 146C/bit3. 3.1 - CXD9611AR - Exp.Bay - D - without SIG3(pin3) = reg. 146C/bit3. 3.1 - CXD9611BR - Exp.Bay - F - with SIG3(pin3) = reg. 146C/bit3. ??? - CXD9686R - Exp.Bay - G 3.1 - CXD9686AR - Exp.Bay 3.1 - CXD9686BR - Exp.Bay 3.2 - CXD2955R - Exp.Bay - H, I & J - Integrated with SPU2
I once had a SCPH-39001 with the CXD9686R, but did not make a dump of its data... so I have no idea what its ID was.
Thanks to @Armorant, it appears that at least his DTL-T10000 has a CXD9546R, which identifies itself as v1.4. Such a low version number is unsupported by all known dev9 modules, which would explain why Sony wrote that the T10K has "no support" for the network adaptor.
Related Links/Posts
- Original thread on the busses, DEV9 and SPEED by @wisi: http://psx-scene.com/forums/f167/speed-iop-dma-relaying-156928/
- SSBUSC Delay Register Definition (and research) by @wisi: https://assemblergames.com/threads/the-playstation-2-busses-dev9.67961/#post-960878
Special Thanks to @wisi, @Shuji, @l_oliveira and @AKuHAK
