This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

how to set the RAM start sddress of app and bootloader

I am working on OTA DFU about nRF52810. My refernece project are ble_app_uart\pca10040\s132 and bootloader_secure_ble\pca10040 I find that the RAM start address between are different. This is the start RAM address of APP:

image description This is the start RAM address of bootloader:

image description

I am confusing why they are different? Is there anything I ignored? I am using SDK_14.0.0. How should I set the RAM start sddress of APP and bootloader? thx.

Parents
  • HI,piepie,

    I'm doing something like you. But there is a place plagued me, nrf52810 the flash enough?

    s132: 140kB

    bootloader: 28KB (24KB dfu bootloader + 4kB bootloader setting)

    ble_app_uart: 25KB

    total:140+28+25 > 192KB

    Do OTA also need double the app space, how do you solve this problem?

  • @stayhungry: You may want to reduce the size of the bootloader by using our legacy bootloader instead of using the secured one. Of course, you will lose the signing feature of the bootloader. But the legacy one is only about 12kB.

    In addition, you can do single bank update (automatically selected in the bootloader, if the image size is larger than max dual bank limit) instead of dual bank.

    This mean you can have about 36kB for the application. And can update 36kB new image.

Reply
  • @stayhungry: You may want to reduce the size of the bootloader by using our legacy bootloader instead of using the secured one. Of course, you will lose the signing feature of the bootloader. But the legacy one is only about 12kB.

    In addition, you can do single bank update (automatically selected in the bootloader, if the image size is larger than max dual bank limit) instead of dual bank.

    This mean you can have about 36kB for the application. And can update 36kB new image.

Children
No Data
Related