So we have been developing on the nRF52811 and realized we need OTA (Over the air Frimware) aswell and we have 30kB Flash and 8kB Ram remaining. Can this be done?
Also a procedure of how to add OTA would also be helpful.
Regards,
Ameer Usman
So we have been developing on the nRF52811 and realized we need OTA (Over the air Frimware) aswell and we have 30kB Flash and 8kB Ram remaining. Can this be done?
Also a procedure of how to add OTA would also be helpful.
Regards,
Ameer Usman
Hi,
I think you should be OK with RAM. the bootloader runs as a standalone BLE application so it does not share RAM with the main app. However, we allocate 32K with flash by default requiring either the app or bootloader to be shrunk a bit. Also, you need to consider if you need to store app data (required if you support BLE bonding - min. 2 Flash pages).
Default bootloader memory layout: https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader.html?cp=7_1_3_5_0_7#lib_bootloader_memory
Regards,
Vidar
How is he going to change the memory layout in example boot loader code?
You can change the memory layout by adjusting linker settings. Exactly how you do that depends on the toolchain you use, see this blog post for more details: https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory
You can change the memory layout by adjusting linker settings. Exactly how you do that depends on the toolchain you use, see this blog post for more details: https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory