Hi everyone, we need some help!
Before anything, let me tell you that we are newbie in Embedded Linux and we
are working with TS-7260 with TS-Linux.
We developed an external board called "Communication Board" that should send
data to TS-7260 by PC/104. The device that talks with TS-7260 is a TL16C550
(Asynchronous Communications Element With Autoflow Control). As our ARM won't
be waiting for this data we should implement an external interrupt to receive
it when data is ready. So, we correctly configured the TL16C550 to generate an
"interrupt signal" when data is ready and then this signal is sent to PC/104
B21, B22 and B23, which are IRQ5, IRQ6 and IRQ7 respectively. At this part we
are having some troubles. Reading EP9302 user guide we set the configurations
of VIC (Vectored Interrupt Controller) and thought that everything was work,
but anything happened. Using a scope we saw our "interrupt signal" at IRQ's
pins, although the ARM didn't recognize the interruption and continued running
the code. So we decided to try timer interrupt to see if we made any wrong
configuration. It didn't work too either configuring EP9302 as it's indicated
in user guide. We read EP9301 user guide to get more information but anything
helped. At this point, we started to look for samples at net but neither one
worked. Looking at TS-7260 we read about RTAI. Is it necessary for external
interrupt? If not, anyone have an idea about what should I do for this work? We
are developing our codes in Eclipse IDE using C and our cross compiler is
gcc-4.1.0-glibc-2.3.2. Our OS is Windows XP and we use Cygwin.
Other useful information is that we can't use libraries like interrupt.h
because we get a lot of errors when we build the project.
Would someone help us? We are trying to solve this problem for about five
weeks. I will appreciate any kind of help!
Thanks,
Silva
------------------------------------
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/
|