bdi
Wind
for Tornado™, BDI2000 (MPC8xx/MPC5xx)
User Manual
35
© Copyright 1997-2007 by ABATRON AG Switzerland
V 1.38
3.3.2 Tornado 1.01 and Tornado II
The BDI UDP-Lite packed driver needs some assembly support functions. This assembly functions
can be added to the file sysALib.s in your BSP directory.
tornado\target\config\myTarget\sysALib.s:
Add the following lines to the list of exported symbols:
/* externals */
.globl
_usrInit
/* system initialization routine */
.globl
bdiInit /* bdi communication setup */
.globl
bdiCall /* enter debug mode */
Add the following routines to the end of the file:
/*******************************************************************************
*
* bdiInit - send BDI communication base address to BDI
*
* bdiInit
* (
* void* baseAddr /@ the base address of the communication structure @/
* )
*/
bdiInit:
sc /* enter debug mode */
blr
/*******************************************************************************
*
* bdiCall - enter debug mode
*
* bdiCall(void)
*/
bdiCall:
sc /* enter debug mode */
blr