Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Attaching to VxSim from .bat file

194 views
Skip to first unread message

mosh...@my-deja.com

unread,
Jan 9, 2001, 1:23:53 PM1/9/01
to
To run my program from a batch file, I am compiling with the following
code,which works fine.

REM how to compile from command line
set WIND_BASE=T:/tornado
set WIND_HOST_TYPE=x86-win32
REM T:\Tornado\host\x86-win32\bin\make.exe makefile call.o
mkdir simntgnu
make makefile testecma.out
torVars.bat

I then tried to use the same target attachment command as on Tornado,
tgtsvr.exe vxsim@cefalu -V -B wdbpipe -R T:/TEMP/tsfs -RW
but got the following error message:

Error: clnttty_bufcreate can't open pipe
Error: clnttty_bufcreate can't open pipe
Error: clnttty_bufcreate can't open pipe
Error: Remote system error; Error 65636
Error: Backend initialization routine failed.
Problem during Backend initialization
Target Server will exit

Is it possible just to attach to VxSim from the command line without a
real target?

Sent via Deja.com
http://www.deja.com/

DrDiags

unread,
Jan 10, 2001, 10:28:44 PM1/10/01
to
Moshiach,

Was the SIM vxWorks.exe running on your host. I assume so, but the
errors seem to say different. I am thinking you should have executed the
vxWorks.exe kernel you built and have it running, then fire up your
script. What do you think? Is this what you had done?

mosh...@my-deja.com

unread,
Jan 11, 2001, 11:15:47 AM1/11/01
to
In article <3A5D286C...@flashcom.net>,
Starting the VxWorks simulator before trying to attach to the target
gets rid of the original error message, but then I get "Waiting to
attach to target server", so either way tgtsvr isn't working.

mosh...@my-deja.com

unread,
Jan 11, 2001, 2:11:47 PM1/11/01
to
Dear Dr. Diags,

Originally, I thought starting the simulator first was wrong because,
after starting the simulator and trying to attach to the target, the
target was still not attached. Taking your word on the correct order, I
went on to figure out what was wrong with the tgtsvr instruction.

Mike McCullough at WindRiver thought I had a VxSim procedure already
running, which was wrong, but to verify that no simulator was running, I
looked under the "Tools > Shell..." menu at the "Launch Shell" box. I
noticed in the "Targets" field that while Tornado attached to
"vxsim@cefalu", the tgtsvr.exe instruction tried to attach to
"vxsim@cefalu@cefalu". After changing "vxsim@cefalu" to just "vxsim" in
the tgtsvr instruction, it runs fine.

DrDiags

unread,
Jan 11, 2001, 11:38:59 PM1/11/01
to
Moshiach,

Good to see you got it resolved. I met Mike McCollough at a WindRiver
BSP training class. He is a very knowledgeable guy and from what I
understand, well respected across the country, so I for one will not hold
this one against him. (:^) Plus he bought me beer, how can you beat that!

0 new messages