I'm using an nRF52 on PCA10040 board and nRF5_SDK_11.0.0_89a8197. I want to run the peripheral ble_app_template with SEGGER Embedded Studio v2.20. I correctly set the FLASH (0x1c000) and RAM (0x20002080) START address in the linker options. J-Link correctly downloads both SoftDevice and application (checked with nRFgo Studio).
After it reaches ble_stack_init() the program hangs in SVC_Handler.
I tried both s132_nrf52_2.0.0_softdevice.hex and s132_nrf52_2.0.1_softdevice.hex with the same results.
NO_VTOR_CONFIG was missing from the Preprocessor Definitions.
What is this definition for exaclty ?
I restated from scratch (reinstall SES, packages and SDK) before figuring this out.
Sorry for wasting your time.
No need to apologize. I'm glad you figured it out. Thank you for sharing the solution.