How to avoid the `no access to memory' warning?

In the simulator or debugger, change the memory configuration mode (menu Simulator > Configure) to `auto on access'.