Failed to prepare indirect memory access, no RAM area configured!

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Failed to prepare indirect memory access, no RAM area configured!

    I just downloaded the latest version (4.12) of J-Link software to work with my J-Link (158003089) and IAR EWARM 5.4 on an LPC2158 (custom hardware). When trying to go into debug, I get this:

    Failed to prepare indirect memory access, no RAM area configured!

    What does that mean, and why is that happening now?
  • RE: Failed to prepare indirect memory access, no RAM area configured!

    Fran D wrote:

    I just downloaded the latest version (4.12) of J-Link software to work with my J-Link (158003089) and IAR EWARM 5.4 on an LPC2158 (custom hardware). When trying to go into debug, I get this:

    Failed to prepare indirect memory access, no RAM area configured!

    What does that mean, and why is that happening now?
    ME TOO (SN 57000131). This happens to me when opening FAST GPIO peripheral debug window in Keil MDK ARM 4.10 . Bad bad bad thing.
  • The following line in debugger options seems to have solved the "indirect memory access" problem.


    --jlink_exec_command "map ram 0x40000000-0x40003fff; map indirectread 0x3fffc000-0x3fffcfff; map exclude 0x3fffd000-0x3fffffff;"


    However, now I have the following error as I step through portions of the code that have delays built on the timers.


    "JTAG Timeout during adaptive clocking: RTCK did not respond."


    Anyone know how to fix this? Anyone at Segger see this before? You must have, since it's your error dialog. Anyone at Segger care to provide some insight?
  • You know, I put that line in the debugger options, just like is says in the manual, but I get this in the debug log:

    J-Link Exec Command: ERROR : Expected an integer value
    JLINK command: map ram 0x40000000-0x40003fff; map indirectread - FAILED


    Yet, the indirect memory access problem has gone away. Go figure.