This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530 Weird problems with Z-stack not starting

Other Parts Discussed in Thread: Z-STACK

Hello, 

So I am not sure what is going on but for some reason the z-stack refuses to start up. 

It never calls the call back function zb_StartConfirm

I tried using the sensorDemo application and it still not working this is code I have not even edited. 

As far as I can see it has something to do with it being stuck in an infinite loop because it can't set the NV ram

void zgInitItems( uint8 setDefault )
{
uint8 i = 0;

while ( zgItemTable[i].id != 0x00 )
{
// Initialize the item
zgItemInit( zgItemTable[i].id, zgItemTable[i].len, zgItemTable[i].buf, setDefault );

// Move on to the next item
i++;
}
}

the while loop in that function never stops running according to the debugger. Just to keep in mind this is the demo application code. So I am guessing maybe some hardware is damaged.