A |
B |
C |
D |
|
E |
F |
|
157 |
1 |
CORNER |
LED2[1]* |
158 |
2 |
CBD8 |
LED10 |
9 |
gpio15 |
|
159 |
3 |
|
|
|
|
LED2[0] |
160 |
4 |
CBD7 |
LED4 |
11 |
gpio14 |
LED1[2] |
161 |
5 |
FREE |
LED14 |
4 |
gpio13 |
LED1[1] |
162 |
6 |
CBD6 |
LED9 |
13 |
gpio12 |
LED1[0] |
163 |
7 |
CBD5 |
LED3 |
15 |
gpio11 |
LED0[2] |
164 |
8 |
FREE |
LED13 |
2 |
gpio10 |
LED0[1] |
165 |
9 |
CBD4 |
LED8 |
17 |
gpio9 |
LED0[0] |
166 |
10 |
CBD3 |
LED2 |
19 |
gpio8 |
Code |
what it means |
A |
LED number (data sheet) |
B |
ADM5120 pin number |
C |
count from corner |
D |
LED number on circuit board |
E |
my IDE cable pin number |
F |
dl4huf led.c driver |
|
A |
B |
C |
D |
|
E |
F |
LED4[2] |
141 |
16 |
FREE |
LED17 |
10 |
gpio22 |
LED4[1] |
142 |
15 |
CBD12 |
LED12 |
1 |
gpio21 |
LED4[0] |
143 |
14 |
CBD11 |
LED6 |
3 |
gpio20 |
LED3[2] |
144 |
13 |
FREE |
LED16 |
8 |
gpio19 |
LED3[1] |
145 |
12 |
CBD10 |
LED11 |
5 |
gpio18 |
LED3[0] |
146 |
11 |
CBD9 |
LED5 |
7 |
gpio17 |
LED2[2] |
147 |
10 |
FREE |
LED15 |
6 |
gpio16 |
|
148 |
9 |
GPIO[0] power LED |
|
39 |
gpio0 |
|
149 |
8 |
GPIO[1] FREE |
LED1 |
37 |
gpio1 |
|
150 |
7 |
GPIO[2] reset switch |
|
35 |
gpio2 |
|
151 |
6 |
GPIO[3] FREE |
LED7 |
33 |
gpio3 |
|
152 |
5 |
|
|
|
|
|
153 |
4 |
|
|
|
|
|
154 |
3 |
|
|
|
|
|
155 |
2 |
|
|
|
|
|
156 |
1 |
CORNER |
|
Notes.
1) The ADM5120 CORNER above is the
one nearest to C20 and the USB oscillator.
2) * error in data sheet
3) All in red are pins on the CPU that are cut and wired
4) Note that GPIO [1] and [3] are controled by led.c (as LEDs 1 and 7)
AND may be controlled by console commands and .sh scripts - see here
5) Blue gpio numbers are for the dl4huf led.c/h
driver (after 15 Jan 07)
6) gpio4/5/6/7 are not on the Sweex ADM5400 chip version
Sweex Ethernet Status LED display layout numbering
- as used by led.c and led.h (as modified by TheKr1S) (blue
by dl4huf )
CBDx = LED numbers as printed on circuit board
|
GPIO[3]
LED7
gpio3
|
|
LED8
CBD4
gpio9
|
LED9
CBD6
gpio12 |
LED10
CBD8
gpio15 |
LED11
CBD10
gpio18
|
LED12
CBD12
gpio21 |
GPIO[1]
LED1
gpio1 |
|
LED2
CBD3
gpio8
|
LED3
CBD5
gpio11 |
LED4
CBD7
gpio14
|
LED5
CBD9
gpio17
|
LED6
CBD11
gpio20
|
On the Sweex the GPIO[3] and [1] leds
(above left) are not on the router.
These have to be cut at the CPU pins
|
PCI cable pin allocation (for my personal record) |
+5V |
40 |
|
39 |
GPIO[0] power led gpio0 |
+5V |
38 |
|
37 |
GPIO[1] gpio1 |
+3.3V JP2-2 |
36 |
|
35 |
GPIO[2] reset switch gpio2 |
|
34 |
|
33 |
GPIO[3] gpio3 |
|
32 |
|
31 |
0V JP2-8 |
|
30 |
|
29 |
tty(0) yellow TXD JP2-7 |
|
28 |
|
27 |
tty(0) white RXD JP2-1 |
|
26 |
|
25 |
tty(1) green - pin 131 |
|
24 |
|
23 |
tty(1) blue - pin 130 |
|
22 |
|
21 |
0V short to pin 31 |
removed |
20 |
|
19 |
CBD3 LED2 gpio8 |
|
18 |
|
17 |
CBD4 LED8 gpio9 |
|
16 |
|
15 |
CBD5 LED3 gpio11 |
|
14 |
|
13 |
CBD6 LED9 gpio12 |
|
12 |
|
11 |
CBD7 LED4 gpio14 |
LED17 gpio22 |
10 |
|
9 |
CBD8 LED10 gpio15 |
LED16 gpio19 |
8 |
|
7 |
CBD9 LED5 gpio17 |
LED15 gpio16 |
6 |
|
5 |
CBD10 LED11 gpio18 |
LED14 gpio13 |
4 |
|
3 |
CBD11 LED6 gpio20 |
LED13 gpio10 |
2 |
|
1 |
CBD12 LED12 gpio21 |
|