Host computer can't connect to target computer.

2 次查看(过去 30 天)
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 个评论
PengQilin PengQilin
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!
Dimitri MANKOV
Dimitri MANKOV 2020-10-29
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

Community Treasure Hunt

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

Start Hunting!

Translated by