This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF51822: Zephyr OS vs SoftDevice

Hello, guys.

We have nRF51822 SoC with 256KB of Flash and 32KB of RAM memories at our disposal. For our application, we would need to use the BLE stack + over-the-air DFU.

What would be less demanding from the memory point of view:

  1. Using SDK and SoftDevice (S130, S120)  + Nordic's secure DFU bootloader
  2. Using Zephyr OS with built-in BLE stack +  MCU Boot

Can you point me to some places where I can read about how the nRF memory is partitioned and where the Zephyr OS, SoftDevice, bootloaders are stored?

Thanks in advance for your time and efforts.

Cheers,

Bojan.

Parents Reply
  • Hi,

    • SDK + SoftDevice + Single-Bank Updates
    • Zephyr OS + MCUBoot

    The first option, since there is no single-bank OTA DFU option with Zephyr/MCUBoot.

    Can we suppose that SoftDevice S130 v2.0.1 and DFU bootloader are stable enough so that there will be no need to update them in the future (we don't need anything exotic from the BLE)?

    No guarantees, but likely yes, there have not been any new updates to S130 since 2016.

    For a single bank application update, I believe you would be able to fit a 120kB application:
    256 kB - 24 kB(Nordic Secure Bootloader) - 4kB(Bootloder settings page) - 108 kB SD(S130) = 120 kB

Children
Related