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

IAR IDE call is_manual_peripheral_setup_needed() function get memory access error

Hi,

I am using device nRF51822-CFAC, the SoftDevice is S130_nRF51_2.0.1(Id: 0x0087). In my project's General Options->Target->Device, I selected "NordicSemi nRF51822-CFAC".

When my code run into is_manual_peripheral_setup_needed() function, I got an error says:

" User error: Memory access error:

Trying to read outside mapped memory at address 0xf00000fe0 when PC is 0x35cb4

Check your memory configuration.

"

I searched this address in this forum and found out it is Nordic internally used register address.

So I was confused, why my IAR debugger cannot recognise this address or cannot access this address? If I disabled this function call, same error happened in is_disabled_in_debug_needed() and is_peripheral_domain_setup_needed(), etc.

Can anyone answer this question?

Thanks in advance.

Dawei

Related