Hi all,
An introduction:
We have developed our own custom OTA upgrade solution based off of the solution given in TI. The main reason we wanted to do our own solution was so that we could trigger upgrades via the ethernet without the Console app having to run on the same machine as the Dongle. We have bridge computers that are connected to ethernet on one side and to the Dongle on the other side. These bridge computers are scattered across the building and through this network we can reach any end device within the building.
We are using ZStack 2.4.0 over CC2530.
The problem:
However, we are facing a problem when are sending the flash image OTA from the Dongle to the end devices. Even with one end device, we are getting very slow data rate from the dongle coordinator to our end device, like 32 bytes per second.
What we have implemented is this:
1. We first upload the flash image on to the external flash of our dongle via serial. Our board has an external NV chip for this.
2. Once this upload is finished, we transmit the image block by block to the end devices. After send one block, we wait for confirmation from the end device that it received this block and then transmit the next block.
Step 1 is pretty fast. But step 2 takes a huge amount of time. So far we have not been able to figure out the reason behind it.
The solution we tried:
We tried changing the polling rate on the end devices to smaller values. But that did not help.
Can anyone here please help us? This data rate problem is the only thing keeping us from going live with our OTA solution. Your suggestions will be appreciated highly.
Thanks!