Hi all,
I am using the TS-7300 for a project which involves capturing data at 3ms
intervals. I have programmed the fpga to provide a circular queue of 8
buffers. Additionally I hve a second ts7300 set up to simulate the data
source, so in its case I need to send data on 3ms intervals (controlled by a hw
timer on the receive ts7300). on the sim side I have also allocated an 8
element circular queue.
Presently I am running the stock 2.4 kernel and the stock qt 3.3.4 library. My
application uses mmap and polling in userland. ussleep within my code causes
delays exceeding my buffer size. I put a lot of effor at one point into porting
to 2.6 and qt 4.5, and decided to focus on the hw and see where the community
got in the meantime.
My present implementation only runs for a couple hunderd thousand cycles before
dropping a buffer on one side or the other. ssh or telneting in is guaranteed
to kill it. My usual approach being more hw than sw oriented is to provide BIG
buffers, and make sure that the overall bw can be achieved. Right now I am
limited to 24ms of buffering.
Where should I go from here?
1. keep the 2.4 kernel... write a device driver to handle interrups?
2. RTAI + QT?
3. Get a 2.6 kernel and QT up and running (will this give me the needed 5-10ms
max time my app is switched out?)
4. Get the SDRAM interfaced and use it to buffer? I have always used zbt sram
on hw designs I made, avoiding sdram, How hard will it be to use?
Any comments and suggestions are much appreciated.
Regards,
Mike
------------------------------------
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/
|