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

Restricted memory range - error

Hello,

I have an evaluation board with a nRF52832 chip on it. I added some code to ble_app_uart example and flashed it on the evaluation board.

Here is my problem: I added a variable "length_array" (type: uint16_t) to the ble_app_uart example. When the program uses this variable for this first time, it crashes immediately without an error code. (DEBUG is set in the preprocessor defines)

When I built my program I got no errors or warnings.

After some debugging I figured the following out:

 

It says "Restricted memory range".

Here are my questions:

1. What causes this error?

2. Do you have any suggestions how to solve this issue?

Thank you very much in advance.

Related