I am hoping someone can assist me with a bug I believe I am observing When utilizing the Zigbee Gateway OTA server. The steps I have implemented include:
1) I utilized the ZED_OTA_Client example and verified I was able to successfully update the example application
2) I ported the OTA example to our project using the instructions provided here: Zigbee Over-The-Air Firmware Upgrade — SimpleLink CC13XX/CC26XX SDK Z-Stack User's Guide 5.40.00 documentation
3) I also update the offchip_BIM source to work with our onboard external flash.
When I initiate the OTA update in the Zigbee Gateway everything seems to work fine initially, and I can get in some cases up to 11% of the image downloaded and then the download simply stops. I have analyzed the zigbee packets with a sniffer and I do not see any obvious issues (ie. The Image Block Response has an appropriate ACK).

One thing I did notice is that the zigbeeHAgw does seem to consistently report an error just before the download stops working. This error is “recv: Interrupted system call”. I’ve attached a log which illustrates this.

And then a few lines later there is an ERROR for a failed response.

Do anyone have any insight as to what may be causing this interrupted system call, what it may indicate and how I may resolve it? Please let me know if I can provide any more details that would be helpful.
/cfs-file/__key/communityserver-discussions-components-files/158/server.txt