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

How to use SoftDevice S140 v7.0.0?

- modified linker_section_placement_macros....

Fault error in ble_stack_init()

============================================================================
<project Name="ble_app_blinky_pca10056e">
<configuration
Name="Common"
arm_architecture="v7EM"
arm_core_type="Cortex-M4"
arm_endian="Little"
arm_fp_abi="Soft"
arm_fpu_type="Soft"
arm_linker_heap_size="2048"
arm_linker_process_stack_size="0"
arm_linker_stack_size="2048"
arm_linker_treat_warnings_as_errors="No"
arm_simulator_memory_simulation_parameter="RWX 00000000,00100000,FFFFFFFF;RWX 20000000,00010000,CDCDCDCD"
arm_target_device_name="nRF52811_xxAA"
arm_target_interface_type="SWD"
c_preprocessor_definitions="BOARD_PCA10056;CONFIG_GPIO_AS_PINRESET;FLOAT_ABI_SOFT;INITIALIZE_USER_SECTIONS;NO_VTOR_CONFIG;NRF52811_XXAA;NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3;NRF_SD_BLE_API_VERSION=7;S140;SOFTDEVICE_PRESENT;SWI_DISABLE0;"
debug_target_connection="J-Link"
gcc_entry_point="Reset_Handler"
macros="CMSIS_CONFIG_TOOL=../../../../../../external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar"
debug_register_definition_file="../../../../../../modules/nrfx/mdk/nrf52811.svd"
debug_additional_load_file="../../../../../../components/softdevice/s140/hex/s140_nrf52_7.0.0_softdevice.hex"
debug_start_from_entry_point_symbol="No"
gcc_debugging_level="Level 3" linker_output_format="hex"
linker_printf_width_precision_supported="Yes"
linker_printf_fmt_level="long"
linker_scanf_fmt_level="long"
linker_section_placement_file="flash_placement.xml"
linker_section_placement_macros="FLASH_PH_START=0x0;FLASH_PH_SIZE=0x30000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x6000;FLASH_START=0x27000;FLASH_SIZE=0x9000;RAM_START=0x20002000;RAM_SIZE=0x4000"
linker_section_placements_segments="FLASH RX 0x0 0x30000;RAM RWX 0x20000000 0x6000"
project_directory=""
project_type="Executable" />
<folder Name="Segger Startup Files">
<file file_name="$(StudioDir)/source/thumb_crt0.s" />
</folder>

  • Sorry!

    ==============================================================================================================

    linker_section_placement_macros="FLASH_PH_START=0x0;FLASH_PH_SIZE=0x30000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x6000;FLASH_START=0x27000;FLASH_SIZE=0x9000;RAM_START=0x20003000;RAM_SIZE=0x3000"

    ==============================================================================================================

    it's working fine now.

    thank you..

Related