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

NRF51822 iROM and iRAM Configuration for DFU Bootloader,SOFTDEVICE,APPLICATION

Hello Supporter,

I have NRF51822 QFAC having 256kb ROM,32kb RAM.

now i want to upload all three things DFU,SOFTDEVICE,and APPLICATION .when i upload SOFTDEVICE and APPLUICATION  .than application works.but when after i upload DFU bootloader .application stop working..so i don't know why .. i want to get uploaded this all three things . specially DFU for OTA update with DUAL BANK ONLY.

so, please help me to configure NRF51822 at right way and values . so i can able to use it along with DFU bootloader.

Thank You.

Parents
  • Hi,

    For the nRF51822 I highly recommend using SDK 12.3, which is the latest SDK version supporting the nRF51 series. It also contains the secure DFU bootloader, which supports signing the firmware image so that the device only accepts upgrades coming from you.

    The application gets erased when you upgrade the bootloader. Therefore you should first upgrade the bootloader, then upgrade the application. Please have a look at the Dual-bank and single-bank updates documentation, and notice that after the dual-bank update the application has been invalidated.

    We do have an extensive guide for getting started with Nordic's Secure DFU bootloader. It should teach you everything you need to know in order to perform a successful DFU. There is also the BLE Secure DFU Bootloader documentation on Infocenter. Please let us know if something is unclear in the guide or in the documentation, or if there is something written there that you do not understand.

    Regards,
    Terje

  • Hello Terje

    I am Using NRF51822 QFAC .

    i uploaded three firmwares now

    My probleme after uploading DFU ,SOFTDEVICE AND APPLICATION .device always in DFU mode and also when try to upload new application via DFU it's failed to upload.

    app_dfu_package_softdevice3.zip

    i am trying to upload attached file.so please verify it i build zip by nrfutil .

    i am using SDK12.3

    so please also help me to generate properly DFU zip file i'm not able to understand in docs.

    what settings required in nrfutil for SDK12.0,PCA10028,NRF51822 QFAC ,32kb to generate ZIP

    and i sent you zip that i generate please check that also.

    and also help me to get ride above two case .

    Thank You.

  • Hi,

    There might have been a misunderstanding previously.

    When you wrote about "uploading" in the first post, what of the following two did you mean?

    1. Download hex file (using a programmer)
    2. Doing a DFU

    If you were talking about downloading the hex files with a programmer then the explanation is the following: The bootloader uses a "bootloader settings page" to store information about the appliation. This settings flash page is updated when you do DFU, but if you program the hex files directly then the settings page is not written. You can generate the settings file using nrfutil. See for instance this answer to a previous thread about the same.

    If you were talking about the result after doing a BLE DFU, please let me know.

    The zip file looks fine.

    Do you still see the other issue, with the "no space"?

    Regards,
    Terje

Reply
  • Hi,

    There might have been a misunderstanding previously.

    When you wrote about "uploading" in the first post, what of the following two did you mean?

    1. Download hex file (using a programmer)
    2. Doing a DFU

    If you were talking about downloading the hex files with a programmer then the explanation is the following: The bootloader uses a "bootloader settings page" to store information about the appliation. This settings flash page is updated when you do DFU, but if you program the hex files directly then the settings page is not written. You can generate the settings file using nrfutil. See for instance this answer to a previous thread about the same.

    If you were talking about the result after doing a BLE DFU, please let me know.

    The zip file looks fine.

    Do you still see the other issue, with the "no space"?

    Regards,
    Terje

Children
No Data
Related