This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[OTA] OTA Zigbee from bootloader

Hi guys,

I am trying to add some BLE OTA functions to my NRF52833 running Zigbee. I have looked into the examples in the SDK, and i can see that there is an example for Zigbee OTA server to use BLE to get the flash image and then distribute to the children in its Zigbee mesh. However, I do not want to use Zigbee because it sounds very slow and error proned.

So, my question is that is it possible for the NRF52833 running Zigbee to update the firmware with BLE OTA only (like get the image and then update to the internal flash). Does running 2 type of communications at the same causes any possible error. The firmware i want to update is about 270kB. 

Thanks you and please reply soon

Parents
  • Hi,

    If you want to use both Zigbee and BLE in your application, you'll have to implement dynamic multiprotocol. With this you can run multiple radio protocols in your application, and it works by time-slicing the radio hardware between all protocols. When using this there are some considerations you have to think about, which you can find here. One of them is that BLE has priority over Zigbee, and therefore it might interrupt Zigbee stack logic. It's also recommended to use Sleepy End Device when BLE scanning is used (see power saving for ZED). In your case, you should also be aware that flash operations require more time to complete, and may be performed only in a free timeslot, so it has to wait for the current timeslot to finish before being performed. 

    We already have some multiprotocol examples in the SDK, so I recommend taking a look at them in order to see how it's been implemented there. Please note that nRF5 SDK for Thread and Zigbee v4.1.0 is based on nRF5 SDK v16.0.0, and using another version of the SDK might cause errors. You can also transform any BLE peripheral example in nRF5 SDK v16.0.0 into a BLE-Zigbee multiprotocol example (see adding dynamic multiprotocol Zigbee support to BLE examples).

    Best regards,

    Marte

  • Thank you for your answer.

    So I was thinking because I only need to use BLE for a short time when doing OTA update, can i just turn off Zigbee and turn on BLE when updating then turn on zigbee and turn off BLE when the device are not in updating.  If it is possible, where can i look for some references (like example or document) ?

Reply Children
Related