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:
This is the start RAM address of bootloader:
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?
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. :)
I'm doing something like you. But there is a place plagued me, nrf52810 the flash enough?
bootloader: 28KB (24KB dfu bootloader + 4kB bootloader setting)
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 :>
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.