help

:cry: Is anyone knows why when iam debugging my code:void Init8900(void)

{

unsigned int i;

P3OUT = IOR | IOW; // reset outputs, control lines high

P3DIR = 0xff; // switch control port to output

P5OUT = 0; // reset outputs

P5DIR = 0xff; // switch data port to output

DelayCycles(40000); // delay 10ms @ 8MHz MCLK to allow

DelayCycles(40000); // time for CS8900 POR

Write8900(ADD_PORT, PP_SelfCTL); // set register

Write8900(DATA_PORT, POWER_ON_RESET); // reset the Ethernet-Controller

do

Write8900(ADD_PORT, PP_SelfST); // set register

while (!(Read8900(DATA_PORT) & INIT_DONE)); // wait until chip-reset is done

for (i = 0; i < sizeof InitSeq / sizeof (TInitSeq); i++) // configure the CS8900

{

Write8900(ADD_PORT, InitSeq*.Addr);*
Write8900(DATA_PORT, InitSeq.Data);
}
}
never lives from that lop.When i connect my board whith my pc will it works?[/code]