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

Debugging issue in IAR . Not hitting main()

Hey! . I am new to embedded developing and was trying to familiarize with nrf52 DK . 

Issue : When i try to run the BLE examples in sdk after clicking " download and debug " button, instead of compiler to hit the main function and wait for us to hit " go " button, it seems running where the " go " button is inactive and break button is active. I tried to fix break point just inside main and it is not invoked.

In disassembly window when i press break it stop at  0x5d0 :  0x3803       SUBS      R0,  #3

I am using nrf52832 kit and SDK 15

Since i am a fresher am expecting an elaborated answer. Thankyou

Related