Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK
Hello, I want to add OTA functionality to our Home Automation system that is based on Z-Stack 3.0.2 on CC2530 and an SPI flash as secondary storage (W25Q80). I have used SampleSwitch application in the "Router- OTA client" mode and create image file for OTA. But the problem is that after the image file is downloaded completely in the router side, it sends an OTA Update End Request with status : "Invalid Image" at the end of upgrade process. I tried OTA upgrade with both OtaServer tool and Z-Stack Linux Gateway application, but the same result was achieved. When I debugged OTA client code I found that the problem occurs with CRC checking of OTA image. What can be the problem?