Bret Yen-Ting Lin wrote:
Hi Jan

Ok, I have learnt how to make patch files.. here is the patch..
[...]

Do you still need the patch to make TDMA work? Or what is the effect of it now?



I did more testings today and found the TDMA to be working with example/rtmac/rtt .. with jitters of around +/- 5us. I was mislead by the instructions given from './run -h' as shown bellow, thats why i couldn't make it working


rtmac_dev="TDMA0"   - rtnet-0.7.0
instead of

sof_sync="rteth0"   - rtnet-0.6.2

This is what i changed

+++ ./run       Thu Aug 12 18:02:14 2004
@@ -19,8 +19,12 @@ Usage:
        run clientp <server-ip> [options...]
        run stop
 Options:
+ [MAC type]
+  (Conventional UDP)
        cycle=<us>
-       sof_sync={0|1}
+  (TDMA)
+       cycle=<times>           (based on TDMA rtnet.conf 'TDMA_CYCLE')
+       rtmac_dev=<tdma_device> (e.g. TDMA0)
 EOF
 }


Thanks for pointing out, will be fixed.


As for the 'rtnet' executable.. it was working without any ajustments now.. so i guess it should be alright.



Do you mean the rtnet script?

Since now that VNIC is ifconfiged.. how would i write some program that requires communcation with other stations that doesn't have RTAI installed. likewise how would the other stations acknowledge RTnet's existence? because I seem not to be getting anything from ping


All station within your real-time Ethernet segment must run RTnet (i.e. they also have to run RTAI so far). If you have any station without RTnet support, move it outside that network and set up one RTnet station with two network cards as a gateway between both worlds. Otherwise, you will no longer be able to get those nice jitters (BTW, 5 �s is rather low. You may re-check this value with your stations under load).



p.s. now most of the time i can rmmod rtai_lxrt.o without system crash. I guess it was that rt_task_delete() missing all along for me ? but i am curious why the failure I was having never occured to you ?



Yes, we are, too. I think this requires some careful analysis. Will let you know when we have news.


p.s2 The university's system managering group seem to be tracking broadcasts from my rtnet server. is there anyway to turn it off ?


Move your RTnet stations in a dedicated segment. That is required anyhow to gain hard real-time performance. A simple hub or, if you are not able to obtain such a device anymore, a cheap switch should be enough.


Jan


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to