Procedures for Rolling Back ZBOSS Stack Versions Safely on nRF5340

Hello Nordic DevZone community,

I have been working with the ZBOSS stack on the nRF5340 and understand that it has version management and migration features for persistent network information. I have learned that upgrading the stack versions greatly can sometimes lead to migration failures, necessitating gradual updates. However, I am now looking into the possibility of rolling back the ZBOSS stack versions, specifically from NCS v2.7.0 to NCS v2.4.2, and have a few questions regarding this process:

  • Is there a recommended procedure for safely rolling back the ZBOSS stack from NCS v2.7.0 to NCS v2.4.2 on the nRF5340?
  • Is it feasible to perform a rollback to earlier versions on the nRF5340, or are there inherent limitations that prevent this from being a practical option?
  • If rollback is possible, should it be done gradually, similarly to the upgrade process, even when targeting a specific version like NCS v2.4.2?
  • How can I maintain the NVRAM network information during the downgrade process on the nRF5340? Are there best practices or specific steps to ensure that the network information is preserved?

Your insights and advice on safely managing version changes in the ZBOSS stack for the nRF5340 would be greatly appreciated.

Thank you for your assistance!

Best regards,

ui-yama

Parents
  • Hello,

    I am not sure I understood your question correctly, but you wanted to use NCS v2.7.0, but the ZBOSS stack from NCS v2.4.2? I am not sure I would recommend this. There is a security issue that was patched in v2.6.0, in addition to some NVRAM bugs that was patched in v2.6.0, so I would recommend that you use at least that version, or later. If you are using NCS v2.7.0, I don't see any reason not to use v2.7.0.

    Best regards,

    Edvin

Reply
  • Hello,

    I am not sure I understood your question correctly, but you wanted to use NCS v2.7.0, but the ZBOSS stack from NCS v2.4.2? I am not sure I would recommend this. There is a security issue that was patched in v2.6.0, in addition to some NVRAM bugs that was patched in v2.6.0, so I would recommend that you use at least that version, or later. If you are using NCS v2.7.0, I don't see any reason not to use v2.7.0.

    Best regards,

    Edvin

Children
No Data
Related