Other Parts Discussed in Thread: Z-STACK
Hello,
We are working with a zigbee network based on the CC2538 for more than 2 years (stack 1.2.0). In the last month we are experiencing problem(s) with very few devices that stopped sending packets and responding to remote requests.
These are devices working in “test” customers, not in our lab, so we have low feedback of the exact conditions the loss of communications occured.
We were able to reproduce the same symptoms reported by customers (devices stop repond to remote orders), but, not with the same conditions. To reproduce the same symptoms we had to use an autotranformer to lower/zero/increase the line voltage + massive communications to devices “stop responding” to remote orders. The devices keep working (local tasks working, read keys, …) with the problem. We are almost sure that the customers devices have not suffered reset of any kind (powerdown, watchdog, brownout) because makes local log in an external flash.
Not that we have already code to forbid writing to the NV memory when VDD is lower then 2.7V.
This is what we reached after a “line voltage attack” + massive communication to a device:
Symptom A - The device constantly reads from the NV memory a wrong NWKKEY (0x00, 0xFF…). The device transmits packets, but other devices reject the packets. A normal powerdown/powerup to the device “solves” the problem and the NWKKEY starts read correctly.
Symptom B - The device restarts the framecounter. The device transmits packets, but other devices reject the packets because framecounter is old. A normal powerdown/powerup does not solve the problem. All other devices must be switch off to forget the framecounter and start accepting the packets.
Symptom C - The device sends INTERPAN packets (we do not use INTERPAN). The device sends packets from his ID (correct PANID and correct short address), but instead of sending a message to coordinator in the same PANID send to a coordinator to PANID=0xFFFE. Powerdown/powerup does not solve problem. The device must be put out of network and joined again to the network.
(We attached a log of sniffer of our device, short address 0x060E, trying to communicate with PANID=0xFFFE, packet number 47 and following)
Symptom D - The device thinks that is out of network, so it does not TX any packet, devstate = DEV_HOLD. After powerdown/powerup the device is OK as nothing happened. One of customer device behaved like this.
From 4 devices reported till now none of them reported the same problems after being powerdown/powerup or rejoined (1 month ago). The 4 symptoms described above were provoked by us.
Does anyone experienced similar problems, “device stops to communicate”? Anyone knows if there are functions in the code of the z-stack that can originate this “loss of communication”? Anyone can help with our analysis of this problem?
Best Regards
nalvesDispositivo fora de rede apos sair de PROG.psd