ts-7000
[Top] [All Lists]

Re: [ts-7000] Cygwin/RTAI/TS-7250/SPI Interrupt build environment questi

To:
Subject: Re: [ts-7000] Cygwin/RTAI/TS-7250/SPI Interrupt build environment question.
From:
Date: Mon, 7 May 2007 13:56:03 -0500

First question -- have you built a kernel that is rtai enabled?

wrote on 05/07/2007 12:46:58 PM:

> I am somewhat new to embedded Linux development and have a build
> environment question.
>
> I am using the TS-7250 board. What I want to do is to have it
> connected to another micro that will send it data via the SPI.
>
> I am using Cygwin with the provided crosstool chain (from the provided
> CD) to do development. I have written a small piece of test code that
> enables the SPI and dumps out some dummy data. I am convinced this
> works by placing the scope on the SPI outs and seeing activity there.
>
> Now, I need to write an ISR to catch the SPI RX interrupt and take the
> input data from the DR and store it somewhere. (At least, that is what
> I think I need to do?)
>
> So my main question is regarding the interrupt and the ISR handling.
>
> I have seen that I need to use the RTAI function calls to do this but
> am not sure how to build this. I untarred the RTAI stuff in my cygwin
> directory. However it appears that I need to perform some sort of
> build or configuration on the RTAI stuff before I can build any of my
> code that calls these functions.
>
> Is it possible to develop in this fashion, where I compile my code
> using RTAI calls on my PC and then transfer the compiled binary over
> and run it?
>
> Also, I am confused on what number the interrupt is. I see the chart
> from the EP9301 PDF, is the number listed there the one I can pass
> into the RTAI API function call, or is there some sort of translation
> I need to be aware of?
>
>
>
>  
> 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/
>  
__._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os Single board

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU