I would like to use nRF52 DK (nRF52832) to program Fanstel BC805M EK (nRF52805). When I upload to code from nrf52 DK to BC805M, I got this error message.
section .heap overlaps absolute placed section .stack Output/Release/Obj/ble_app_uart_pca10040_s132/ses_startup_nrf_common.o: in function `InitializeUserMemorySections': undefined reference to `SystemInit'
I know that in SES, thumb_crt0.s is actually the linker script. It contains some assembly language codes.
Q1: How to solve this error, please? Do I have to modify the assembly language code, or is there any easier way to solve this error?
Here is how I modified RAM and FLASH in <Section Placement Macro>.
According to the guide, I have set #1-4.
1) FLASH_PH_START=0x0
2) FLASH_PH_SIZE=0x30000
3) RAM_PH_START=0x20000000
4) RAM_PH_SIZE=0x6000
Because nRF52805 uses SoftDevice S112 or S113, so I used S113 version 7.2.0. And this post told me that my "minimum RAM start" and "FLASH start" are 0x20001198 and 0x1C000 respectively.
5) FLASH_START=0x19000
6) RAM_START=0x200026a0
Then, I do the calculation to find FLASH_SIZE and RAM_SIZE.
- FLASH_START + FLASH_SIZE = FLASH_PH_SIZE
- RAM_START + RAM_SIZE = (RAM_PH_START + RAM_PH_SIZE)
7) FLASH_SIZE=0x17000
8) RAM_SIZE=0x3960
Q2: Is this the correct way to set RAM and FLASH address?
Thank you very much!



