[ previous ] [ next ] [ threads ]
 
 From:  "Timothy Jans" <timothy dot jans at pandora dot be>
 To:  "Manuel Kasper" <mk at neon1 dot net>, <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Bug Report : Leds on WRAP.1C Board
 Date:  Tue, 30 Mar 2004 17:54:17 +0200
I have a last new WRAP.1C Board (1mini-pci and 3 lan).
LED1 (D3) is always on, and the other 2 never blink (only 1 sec on boot, 
which is probably post), switch also doesn't work.
People with older WRAP Boards (1A and/or 1B) do not seem to have this 
problem.
Maybe bug or change from I/O port?

Section from manual :
---- section from wrap1c.pdf ----
Front panel LEDs and switch


LED1 (D3)   GPIO2  write I/O port [GPIOBASE]   bit 2 0 = light

LED2 (D2)   GPIO3  write I/O port [GPIOBASE]   bit 3 0 = light

LED3 (D1)   GPIO18 write I/O port [GPIOBASE]   bit 18 0 = light

Switch (S1) GPIO40 read I/O port [GPIOBASE+20] bit 8 0 = pressed


With tinyBIOS, GPIOBASE is 0F400h. If you would like to write a more generic
driver, use the
SC1100 I/O base registers to determine GPIOBASE.
---- section from wrap1c.pdf ----

Manual for WRAP board : http://www.pcengines.ch/wrap1c.pdf
Manual for TinyBios : http://www.pcengines.ch/tb13.pdf