Bret Yen-Ting Lin wrote:
Hi
I am not sure if i have done something wrong with the installation, but I have only managed to get RTmac/TDMA working once which I informed Jan quite few weeks ago. Somehow it never worked since, and I didn't have the time to go into the codes and find out the reason until now.
I increased the TDMA_DEFAULT_DEBUG_LEVEL variable for detailed debugging.
Behavior 1 --------- I seem to be having a problem with task change. [...]
I cannot yet comment on your observation. It's foremost Marc's code, I will ask him for clarification.
There is only one thing I can say: So far, you are the first one having such trouble with the TDMA module of recent RTnet versions. All systems we tried up to now simply run :-/.
Behavior 2
---------
The second weird thing is in the executable 'rtnet' file. my client seems to be reaceving the 'ready' from server, but stuck when sending its own ready to the server.
[...]
That's very likely due to TDMA not working. Your patch targets this symptom, but it is wrong.
Another major fault which I have absolutely no idea of is.. everytime i have loaded rtnet, my system always hangs if i try to unload rtai_lxrt.o
Can I use RTmac/TDMA in LXRT ?
Yes, but I cannot speak for every RTAI version. We only tested a few (e.g. 3.0.r2) without problems.
Is there any test examples available for testing tdma ? In the example/rtmac/rtt directory, i tried testing it with the bellow commands but the client side 'showtime' doesn't print anything.. it is stuck in the line
if (ioctl_rt(tdma, RTMAC_RTIOC_WAITONCYCLE, &wait_on) != 0) { rt_printk("tdma_wait_sof() failed!"); return; }
Yes, your TDMA is simply not working.
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

