Other Parts Discussed in Thread: Z-STACK,
Hi Guys,
I´m using TI Z-Stack Home 1.2.2a.44539 version and IAR IDE version 10 to building my device (on/off actuator) based on Sample Light project. I have using two different vendors gateways to test my on/off device!
Since I first the first on/off device version I have observed a abnormal behavior after the gateway sending ZCL On/off message to on/off device, only in the ON command, the device interpret ON CMD change his status to ON and after it change to OFF him self. It´s happening aleatory! As you can see in the trace log, that after the on/Off device received ZCL On/off with cmd ON sequentially the device sends the ZCL Reporting Message as OFF. In the two gateways I have observed the same error, even have the ZCL on/off message have a little difference in FCF field in the Disable default response parameter (1s TRUE and 2st False).
I have tried to follow in the IAR debugging mode, the main root cause, in the different code stages (ZCL.C or my APP files) but I cant do it. I have observed errors like The Stack Data is outside of stack range (0x0000 or 0xFFFF) and the IAR stop debug after it, as you can observing in the PICs attached.
I don´t know if Stack out-off range is the main problem or consequence, but the intermittency occur since when I burn the code definitely in the CC2530F256 using CC Debugger. Including I have change the Virtual Register to 24 to check if it will fix the problem, but I do not have success!
Someone please can help me and direction to fix it?
Stack out-of range 0x0000
Stack out-of range 0xFFFF
ZCL On/oFF as ON and Reporting Attributs controversial as OFF







