[En-Nut-Discussion] Olimex SAM9-L9260 board
Lars Tore Skau
larstore at gmail.com
Tue Jun 10 12:21:41 CEST 2008
I don't think NutOS will ever be able to replace linux, but its great to use
for small applications where basic OS functions are needed.
On the CD that comes with the Olimex card, you will find a working linux,
and a sam-ba which works with the nand.
I use the newest SAM-BA with some minor modifications (the nand ID and
parameters must be added to the nand applet)
To read an input pin, try this:
outr(PIOC_PER, _BV(15)); //enable pio control
outr(PIOC_ODR, _BV(15)); //set pin as input
if((inr(PIOC_PDSR) & _BV(15)) ? 1 : 0)
//pin is high
//pin is low
- Lars Tore
On Tue, Jun 10, 2008 at 11:10 AM, af_80 <a_funk80 at yahoo.de> wrote:
> I have the same board and also the problem with nand-flash which will not
> detected by SAM-BA. Most of the atmel-ek examples works fine with the
> board. This board seems to be ok but they are no examples from olimex
> Now i try to run Nut/OS because Linux-OS was too difficult to use for me.
> If u have one example how to use the user button connected to pin15 on
> I will be happy to see it. This is at the moment my biggest issue to read
> from input pins.
> View this message in context:
> Sent from the MicroControllers - Ethernut mailing list archive at
More information about the En-Nut-Discussion