This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Memory read failed, XDS100v2 debug probe

Other Parts Discussed in Thread: AM3359

Hi,

I’m working with CCS v6.1.2.00015 on Windows 7 Enterprise 64-bit, SP1. While trying to debug ethernetip_example from am335x_sysbios_ind_sdk_01.01.01.01 on an own developed board (AM3359 processor) with XDS100v2 USB Debug Probe, I get the following error(s):
“[CortxA8] Invalid CIO command (0).  Memory map prevented reading 0x9FFA073C”

By using the ROV tool, the following message occurs:
"Received exception from ROV server: Target memory read failed at address: 0x9ffa1904, length: 36. This read is at a VALID address according to the application's section map, but the DebugServer memory read failed."

It seems like the problem is related to XDS100v2 debug probe.
Does anyone has an idea how to solve this problem? Any help would be appreciated very much!

Best regards,
Luca

  • lucv said:
    “[CortxA8] Invalid CIO command (0).  Memory map prevented reading 0x9FFA073C”

    I think that error means the memory map set by the GEL file does't mark the target address 0x9FFA073C as readable by the debugger. See Debugger Memory Map for background information.

    Looking at the GEL files for some AM335x EVMs, the DDR external memory space is set at 256 MB by an entry of the following form:

        GEL_MapAddStr(0x80000000, 0, 0x10000000, "R|W", 0);  // 256MB DDR2 external memory

    Based upon the address from your error messages, your custom board has at least 512MB DDR external memory. In which case, check the GEL file used for the AM3359 processor to see if there is a GEL_MapAddStr call for the DDR external memory which needs to increase the size to match the size of the DDR external memory on the board.

  • Chester,
    Thank you very much for your answer!
    That solved my problem.
    Best regard,
    Luca