bdi
Wind
for Tornado™, BDI2000 (MPC8xx/MPC5xx)
User Manual
34
© Copyright 1997-2007 by ABATRON AG Switzerland
V 1.38
3.3 BDM GATEWAY mode
The bdiWind UDP-lite packet driver has to be linked to the initial VxWorks core. In order to work with
your version of the Tornado environment, no Tornado files are delivered with bdiWind. Do not add the
bdiWind UDP-lite packet driver before you are sure the VxWorks core runs on your hardware. Fore
more informations see VxWorks's Programmer's Guide, chapter Configuration.
3.3.1 Create a new directory for your hardware
Create a new directory in tornado\target\config\ (e.g. .....\myTarget).
From an existing BSP directory (e.g. tornado\target\config\ads860) copy the following files into the
new created directory or build them from scratch. Change the files so they work with your hardware.
config.h
->
config.h
sysLib.c
->
sysLib.c
sysALib.s
->
sysALib.s
romInit.s
->
romInit.s
Makefile
->
Makefile
From the distribution disk copy the following files into the new directory:
bdiPkt.h
->
wdbBdiPktDrv.h
bdiPkt.c
->
wdbBdiPktDrv.c
tornado.add
->
tornado.add
ads860.cnf
->
ads860.cnf
Tornado II : From the distribution disk copy:
wdbBdi.c
->
../target/config/comps/src/
wdbBdi.cdf
->
../target/config/comps/vxWorks/
The file tornado.add includes the text which must be added to some of the existing tornado source
files.