Hi:
I compiled the ble_app_cts_c project of the SDK12 using the Segger Embedded Studio having as target the PCA10040 board (S132 stack). After spending some time to convert the Keil project to a Segger project, I was able to compile it without any error or warning. But somethings is not right, because whenever I try to run the program, it crashes in the page_identify function of the fds.c file (which is called from peer_manager_init). The debbuger looses the tracking in the first line of this function ...
My suspicious is that the project is not correctly configured on the Segger IDE, more precisely with the memory settings. I already tested other projects with the Keil IDE and this problem doesn't happen. Unfortunately the projects that use whitelist exceed the limit of the 32K of the Keil IDE.
The section placement macros are defined this way: FLASH_START=0x1f000 RAM_START=0x20002128
And the memory_map is defined this way:
I also added some entries in the flash_placement file to surpass a linkage error: ...
Have you any ideia about where is the problem?
Thanks for your attention,
Pajotema