hi.
I working on a vxworks bsp for mpc860. the led can be lighted on in
the end of
rominit by assembly code. but in the begining of romstart they can
not be lighted on .
the code lighting led on in romstart is C language below. PB14-PB17
is connected
to led .

#define led2 0x0x0000c000
#define led14 0x0x0003c000
*PBPAR(INTERNAL_MEM_MAP_ADDR) &= 0xfffc3fff;
*PBDIR(INTERNAL_MEM_MAP_ADDR) |=0x0003c000; //set as
output
*PBDAT(INTERNAL_MEM_MAP_ADDR) |=led14;
*PBDAT(INTERNAL_MEM_MAP_ADDR) &=~led2;


I don't know if there are some problems with C language codes. I aslo
doubt that romstart

can't execute. please give me some advices.

best regards