Thanks, that really helps. So let me make sure I got this right. I am going
to need to
make a driver that will handle the particular interrupt for the timer?
That seems a little more complicated that what I was expecting, but it will be
fine because
I wanted to get into writing some basic drivers. I just began reading that
book you
mentioned, although it is the third edition and covers kernel 2.6; my library
doesn't have
the second edition. I will give writing the ISR a shot when I am ready.
Thanks for the
links, too. I found that first one a few weeks ago and it has been really
helpful with
setting up a crosscompiler.
Brandon
>
> When you program a PIC, your application code is pretty
> much running directly on the processor. When you run
> Linux or any other OS on a processor, you generally use
> the OSes API for connecting up to interrupt handlers.
>
> In the case of Linux, its request_irq().
>
> If you are running without an OS, then you can pretty
> much do what you would do on a PIC.
>
> You'll want to look around on the web for the 2nd edition
> of the Linux Device Drivers book by Rubini. It covers the
> driver APIs for the Linux 2.4 series kernel.
>
> You could also look on the list archives and try to get
> a 2.6 kernel working on your board, and then use the
> 2.6 kernel API.
>
> Here's some notes to get you started:
>
> 1. TS7300 kernel and driver environment setup
>
> http://www.ovro.caltech.edu/~dwh/ts7300/
>
> 2. LPC2000 ARM microcontrollers
>
> http://www.ovro.caltech.edu/~dwh/ucos/
>
> (Just to show you how to setup a bare metal system like
> the PIC)
>
> 3. Some 2.6 device driver examples
>
> http://www.ovro.caltech.edu/~dwh/correlator/pdf/LNX-723-Hawkins.pdf
> http://www.ovro.caltech.edu/~dwh/correlator/software/driver_design.tar.gz
>
> Cheers,
> Dave
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|