This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Eclipse GCC: Unable to run two custom services (experimental buttonless DFU and experimental app ble blinky) on SDK 12

We are able to run both these services (experimental buttonless DFU and experimental app ble blinky) individually in Eclipse GCC, SDK 12. However, when both of the services are combined, nrf is stuck at softdevice_enable(&ble_enable_params) function.

We have already modified the p_ble_enable_params->common_enable_params.vs_uuid_count to 2. We are unable to decide the next steps to resolve this. Any help would be great. :)

Parents
  • Here is my linker script, please suggest me, if anything I needed to edit in this

    /* Linker script to configure memory regions. */

    SEARCH_DIR(.) GROUP(-lgcc -lc -lnosys)

    MEMORY { FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000 RAM (rwx) : ORIGIN = 0x20001fe8, LENGTH = 0x6018 /** Location of bootloader setting in flash. */ BOOTLOADER_SETTINGS (rw) : ORIGIN = 0x0003FC00, LENGTH = 0x1000

    }

    SECTIONS { /* Place the bootloader settings page in flash. */ .bootloaderSettings(NOLOAD) : {

    } > BOOTLOADER_SETTINGS

    .fs_data : { PROVIDE(__start_fs_data = .); KEEP(*(.fs_data)) PROVIDE(__stop_fs_data = .); } > RAM } INSERT AFTER .data;

    INCLUDE "nrf5x_common.ld"

Reply
  • Here is my linker script, please suggest me, if anything I needed to edit in this

    /* Linker script to configure memory regions. */

    SEARCH_DIR(.) GROUP(-lgcc -lc -lnosys)

    MEMORY { FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000 RAM (rwx) : ORIGIN = 0x20001fe8, LENGTH = 0x6018 /** Location of bootloader setting in flash. */ BOOTLOADER_SETTINGS (rw) : ORIGIN = 0x0003FC00, LENGTH = 0x1000

    }

    SECTIONS { /* Place the bootloader settings page in flash. */ .bootloaderSettings(NOLOAD) : {

    } > BOOTLOADER_SETTINGS

    .fs_data : { PROVIDE(__start_fs_data = .); KEEP(*(.fs_data)) PROVIDE(__stop_fs_data = .); } > RAM } INSERT AFTER .data;

    INCLUDE "nrf5x_common.ld"

Children
No Data
Related