I meet a trouble like this:
My colleague used "nRF51822 QFAAC0 1322AW" to make a product. The KEIL program "based on s110_nrf51822_5.2.1_softdevice.hex and nRF51 SDK V4.3.0.27417" he gave me is OK, and the product works well.
Now I need to update the design, and used the "nRF51822 QFAAG3 1440BE", I try to transplant his program to a new one "based on s110_nrf51822_6.2.1_softdevice.hex and nRF51 SDK V6.1.0.b2ec2e6". However, it dosen't work. When I try to debug, the program won't goes into the main funtion.
I'm sure the circuit is OK because the old program works with the old s110_nrf51822_5.2.1_softdevice.hex. There is a system-off circuit to auto-controll if the nRF51822 SLEEP or not.
So I want to ask, what happens before the main function? Why I can't goes into the main function? Is it possible that as soon as I download the program, the nRF51822 sleeps without goes into main function?