DEV9 Serial I/O Port REVEALED!
Posted: Mon Jun 07, 2004 9:52 pm
Ok, rather than sit on this info until I had a working prototype,
I decided I am better off sharing all of this so others can look
at it in the mean time. A couple of side problems have stymied me,
as I will explain later.
Essentially, the gist of it is that DEV9 has an RS232 serial port.
In theory, it probably exists on all versions of the Broadband
Adapter, but only the North American one likely has anything
connected to it. Whats connected to it on the NA adaptor ? Well,
the modem of course!
In fact, on the NA adapter, the Modem is wholly on a daughtercard
that snaps onto the main adapter board. It snaps on with an unusual
20-pin (2 rows x 10 pins/row) connector. It is this connecter through
which the RS232 signals transit from DEV9 to the Modem. Just remove
the modem board, and voila! There is a serial port just waiting to
be used! The modem board could in theory be used elsewhere too,
more on that later.
The key to DEV9 serial is figuring out which line is which. There
may not be a datasheet on DEV9, but you can find one on the ASIC
used in the modem daugherboard. Tracing the lines back through
the connecter to the DEV9 gives us what we can use.
I have been able to visually determine the following:
The first seven RS232 lines above would be the ones you can use
to pinout a 9-pin serial cable. I plan on using a CAT5 cable to lead
out of the PS2 unit terminated with a RJ-45 connector. This allows
easy use of RJ45-DB9 converters.
Now, if you really want, you can still make use of that modem board!
Snap a RJ-11 phone jack on one end for a telephone, and a RS232
cable on the other end, and voila! Instant external modem! It probably
could even be powered off the serial line from the host! There are
even pins on the modem ASIC for an external speak (or cellphone
connections for that matter, hunt down the datasheet for the gory
details!).
So how does one use this once it put together ? The quickest way to
give it a spin is if you have a PS2Linux kit, since it already has
serial drivers available for this. You will need to download the serial
modem kernel patch and kernel module from playstation2-linux. The dev9
register addresses are in the source too for building a ps2dev SDK
driver.
The reason I am stymied are twofold:
1. I am bad at soldering. These traces and vias are WAY too close
together. Instead of soldering the board directly, I am going
to try to find compatible connectors. I think I actually found
a back alley shop in Akhihabarra that has a ton of these connectors.
I am going back this weekend.
2. Since I want to see if the non-NA broadband adapter might have
any of these lines traced out, I will need to pop the DEV9
chips off of both kinds of broadband adapters, since the traces
run underneath the chips. I already destroyed my modem board for
the same reason, the only way I could follow things to figure
their functions was to pop off chips and connectors. So in the
mean time, I will have no working broadband adapters, at least,
not a working NA BB adapter. I do have a 3rd BB JPN adapter
without the modem.
I have a co-worker visiting the country next week that I will ask to
bring another NA network adapter. In the meantime I will have hopefully
obtained connectors for a "no solder" (on the PCB boards that is)
method of hooking things up.
If I get any more progress, I will make more updates. We may finally
have an IOP SIO! Well ok, its not the same as a true SIO, but it will
be an SIO thats accessible from both EE and IOP (the PS2Linux drivers
are EE-side drivers), so it would make a great console terminal for
programs on both sides. You would also have a small external modem
in the bargain!
Gorim
I decided I am better off sharing all of this so others can look
at it in the mean time. A couple of side problems have stymied me,
as I will explain later.
Essentially, the gist of it is that DEV9 has an RS232 serial port.
In theory, it probably exists on all versions of the Broadband
Adapter, but only the North American one likely has anything
connected to it. Whats connected to it on the NA adaptor ? Well,
the modem of course!
In fact, on the NA adapter, the Modem is wholly on a daughtercard
that snaps onto the main adapter board. It snaps on with an unusual
20-pin (2 rows x 10 pins/row) connector. It is this connecter through
which the RS232 signals transit from DEV9 to the Modem. Just remove
the modem board, and voila! There is a serial port just waiting to
be used! The modem board could in theory be used elsewhere too,
more on that later.
The key to DEV9 serial is figuring out which line is which. There
may not be a datasheet on DEV9, but you can find one on the ASIC
used in the modem daugherboard. Tracing the lines back through
the connecter to the DEV9 gives us what we can use.
I have been able to visually determine the following:
Code: Select all
RS232 Connector Pins
Function DEV9 MODEM
TXD 14 7
RTS 12 9
CD 10 11
DTR 8 13
RXD 13 8
CTS 11 10
DSR 9 12
-------------------
Reset 6 15 (reset to modem)
Ring 7 14
Modem 5 & 6 are tied together, and so are DEV9 15 & 16.
1,2,19,20 appear to be grounds on both devices.
DEV9 3,4,5 also appear to be grounds or shields.
DEV9 17,18 appear unconnected.
to pinout a 9-pin serial cable. I plan on using a CAT5 cable to lead
out of the PS2 unit terminated with a RJ-45 connector. This allows
easy use of RJ45-DB9 converters.
Now, if you really want, you can still make use of that modem board!
Snap a RJ-11 phone jack on one end for a telephone, and a RS232
cable on the other end, and voila! Instant external modem! It probably
could even be powered off the serial line from the host! There are
even pins on the modem ASIC for an external speak (or cellphone
connections for that matter, hunt down the datasheet for the gory
details!).
So how does one use this once it put together ? The quickest way to
give it a spin is if you have a PS2Linux kit, since it already has
serial drivers available for this. You will need to download the serial
modem kernel patch and kernel module from playstation2-linux. The dev9
register addresses are in the source too for building a ps2dev SDK
driver.
The reason I am stymied are twofold:
1. I am bad at soldering. These traces and vias are WAY too close
together. Instead of soldering the board directly, I am going
to try to find compatible connectors. I think I actually found
a back alley shop in Akhihabarra that has a ton of these connectors.
I am going back this weekend.
2. Since I want to see if the non-NA broadband adapter might have
any of these lines traced out, I will need to pop the DEV9
chips off of both kinds of broadband adapters, since the traces
run underneath the chips. I already destroyed my modem board for
the same reason, the only way I could follow things to figure
their functions was to pop off chips and connectors. So in the
mean time, I will have no working broadband adapters, at least,
not a working NA BB adapter. I do have a 3rd BB JPN adapter
without the modem.
I have a co-worker visiting the country next week that I will ask to
bring another NA network adapter. In the meantime I will have hopefully
obtained connectors for a "no solder" (on the PCB boards that is)
method of hooking things up.
If I get any more progress, I will make more updates. We may finally
have an IOP SIO! Well ok, its not the same as a true SIO, but it will
be an SIO thats accessible from both EE and IOP (the PS2Linux drivers
are EE-side drivers), so it would make a great console terminal for
programs on both sides. You would also have a small external modem
in the bargain!
Gorim