Host computer can't connect to target computer.

Hi all,
I'm having trouble connect my host computer to target computer.
My target computer is DELL OptiPlex 7060, its built-in ethernet card is Intel(R) Ethernet Connection(2) I219-LM, which is not supported by xpc target, so I install a R8139 ethernet card, which is supported by xpc target, into its mainboard, and this R8139 ethernet can be used normally in my older xpc target computer. Also, I disable the built-in ethernet card in the bios setup, and I can surf the Internet normally in the Windows environment with the installed R8139 ethernet card.
However, after I boot the target computer successfully with the DOS Loader Boot Method, I can't connect my host computer to the target computer.
When I type 'slrttest' in the command window in MATLAB, it shows the contents below:
### Simulink Real-Time Test Suite
### Host-Target interface is: TcpIp
### Test 1, Ping target computer 'TargetPC1' using system ping: ... FAILED
### Test 2, Ping target computer 'TargetPC1' using SLRTPINGTARGET: ... FAILED
Both system ping and target ping have failed.
There is a problem with your TCP/IP connection.
I don't know how to solve this problem, the host problem and the target computer are in the same LAN, connected by Router and Switch Hub.
The target computer properties:
IP address:192.168.1.161
Subnet mask:255.255.255.0
Port:22222
Gateway:192.168.1.1
Target driver:Auto
Bus type:PCI
The host computer properties:
IP address:192.168.1.136
Subnet mask:255.255.255.0
Subnet mask:255.255.255.0
Gateway:192.168.1.1
Does anyone have any ideas for troubleshooting these connections? Is there any problems in my bios setup?
All help much appreciated.

댓글 수: 6

Jon Lobo
Jon Lobo 2019년 1월 3일
Can you give some more information about your target setup?
  • What version of MATLAB are you using?
  • Does the target boot successfully? If not, are you using graphics mode?
Thank you for your reply!
The MATLAB version is 2018b,and my target computer boots successfully。
The graphics mode and USB support options are all checked.
And this is the boot screen of my target computer.
微信图片_20190103155038.jpg
By the way, my target computer CPU is 64-bit, and the R8139 ethernet card is 32-bit network card, is this the reason causes the problem mentioned in this question?
Why is the network configured with a router and switch/hub? I'm a bit confused here. Maybe there is a fundamental networking issue going on.
I have solved this problem!
I purchase a new Intel210 ethernet card and installed it into my target computer, the target computer boot successfully. So the reason is that the 64-bit CPU can't work with 32-bit network card in the xpc target environment.
I type "slrttest" in the command window of MATLAB in the host computer, all tests are successfully executed.
Thank you all!
Please also note that support for custom target hardware has been removed in Simulink Real-Time in R2018a. Starting from that release, only Speedgoat target machines are officially supported.
For more information, have a look at www.speedgoat.com and at the Release Notes for Simulink Real-Time.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

제품

릴리스

R2018b

질문:

2018년 12월 31일

댓글:

2020년 10월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by