[ previous ] [ next ] [ threads ]
 
 From:  Paul Faure <paul at certainkey dot com>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  LEDs on the WRAP boards
 Date:  Mon, 2 Aug 2004 14:38:17 -0400
Hi, I am looking for some help on how to get the LEDs on the WRAP boards
working correctly. This was posted before, but no solution was found, I
was hopping that a solution is available now.

The wrap1c documentation has this:
 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.

Any help on writing the code to support such a feature in a module
would be great. My efforts have failed to change any of the LEDs at all.

Thanks in advance.
Paul

-- 
Paul N. Faure, B.Eng                      613.266.3286
Computer Systems Engineering              paul-at-faure-dot-ca
Chief Technical Officer, CertainKey Inc.  paul-at-certainkey-dot-com