小弟刚接触ZIGBEE,打算用两个CC2530开发板做点对点的无线收发,可是走到一半时发现程序跑飞,不知道为什么,报的错是下面这个啊,希望前辈们指点一下啊
Tue Apr 10 13:03:07 2012: The stack pointer for stack 'XdataStack' (currently XData:0xFFFF) is outside the stack range (XData:0x0001 to XData:0x0F00) 仿真器没问题,之前做SPI通讯实验没出现跑飞现象啊,程序如下:
basicRfConfig.panId = 2; basicRfConfig.ackRequest = FALSE; Device_Init(); appSelectChannel(11); basicRfConfig.myAddr = TX_Addr; appSelectOutputPower(2); while(i --) { halRfReceiveOn(); halRfWaitTransceiverReady(); halRfWriteTxBuf(Data_test,9); halRfEnableRxInterrupt(); while(halRfTransmit() != SUCCESS); halRfReceiveOff(); }
|