|
发表于 2008-11-19 05:34:53| 字数 3,799| - 中国–上海–上海 东方有线
|
显示全部楼层
楼主,我装了最新版的debian-armel-5.0rc1。但还没装完。如果你能看到我回贴的话,可否交流一下呢。
现在支持了更多的硬件和软件哦:http://www.nslu2-linux.org/wiki/Peripherals/HomePage
这是nb的电路改造:
AddAThirtyFourPinUniversalConnector
I have worked out how to put a 34-pin IDC male header on the inside of the small flat side of the slug (where the FCC compliance label is, in fact - specifically where the words "This device ... may cause undesired operations" are) and connect all the additional interfaces up to it.
There is space on the PCB for a upside-down (the pins which normally go through the PCB will be sticking up) right-angle PCB-mount male header to be glued on the empty slice of PCB between the resistors and the edge of the PCB, from C45 to the power plug, clearing L2 (the coil) by removing some of the pins from the 34-pin male header. Some other pins are removed from the 34-pin male header to indicate keying of different interfaces (these pins would be otherwise unusable when my preferred connectors are plugged in). The 34-pin header is glued to the board, not the case, so you are still be able to remove the board from the case (the header comes out with the board).


Note that you have to notch out the top of the internal PCB mount to allow the header to take that space. The bottom slug is the modified one.

A 34-pin female cable mount is plugged into the pins that are sticking up, and from there, the ribbon cable connected to the 34-pin female cable mount splays out to the respective connection points.

The various interfaces have been arranged so that the ribbon cable splits into three main areas (connections to the south of the front of the PCB, connections to the north-west of the rear of the PCB, and connections to the south-east of the rear of the PCB).

A couple of the signals had to be soldered underneath the cable on the front, cause I initially made a mistake and had the pinout of the connector reversed. Luckily I had only soldered 10 wires by that stage, but by the time I realised the mistake I had already cut these two wires too short to take them over to D5 and D6 where I originally intended to pick up pins 9 and 11.

The curly wire is the spare signal connected to pin 21.

And here is the hole I cut in the case. I only made the hole big enough to get to pins 15 through 34 - I figured that if I broke my slug bad enough to require JTAG, then I can just take the PCB out of the case to fix it.

Here is the pinout of the 34-way connector:
Pin | Function | Connected to: | Comment | Pin | Function | Connected to: | Comment | 33 | +3.3V | J2, pin 1 | Serial 0 | 34 | +3.3V | X1205, pin 8 | I2C | 31 | RXD | J2, pin 2 | Serial 0 | 32 | GND | X1205, pin 4 | I2C | 29 | TXD | J2, pin 3 | Serial 0 | 30 | SCL | X1205, pin 6 | I2C | 27 | GND | J2, pin 4 | Serial 0 | 28 | SDA | X1205, pin 5 | I2C | 25 | | Removed | | 26 | | Removed | | 23 | +5V | JS1 (STH) | Misc | 24 | GND | JS1 (NTH) | Serial 1 | 21 | Spare | TBD | Spare | 22 | RESETBTN | S1 (RHS) | Misc | 19 | USB_DNEG | R131 (LHS) | USB Dev | 20 | RXD | R128 (RHS) | Serial 1 | 17 | USB_DPOS | R130 (LHS) | USB Dev | 18 | POWERBTN | S2 (LHS) | Misc | 15 | GND | D5 (Centre) | USB Dev | 16 | CTS_N | R142 (LHS) | Serial 1 | 13 | | Removed | | 14 | | Removed | | 11 | +3.3V | C156 (+ve) | JTAG | 12 | | Removed | | 9 | GND | C156 (-ve) | JTAG | 10 | | Removed | | 7 | TCK | R134 | JTAG | 8 | | Removed | | 5 | TDO | R137 | JTAG | 6 | | Removed | | 3 | TDI | R133 | JTAG | 4 | | Removed | | 1 | TMS | R132 | JTAG | 2 | | Removed | | Note that pins 2, 4, 6, 8, 10, 12, 13 and 14 are not useable when a Digilent JTAG3 cable is used for the JTAG port.


Note that pins 25 and 26 are not usable when a dual-in-line IDC female plug is used for the serial and I2C ports.
Note that the +5V pin is near the USB Device area, but should not normally be connected for self-powered USB Device like the NSLU2.
Note that pin 21 is left unconnected to allow a four pin header for the USB to be plugged in without connecting to the +5V pin.
Here are the pinouts of the individual interfaces:
Pin | Function | Connected to: | Comment | 34 | +3.3V | X1205, pin 8 | I2C | 33 | +3.3V | J2, pin 1 | Serial 0 | 32 | GND | X1205, pin 4 | I2C | 31 | RXD | J2, pin 2 | Serial 0 | 30 | SCL | X1205, pin 6 | I2C | 29 | TXD | J2, pin 3 | Serial 0 | 28 | SDA | X1205, pin 5 | I2C | 27 | GND | J2, pin 4 | Serial 0 | 26 | | NC | | -- | -- | -- | -- | 25 | | NC | | 24 | GND | JS1 (NTH) | Serial 1 | 23 | +5V | JS1 (STH) | Misc | 22 | RESETBTN | S1 (RHS) | Misc | 21 | Spare | TBD | Spare | -- | -- | -- | -- | 20 | RXD | R128 (RHS) | Serial 1 | 19 | USB_DNEG | R131 (LHS) | USB Dev | 18 | POWERBTN | S2 (LHS) | Misc | 17 | USB_DPOS | R130 (LHS) | USB Dev | 16 | CTS_N | R142 (LHS) | Serial 1 | 15 | GND | S2 (RHS) | USB Dev | -- | -- | -- | -- | 14 | | NC | | 13 | | NC | | 12 | | NC | | 11 | +3.3V | VCC near JTAG | JTAG | 10 | | NC | | 9 | GND | GND near JTAG | JTAG | 8 | | NC | | 7 | TCK | R134 | JTAG | 6 | | NC | | 5 | TDO | R137 | JTAG | 4 | | NC | | 3 | TDI | R133 | JTAG | 2 | | NC | | 1 | TMS | R132 | JTAG |
Pin | Serial 0 (NSLU2 J2 pinout) | 1 | +3.3V | 2 | RXD | 3 | TXD | 4 | GND |
Pin | I2C (standard Philips pinout) | 1 | +3.3V | 2 | GND | 3 | SCL | 4 | SDA |
Pin | JTAG (Digilent JTAG3 Cable pinout) | 1 | +3.3V | 2 | GND | 3 | TCK | 4 | TDO | 5 | TDI | 6 | TMS |
Pin | USB Device Type-B Socket | 1 | +5V | 2 | USB_DNEG | 3 | USB_DPOS | 4 | GND |
[ Edited by zanero on 2008-11-19 05:37 ] |
|