This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NRF52832 NVIC SET IRQ Crash in Segger Embedded Studio

SDK version 12.2 and SoftDevice 132 and Dev. Board 10040

I am trying to run the ble_app_beacon example with NRF52832 DK. I have imported the IAR project into Segger Studio and modified Section Placement Macros to

FLASH_START=0x1f000 FLASH_SIZE=0x61000 RAM_START=0x200032f0 RAM_SIZE=0xcd10

I found these values in the arm gcc makefile ld

However, when I run the program, the program crashes with SoftDevice fault at this line NVIC_SetPendingIRQ(SWI_IRQn);

It actually stops responding after this! Inside core_cm4.h it is this line at which it stops responding.

NVIC->ISPR[((uint32_t)(IRQn) >> 5)] = (1 << ((uint32_t)(IRQn) & 0x1F));

The error code can be anything, sometimes it is flash fault, some times SVC handler not specified etc. etc.

Related