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

"Stopped by vector catch" when debugging SES 52840 project modified for 52833

I have a BL654-DVK (nRF52840) and BL653-DVK (nRF52833).  I have a custom program modified from an example that runs and debugs properly on the nRF52840, and am trying to port it to the nRF52833.  The same issue arises on my program and example programs, so I'll just refer to and example for simplicity.

SDK v17.0.2

Softdevice S140

I'm running the SES project in .\examples\ble_central_and_peripheral\experimental\ble_app_multirole_lesc\pca10056\s140\ses\.  According to other support posts, to accommodate the external crystal on the dev board, in sdk_config.h I've set:

NRF_SDH_CLOCK_LF_SRC 0
NRF_SDH_CLOCK_LF_RC_CTIV 16
NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2

At this point, the program runs properly on the BL654 (nRF52840). 

Now to run it on the BL653 (nRF52833) I've set the project common preprocessor definitions to BOARD_PCA10100 and NRF52833_XXAA, and ses_startup_nrf52833.s and system_nrf52833.c in the project folder "None".  

The project builds successfully, but does not run or debug.  Debugging fails before beginning main, with "Stopped by vector catch".

What else do I need to do to get this (and my custom) project to run?

Parents Reply Children
No Data
Related