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.

  • Hi,

    The start address of RAM varied depends on the application. Basically, we need to allocate enough RAM for the softdevice base on the configuration of the application, for example the number of vendor defined UUID, the number of connections it would support, the bandwidth of the connections. This result in different RAM start configuration of different application.

    If you open log output when running application, you can find the recommended RAM start for each application.

  • thanks, Hung Bui.I got it. I do see the log. Now I understand. :)

  • 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?

  • Hi Stayhungry, I thinke you can use S112 itstead of S132, which will save you quite much flash space. It is a alpha version for now and you can find it on the infocenter. Hope it helps :>

  • Thanks,guy. I have also considered S112, but it removed the function of the DLE, which makes me very embarrassing situation, because my needs must be high-speed, it seems that I can only give up the OTA.

Related