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

Memory Access Error

Developing on a custom nRF52832 board, not the Nordic nRF52 dev board, but continue to use version 15.2 of the SDK.  Building and download application, but get an abort before even getting to main():

Mon Sep 30, 2019 09:44:28: User error: Memory access error: Trying to read outside mapped memory at address 0xf0000fe0 when PC is 0x30714. Check your memory configuration.

Mon Sep 30, 2019 09:44:28: Unable to execute: driver error. After the error occurred, the program counter (PC) was 0x30714.

The PC is at the flowing line in system_nrf52.c, the first line of function 'errata_12'(void):

    if ((((*(uint32_t *)0xF0000FE0) & 0x000000FF) == 0x6) && (((*(uint32_t *)0xF0000FE4) & 0x0000000F) == 0x0)){

************************************************* 

I was nearly certain the build had been working previously and am baffled as to why this error unexpectedly began appearing, and baffled too on how to alleviate. 

************************************************* 

Using:

SDK v15.2, SD: s132_nrf52_6.1.1_softdevice.hex, Simulator firmware: JLINK v6.44

linker.icf:

.intvec 0xx26000

rom 0x26000 0x2ffff

ram 0x2000 2218  0x2000 ffff

************************************************* 

Any thoughts gentlemen?

Thank you, Best Regards, Todd

Parents Reply Children
No Data
Related