Why do I receive errors when running xPC target on a Pentium 4 target machine after generating code with visual studio .NET?

1 view (last 30 days)
Why do I receive errors when running xPC target on a Pentium 4 target machine after generating code with visual studio .NET?
My xPC Target computer is a single-board Pentium 4 computer. The xPC Host computer has both MS Visual C++ 6.0 and MS Visual Studio .NET (Visual C++ 7.0).
When I set my compiler to Visual C++ 6.0 in "xpcsetup", I can successfully run the "xpctest"; however, when I switch to Visual Studio .NET and run "xpcsetup" the test fails. It communicates, compiles the test program, and downloads to the Target, but then hangs and gives the following error:
Error executing build command:
Error using ==> make_rtw
Could not connect to Ping socket.
No errors are received when running "xpctest" on an AMD Athlon machine with Visual Studio .NET

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This problem has been addressed in xPC Target 2.0.1 (R13SP1). An exception handlers now exists which will raise a Win32 structured exception when the CPU signals an exception. If you are using a previous version, read the following:
This appears to be an incompatibility between the Pentium 4 and Visual Studio .NET, when using xPC Target 2.0 (R13). As a workaround, try using either a Pentium 3 or an AMD ATHLON target PC.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!