Hi,

We are working with a old ISA Data Acquisition Card.
The FIFO of the ISA DAQ card is mapped at 0xd0000 location.
It is a 64 K FIFO.  When the first half (32 K) gets filled,
the data is transferred to the Hard disk file.  It works
fine upto a file size of around 114 Mega Bytes.  After crossing
this limit the system no longer does the file writing.  It
simply stops and the FIFO full flag appears on the card
(Which has been seen through the scope).  One can come out
of the program by pressing ctrl+c key combination.
The data rate to the ISA DAQ card is 525 Kilo Bytes/second.

The RT Linux kernel used is 2.2.14 rtl 2.2
(Freely downloaded from : fsmlabs.com (few months back))

Technique used for file writing is
mmap().  We are mapping from 0xd0000 location onwards
32K.  Then it is directly written to the file.
(with the ISA hole - 640 KB to 1 MB region)

Running this program as root.  Otherwise mmap was not
allowing to map the memory at 0xd000

Can someone guide us to overcome this problem?  The requirement
is, it has support upto 700 Mega Bytes filesize.

Thanks.

Regards,

gkrishna
Raman Research Institute
Bangalore - 80, INDIA

-- [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