Hello,
As you can see from the title, I have multiple TI 15.4 Stack Linux Gateways that suddenly stop working after a while. I have been looking for the cause of this issue for some weeks, but so far I am not able to find it, so I was hoping you could guide me in this.
Gateway Setup
The setup of the gateway is the following: The CC1310 acts as the CoProcessor and has the standard TI CoProcessor firmware. CC1310 is connected to the Raspberry Pi, which acts as the collector. The CC1310 and the RPI communicate through UART. The collector project has been adjusted, but minimal (what has been adjusted mainly is the communication protocol between the RPI and webclient)
Problem
The problem I encountered with every Gateway so far is that they stop working after a while. It seems to be a pattern: after approximately 30-45 days it suddenly stops working properly. I then reboot the gateway which makes the gateway work normally again, but sometimes it is still very unstable. I am only able to monitor these gateways remotely. I was not able to reproduce this problem at home so far. So I turned every logging flag on in the collector, and decided to wait for the next time a gateway becomes unstable. So far I have only found one possible cause for this problem: the UART log reports a checksum error which indicates that there is a corrupted byte in the communication between the CoProcessor and the Collector. After looking further in one of the gateways that suddenly stopped working, I found that after the checksum error is reported, the UART log only reports 0-bytes which makes me think that the CoProcessor may have crashed leading to this problem. I was not able to reproduce this yet.
I am still not entirely sure whether it is only this checksum error problem, or that there may be more issues causing the Gateways to stop working. What other steps(remotely) should I take to investigate this problem? What is the best way to reproduce a crash on the CoProcessor(an error that is not being caught/handled), so that I could test my assumptions from home (This one doesn't have to be a remote approach)?
I hope to hear from you soon.
Yours Sincerely,
Mohamed