Hello ,
currently i am using nRF51822-QFAC device with SDK10.0.0 AND soft device S110 now i want to use S130 instead of S110 i updated but my device is rebooting continuously.
memory configuration :
boot loader : .icf
/*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x3c000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x3c000;
define symbol __ICFEDIT_region_ROM_end__ = 0x3fbff;
define symbol __ICFEDIT_region_RAM_start__ = 0x20002c00;
define symbol __ICFEDIT_region_RAM_end__ = 0x20007f7f;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x800;
define symbol __ICFEDIT_size_heap__ = 0x200;
/**** End of ICF editor section. ###ICF###*/
define memory mem with size = 4G;
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
initialize by copy { readwrite };
do not initialize { section .noinit };
keep { section .intvec };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in RAM_region { readwrite,
block CSTACK,
block HEAP };
Application : iar_s130_nrf51822_xxac.icf
/*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x18000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x18000;
define symbol __ICFEDIT_region_ROM_end__ = 0x3bfff; // Don't overwrite bootloader space
define symbol __ICFEDIT_region_RAM_start__ = 0x20002000;
define symbol __ICFEDIT_region_RAM_end__ = 0x20007fff;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x2000;
define symbol __ICFEDIT_size_heap__ = 0x0;
/**** End of ICF editor section. ###ICF###*/
define memory mem with size = 4G;
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
initialize by copy { readwrite };
do not initialize { section .noinit };
keep { section .intvec };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in RAM_region { readwrite,
block CSTACK,
block HEAP };
i defined S130 in IAR for both bootloader and Application and compiled without any issue.
Nrf SDK Version : nRF51_SDK_10.0.0
soft device version : nRF51_SDK_10.0.0\components\softdevice\s130\hex\s130_nrf51_1.0.0_softdevice .exe
i am using nRFgo studio to flash above binary
first i flashed soft device mentioned above than i tried to falsh my Application it showing below error
using tools
IAR EMBEDDED WORKBENCH FOR ARM 7.50.3
J-LINK BASE
nRFGo Studio
please help how to fix this issue
thanks