nrf52840 "Stopped by vector catch" Before main()

Hi,

I am updating a relatively old project using SES. I am using nRF5_SDK_15.3 with S140 on an nrf52840 target (matches the nrf52840 EVK).

I have been developing and have just noticed that on 1 of my devices, I am not able to run code. Normally, when running a debug build, I am able to run from the entry to main. For example, after selecting debug->go, I get stopped at the main entry point and I simply select the "Continue Execution" button to run my code. This is working on some devices, but has stopped working on 1 device. After selecting debug->go, I see "Download successful ...Stopped by vector catch" in my Output window. I see "Unknown function at 0x00000A60" in my "Select Active Callframe" dropdown control. I also see that the ExeceptionEntryReturnFault breakpoint seems to be bold within my Breakpoints window under "V7M Exceptions". 

If I had to guess, I would suspect that the MBR on this device somehow has been corrupted, but I that is just a guess.

This device was running code just fine until this morning (ran for 5 days). 

Note that I connect to it using JLink and I erase all memory and then download and run my code, but this erasure step not seem to make a difference.

Any ideas?

Thanks in advance.

Mark J

Related