Hi all,

I have here a simple program running and have some problems:

My setup:
- Acromag APC8620 Carrier board with 2 IP modules:
   IP340   ADC
   IP220   DAC
- Dual Pentium III - 1 Ghz on a Asus board with VIA chipset
- RTLinux 3.1 and kernel 2.4.4
- Debian ...

- I have a thread and one interrupt handler
   Interrupt from hardware after 8 samples in card-fifo
   -> Interrupt handler
   -> thread wakes up
   thread-> read from memory 8 times
   thread-> some control ( now 1:1)
   thread-> write to memory
   thread-> suspend thread

The problems:
- the I/O things happen in the interrupt handler
   ==> the machine freezes - after 1-40 seconds
- the I/O things happen in the thread
   ==> the time to wakeup seems to be very long
   ==> sometimes channel shift etc.
- i do something in Linux (scrolling a window in Mozilla ...)
   ==> i see on the oscilloscope a time shift of 30-100 microseconds

Are my considerations good:
- ban Linux from one cpu and run it only on one
   (has anybody a exmaple code snippet, better than reserve_cpu.c?)
- run slower ... (not really a good idea ...)
- running the debug module ... (but even then: the machine freezes ...)

Thanks for any help,
Stefan

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to