nrf52805 FOTA in nrf Connect SDK. default example not working.

Hello,

We have one of our products developed using the nrf52805 Module & nrf5 SDK. (which is already fully functional with our application)

Since we have few production hiccups & future variations of products & also considering the Nordic recommendation we choose to migrate our application to nrf Connect SDK keeping our Custom PCB the same.

Currently I've taking the course nrf Connect SDK intermediate Lesson 8 Exercise 3 for FOTA over BLE.

I'm using the nrf52DK emulating nrf52805 -> my Build configuration for the board "nrf52dk_nrf52805" (NRF Connect SDK v2.6.1 & Tool chain is also v2.6.1)

The default exercise is not correctly building for nrf52805 in VSCode. getting this error.

FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\cf2149caf2\opt\bin\cmake.EXE' --build 'c:\Nordic\Software\ncs-inter\inter_less8_exer3\build' c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `noinit' will not fit in region `RAM' c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `RAM' overflowed by 2376 bytes -- Found BOARD.dts: C:/ncs/v2.6.1/zephyr/boards/arm/nrf52dk_nrf52805/nrf52dk_nrf52805.dts unit address and first address in 'reg' (0x20000) don't match for /soc/flash-controller@4001e000/flash@0/partitions/partition@19000

I can understand from the above error it's due to the smaller memory of the nrf52805 chip. how can we solve this? can use an overlay file on the device tree to make it build? I would require some help on this, please.

P.S. The same above example code builds correctly on this build configuration "nrf52dk_nrf52832" & the FOTA works as expected.

Thanks. 
Gokulnath

Related