I'm running into another problem porting the ns9xxx-eth.c network
driver to RTnet.  Slave mode works well when connecting to a known
working PC with RTnet, and rtping works fine after the connection is
established.  But device cannot establish a connection in master mode,
neither while broadcasting for the PC nor while using another
identical device (which obviously is known to work in slave mode).

I've verified that the RTcfg Stage 1 Config packets are identical
(except for IP addresses) between the working setup (in slave mode)
and the non-working condition (in master mode).  The problem seems to
be with the TDMA Sync packets.  There are a number of fields which are
simply not populated.  The "Cycle Number" is incrementing and
"Scheduled Transmission Time" appears to be a somewhat reasonable
value.  Why would the other values not be populated?  (see data
capture below)

Thanks,
- James



___________________

Device as Slave - packet captures:

0000  ff ff ff ff ff ff 00 30  ab 02 87 df 90 21 00 01   .......0 .....!..
0010  02 00 02 01 00 00 00 04  9a 1a 11 7e 0b 2d 7a d5   ........ ...~.-z.
0020  b4 24 11 7e 0b 2d 7a d5  b0 ec 20 73 6c 6f 74 20   .$.~.-z. .. slot
0030  30 20 32 30 30 3b 69 66  63 6f 6e 66               0 200;if conf

0000  ff ff ff ff ff ff 00 30  ab 02 87 df 90 22 00 01   .......0 ....."..
0010  0a 65 01 7e 0a 65 01 7f  04 00 42 24 54 44 4d 41   .e.~.e.. ..B$TDMA
0020  43 46 47 20 72 74 65 74  68 30 20 73 6c 6f 74 20   CFG rtet h0 slot
0030  30 20 32 30 30 3b 69 66  63 6f 6e 66 69 67 20 76   0 200;if config v
0040  6e 69 63 30 20 75 70 20  24 49 50 41 44 44 52 20   nic0 up  $IPADDR
0050  24 4e 45 54 4d 41 53 4b  5f 4f 50 54 0a            $NETMASK _OPT.



___________________

Device as Master - packet captures:

0000  ff ff ff ff ff ff 00 04  f3 ff ff fa 90 21 00 01   ........ .....!..
0010  02 00 02 01 00 00 00 00  71 37 00 00 00 00 00 00   ........ q7........
0020  00 00 00 00 00 25 22 b7  d2 ea 00 00 00 00 00 00   .....%". ........
0030  00 00 00 00 00 00 00 00  00 00 00 00               ........ .....

0000  ff ff ff ff ff ff 00 30  ab 02 87 df 90 22 00 01   .......0 ....."..
0010  0a 65 01 7f 0a 65 01 7e  04 00 42 24 54 44 4d 41   .e...e.~ ..B$TDMA
0020  43 46 47 20 72 74 65 74  68 30 20 73 6c 6f 74 20   CFG rtet h0 slot
0030  30 20 32 30 30 3b 69 66  63 6f 6e 66 69 67 20 76   0 200;if config v
0040  6e 69 63 30 20 75 70 20  24 49 50 41 44 44 52 20   nic0 up  $IPADDR
0050  24 4e 45 54 4d 41 53 4b  5f 4f 50 54 0a            $NETMASK _OPT.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers

Reply via email to