NRF51822 - doesn't working with supply voltage

Hello,
I am working with nrf51822 board . the logic that is developed is working completely fine when debugging the application using segger j-link. If i stop debugging and just supply power to nrf51822 the code which was dumped doesn’t work. For testing i have also integrated an LED to indicate the power supply status. when the supply is given to the board after sometime the board isn’t working properly.

Board : NRF51822

sdk version : V12.3.0

i have imported the keil project to the segger embedded studio software.

any help would be appreciated.

thanks in advance.

Regards,

Akula Mounika

So you’re not using PlatformIO for this?

yes, i am using segger embedded studio software to dump code to nrf51822 board.