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

Can't copy vector table to RAM when using softdevice

I am using IAR workbench and working with the nrf52 DK, using the S132 v.3.0 softdevice. I used the blinky example code to connect the nrf52 with my android phone over BLE. To configure interrupts @ runtime I copy the vector table to RAM. When I do this I can't connect with the nrf52 anymore. Every time I try to connect the application crashes and the stack pointer goes to address 0. I thought the "sd_softdevice_vector_table_base_set" function could offer a solution but it doesn't work. The vector table is also still available in program memory.

In a previous project, using the nRF51, it wasn't a problem copying the interrupt vector table to RAM and using the softdevice.

Related