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

WDB Configuration error

694 views
Skip to first unread message

Vanessa Benfield

unread,
Oct 23, 2002, 6:58:02 AM10/23/02
to
Hi all,

I was wondering if anyone out there can help me!!

I've created a vxWorks image by including a symbol table to a normal
vxWorks image and then building it to create a standalone system
image.

I'm booting this standalone image up using a floppy disk which loads
vxWorks.st, however I get the following error:

wdbConfig: error configuring WDB communication interface

WDB: Agent configuration failed

It also says that the muxLoad failed.

Does anyone out there know how to boot a standalone image on a pc,
using a floppy disk?? - I'm new to vxWorks so any help would be very
much appreciated, as I can't seem to find any info about this anywhere
else!

Thanks, Vanessa Benfield

Wade Oram

unread,
Oct 23, 2002, 11:58:26 AM10/23/02
to
In message <fa651d64.02102...@posting.google.com>, Vanessa
Benfield <vanessab...@hotmail.com> writes

I can't be sure, but this sounds as if you need to add an "o=????" entry
to your default boot line. The o= entry is used to specify a network
interface to initialise when the image is being booted from a
non-network device (in this case the floppy disk).

--
Wade Oram

subbarayan

unread,
Oct 24, 2002, 1:17:58 AM10/24/02
to
dear vanessa,
Heres the proceedure how u go abt to make a standalone bootable floppy
based target:
In my case target cpu is I80486.U jus check and change where ever u
encounter this I80486 to the cpu ur going to use.
This is learnt it my way.
VxWorks Booting procedure for floppy based target

Here are the steps to be followed for configuring a target on vxworks
by using a floppy jus like the one in psos:

1.First compile ur source file by typing ur code and accessing the
following menu in tornado:
Menu project-customise-addnewbutton-type the following:
CPU=I80386 ADDED_CFLAGS=-g trial.o
Here my source file name is trial.
Note:Always save ur source file in bsp target directory
itself.That&#8217;s the first thing u have to do.Ur .c file and .o
file both must be in the bsp directory file itself.This is very
crucial for configuring the target.
Give the working directory for source file as:
c:\tornado\target\config\pc386-here my target bsp is pc386.
Open debug menu and give the source search path the same as above
said.

2.Then compile ur source file by accessing build menu in project menu
and then makecurrentsourcefile menu both should be done.

3.Then open the bsp file(i.e. pc386,pc486 like that).

4.Goto DOS prompt.

5.Open the target bsp directory there.

6.Type edit makefile

7.Here makefile is target make file.

8.A window opens for makefile edition.

9.There type the following:
MACH_EXTRA=ursourcefile.o-trial.o in my case.

10.Execute the makefile after editing there itself by typing:
in dos prompt in the same location:
make

11.This will make ur target config file ready.

12.Goto tornado folder,select the config.h file in the target BSP
directory.
Add the following in the .h file of the respective target directory as
follows:
#define INCLUDE_USER_APPL
#define USER_APPL_INIT then a space near init and type the name of the
first task to be spawned in ur appln.i mean the root task.
12.Note that u define the above said in the last lines of the .h file.

13.Goto tornado environment and access the BSP configuration dialogue
box and include the following in it:
INCLUDE_LOADER
INCLUDE_UNLOADER.

14.After that build ur BSP from the same dialogue box by accessing
build button.

15.Now BSP config file is ready.

16.Now goto project menu in IDE and access make
target-makepc386-bootromtargets-bootrom_uncmp

17.Then similarly access under project
menu-makepc386-vxworks-vxworks.st

18.Goto DOS prompt and access the target bsp folder and type mkboot a:
bootrom_uncmp.

19.This will install the bootrom file in floppy.

20.Copy the .st file from the target BSP folder to the floppy.

21.Now the floppy is ready to boot and run the appln.

22.Boot the target and run the appln.

That&#8217;s all folks.After booting call ur first function which u
like to.Note:the first function ur abt to call after booting must be
defined in userappinit.c file .
Hope this helps u.
tell me if any doubts in the above proceedure.

0 new messages