Hi all,
you can find a first rudimentary implementation of the TDMA-V2 RTmac discipline in the SVN. So far, it supports only two slots (slot 0 as the default slot for everything and the additional slot 1 which takes non-real-time data), no delay calibration between master and slaves, and no backup master. However, it already works as a full replacement for TDMA-V1! And even better, I managed for the first time to hot-plug an RTnet node into an existing real-time network. I was also able to restart the master without having to restart the slave as well.
To play a bit with it, load all required modules (rtnet, driver, rtcfg, rtmac, tdma) and run the following on the master (note: parameters are just examplary):
rtifconfig rteth0 up 192.168.0.1 tdmacfg rteth0 master 2000 tdmacfg rteth0 slot 0 1700
rtcfg rteth0 server -r rtcfg rteth0 add 192.168.0.2 -stage1 tdma_slave_2
ifconfig vnic0 up 192.168.0.1
tdma_slave_2 can look like this and will create an rt and an immediately following non-rt slot on the slave:
tdmacfg rteth0 slot 0 200; tdmacfg rteth0 slot 1 200
The slave has to load all modules as well and run this commands:
rtifconfig rteth0 up 192.168.0.2 tdmacfg rteth0 slave
sh -c "`rtcfg rteth0 client -c`"
rtcfg rteth0 announce rtcfg rteth0 ready ifconfig vnic0 up 192.168.0.2
You may start master and slave in arbitrary order. You are furthermore free to add more slaves - I can only test with 2 stations at home :(.
The foundations are now laid for a speedy migration to TDMA-V2. The plan is to have both TDMA versions in the next release series 0.8.x and to drop TDMA-V1 in 0.9.x after V2 has matured and is fully functional. And then THE release 1.0 can come...
Jan
PS: Note that due to the parallel upgrade of the RTmac frame to version 2.0, the SVN version will no longer work with previous RTnet releases, although TDMA-V1 remained unmodified.
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

