matrix_df hotmail wrote: > Hallo Jan > > xenomai-2.2.0, rtnet-0.9.3-svn > > I have included the following lines in frag-ip.c (for user mode). > ----------------------------------------------------- > int fd; > > rt_task_set_periodic(NULL, TM_NOW, CYCLE); > fdtdma = rt_dev_open("TDMA0", O_RDONLY); > if (fdtdma < 0) { > printf("TDMA open failed!\n"); > } > > ret = rt_dev_ioctl(fdtdma, RTMAC_RTIOC_WAITONCYCLE, TDMA_WAIT_ON_SYNC); > if (ret < 0 ) { > printf("RTMAC_WAITONCYCLE failed"); > } > > printf("after WAITONCYCLE\n"); > -------------------------------------------- > > The problem is now that the process seems to hang in rt_dev_ioctl() > forever. > "after WAITONCYCLE" is never printed. > > A bug?
Grmbl, maybe. Is TDMA running smoothly? Unfortunately I have no test system at hand right now... Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users