Hi all!
I'm working with two hosts (custom boards) with MPC860T
microcontrollers. I'm setting the follwing:
-----------------------------------------
Master host:
------------
(RTAI staff)
insmod /realtime/modules/rtai_hal.o
insmod /realtime/modules/rtai_malloc.o
insmod /realtime/modules/rtai_up.o
insmod /realtime/modules/rtai_sem.o
(RTnet staff)
1. insmod /realtime/rtnet/modules/rtai_rtdm.o
RTDM Version 0.5.1
2. insmod /realtime/rtnet/modules/rtnet.o
*** RTnet 0.7.1 - built on Nov 13 2006 07:04:37 ***
RTnet: initialising real-time networking
RTnet: stack-mgr started
RTDM: registered protocol device 2:2
RTDM: registered protocol device 17:2
3. insmod /realtime/rtnet/modules/mpc8xx_fec-rt.o
RTnet: registered rteth0
RTnet: rteth0: FEC ENET Version 0.3, irq 7, addr 00:a0:26:23:d1:2c
4. rtifconfig rteth0 up 10.1.3.3 netmask 255.0.0.0
5. rtifconfig
rteth0 Medium: Ethernet Hardware address: 00:A0:26:23:D1:2C
IP address: 10.1.3.3 Broadcast address: 10.255.255.255
UP BROADCAST RUNNING MTU: 1500
6. insmod rtcfg.o
RTcfg: init real-time configuration distribution protocol
7. insmod rtmac.o
RTmac: init realtime media access control
8. insmod tdma.o
RTmac/TDMA: init time devision multiple access for realtime stations
9. rtcfg rteth0 server
10. rtcfg rteth0 add 10.1.3.100
11. rtcfg rteth0 wait
[ at this point rtcfg hangs and dosen't return to prompt,
only with ctrl-c ]
Slave host:
-----------
(RTAI staff)
... the same ...
(RTnet staff)
1. insmod /realtime/rtnet/modules/rtai_rtdm.o
2. insmod /realtime/rtnet/modules/rtnet.o
3. insmod /realtime/rtnet/modules/mpc8xx_fec-rt.o
RTnet: registered rteth0
RTnet: rteth0: FEC ENET Version 0.3, irq 7, addr 00:a0:26:23:57:2c
4. rtifconfig rteth0 up 10.1.3.100 netmask 255.0.0.0
5. rtifconfig
rteth0 Medium: Ethernet Hardware address: 00:A0:26:23:57:2C
IP address: 10.1.3.100 Broadcast address: 10.255.255.255
UP BROADCAST RUNNING MTU: 1500
6. insmod rtcfg.o
7. insmod rtmac.o
8. insmod tdma.o
9. rtcfg rteth0 client
[ at this point rtcfg hangs and dosen't return to prompt,
only with ctrl-c ]
--------------------------------------------
This is the point: the master host is waiting for slaves (or clients)
and the only one slave is looking for a server. The server can't see
the client and vice versa.
Please anybody can help me with any advice?
Thanks in advace.
--
Javi Roman
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
RTnet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users