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

Connect Host and target on Vxworks

434 views
Skip to first unread message

Meenal Gupta

unread,
Oct 16, 2006, 6:55:58 AM10/16/06
to
Hi...

i want to know how to boot target , and connect it with host through
Ethernet LAN.

What are changes in files & also the settings to be done at both target
server and target.

I want to use a system(pc) as a target server(host) and another
system(pc) as target , both system are pentium and windows 2000
professional operating system. Both host and target are connected
through ethernet LAN connection.

Please give me step by step procedure

Thanks in advance
Meenal

Martin Raabe

unread,
Oct 16, 2006, 1:15:33 PM10/16/06
to
Hello Meenal Gupta,
please refer to the Getting Started Manual, which came with your
VxWorks, there is a step by step guided tour to get a PC-target
connected and debugged from the pc host.

Hope it helps

Martin

Meenal Gupta schrieb:


--
BaSystem Martin Raabe
E: Martin.Raabe<at>B-a-S-y-s-t-e-m<dot>de

Meenal Gupta

unread,
Oct 17, 2006, 1:17:26 AM10/17/06
to
thanks Martin. I have already refered tornado manuals.
But the problem that i am facing is i have made a bootable floppy as
mentioned in the manual for PCPentium.
And the changes that i have made in config.h is i have included
#define INCLUDE_NETWORK
#define INCLUDE_FTP_SERVER /* ftp server */
#define INCLUDE_FTPD_SECURITY /* password security for ftp sessions */
#define INCLUDE_PING /* ping() utility */
#define INCLUDE_RPC /* rpc package */
#define INCLUDE_ZBUF_SOCK /* zbuf socket interface */

before inclluding "configall.h"

Also i have changed the DEFAULT_BOOT_LINE
#define DEFAULT_BOOT_LINE \
"fd=0,0(0,0)FR233:/fd0/vxWorks.st h=10.112.36.50 e=10.112.37.40
u=target o=elpci"

Then i follow the following steps
1. I boot the target with floppy and get the vxworks prompt
2. after this i cofigure the target server which is on my host machine.
3. but when i launch the target server, it says

ERROR: rpccore backend client Timed out.

I am stucked here since a long time plz help me what to do.

Rahul kashyap

unread,
Oct 17, 2006, 7:25:18 AM10/17/06
to
hi
hav u configured the ethernet driver properly?
what is ur ethernet device?
do revert back with further comments/suggestions.
bbye.

Martin Raabe

unread,
Oct 17, 2006, 8:15:41 AM10/17/06
to
Hello Meenal Gupta,
Meenal Gupta schrieb:

> thanks Martin. I have already refered tornado manuals.
> But the problem that i am facing is i have made a bootable floppy as
> mentioned in the manual for PCPentium.
> And the changes that i have made in config.h is i have included
> #define INCLUDE_NETWORK
> #define INCLUDE_FTP_SERVER /* ftp server */
> #define INCLUDE_FTPD_SECURITY /* password security for ftp sessions */
> #define INCLUDE_PING /* ping() utility */
> #define INCLUDE_RPC /* rpc package */
> #define INCLUDE_ZBUF_SOCK /* zbuf socket interface */
> [snip]

What version of VxWorks are you using?
Is it less than 5.4 or 5.4.x or 5.5.x or even 6.x?
What is the IDE? Are you based on makefiles, or Tornado 1.0 or Tornado
2.x or WindRiver Workbench?

Please tell us more about your environment.

Take care

Martin

Meenal Gupta

unread,
Oct 18, 2006, 6:30:16 AM10/18/06
to
Thanks rahul
actally i am a newbie to networking as well as VxWorks
I am using LAN connection.
Plz tell me how to configure ehernet driver?
thanks
Meenal

Meenal Gupta

unread,
Oct 18, 2006, 6:44:36 AM10/18/06
to
Hi Rahul I am using "Realtek RTL8139/810x Family Fast Ethernet NIC" .
I dont know that i have configured it right or not can u suggest me
somethg
Thanks
Meenal

Meenal Gupta

unread,
Oct 19, 2006, 2:01:05 AM10/19/06
to
Hello Martin,
We are using VxWorks version 5.4 and Tornado 2.0. we are using the
makefile that is present in the folder Tornado/target/config/PcPentium.
Thanks
Meenal

Martin Raabe

unread,
Oct 19, 2006, 4:04:37 AM10/19/06
to
Hello Meenal,
Meenal Gupta schrieb:

> Hello Martin,
> We are using VxWorks version 5.4 and Tornado 2.0. we are using the
> makefile that is present in the folder Tornado/target/config/PcPentium.
> Thanks
> Meenal

So did you follow the tutorial in the Tornado IDE?
There everything should be setup and cross tested within the GUI/IDE.
You should not start with a makefile based approach, this is not a good
starting point.

So the getting started manual guids you through the process of setting
up the network interface card (NIC).
And then shows you how you can apply the debugging process via networking.

Hope it helps.

LarryC

unread,
Oct 24, 2006, 8:54:07 PM10/24/06
to
Hi:

After you boot, can you ping the target from a host PC or can you ping
from the target to another host on your network?

You may have a mismatch between your target server and how vxworks
connects to the debugger. Go under the Tornado project and check that
you are using rpc as you comm method to the host. Also, when you boot
up, it should list how WDB is configured to connect to the tgt server
on the host. Whatever is says during the banner print, config your
target server to use that method - ie rpc, serial, etc. You may not
even have wdb support in your kernel.

Good luck,
lc

Meenal Gupta

unread,
Oct 26, 2006, 2:45:50 AM10/26/06
to
Hi all
i have done all those thgs that Lc have asked for but the problem is
when i boot my target it says........
attaching floppy device.................
but it does not show the message........
attaching TCP/IP...........
which means that my TCP/IP stack is not build properly...........please
let me know how to make it.......
Also Martin u have told that Makefile approach is not good then what is
the other method to do.plz help me to come out from the problem.
Thanks a lot
Meenal Gupta

LarryC

unread,
Oct 27, 2006, 3:36:38 PM10/27/06
to
Hi:

Did you build with config.h/makefile or with Tornado?
lc

sri

unread,
Oct 30, 2006, 7:16:30 AM10/30/06
to
i think u shud make u r bott image include u r bsp part include the
components of target server in vxworks tab on workspace window u'll do
it just reply if u face any more problems dont make things complicated
for u r self going thru the make file stuff
bye
0 new messages