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

nrf51822 upgrade from 4.4 to 5.2, build ok, flash ok, but stuck on run

www.dropbox.com/.../error.jpg it is not even reach main() same as devzone.nordicsemi.com/.../nrf51422-flashes-ok,-but-debugging-fails-stays-in-moves-r0,r0

is it related to target setting? www.dropbox.com/.../setting.jpg

I try different combination, such as the default setting on sample project, which is 2000 read/write, and same address to start, both doesn't work also try setting in the release notes of s110_nrf51822_6.0.0, which is IROM1 0x14000 and size 0x2c000, same error

It is nrf51822 dev kit. current hex size is 119k

since the program is big, I changed the arm_startup_nrf51.s Stack_size,
Stack_Size EQU 1250; 2048 AREA STACK, NOINIT, READWRITE, ALIGN=3 Stack_Mem SPACE Stack_Size __initial_sp

Heap_Size EQU 2048; 2048

is this an issue? we have no problem in 4.4 sdk

Related