• Answer Suggested

Invalid CIO command (0). Memory map prevented reading 0x2000E7D8

Hi,

I tried to debug the tcpecho example project  on  DK-TM129X on TI-RTOS, but it gave me "

Invalid CIO command (0). Memory map prevented reading 0x2000E7D8" error when I tried to run it.

The project that I load was : tcpEcho_TivaTM4C129XNCZAD .

And based on the debugging that I have done, seems like it is due to the  system_printf call...(after executing system_flush())

But, If I tried other project, for example gpio_interrupt project , everything worked fine. The system_printf run fine too !

 

Do I need to set something to make the udpecho project  work ?

The same error happened on tcpecho project as well.

 

Thank you

 

 

 

  • Hi Siauhwa,

    Which product versions are you using?

    • CCS or IAR?
    • If using CCS, which compiler, TI or GCC?
    • TI-RTOS?
    • XDCtools?

    Thanks,

    --Emmanuel

  • In reply to Emmanuel Trinidad - Alicea:

    Hi,

    I use CCS  version 6, TI compiler.

    XDC:

    --xdcpath="C:/ti/tirtos_tivac_2_00_01_23/packages;C:/ti/tirtos_tivac_2_00_01_23/products/bios_6_40_01_15/packages;C:/ti/tirtos_tivac_2_00_01_23/products/ndk_2_23_01_01/packages;C:/ti/tirtos_tivac_2_00_01_23/products/uia_2_00_00_28/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C129XNCZAD -r release -c "C:/ti/ccsv6/tools/compiler/arm_5.1.5"

    Thank you

  • In reply to siauhwa ong:

    Hi Siauhwa,

    Sorry for the delayed response.

    I tried but could not reproduce the issue you have described.  Can you please post some screenshots of the error message?  

    Additionally, since you have mentioned you are using a Tiva device, there is a known issue with Emac reliability.  Read and perform the changes in the following wiki page: TI-RTOS TM4C129 Emac Issues.  

    Regards,

    --Emmanuel

  • In reply to Emmanuel Trinidad - Alicea:

    Hi

     

    Here is the screenshot of the error :

     

    Invalid CIO command (0). Memory map prevented reading 0x2000EBD8

    Invalid CIO command (0). Memory map prevented reading 0x2000EBD8

    Invalid CIO command (0). Memory map prevented reading 0x2000EBD8

    It  happens when I start the debugging.

    Thank you

  • Hello,

    I know this is a reply to an old post, but I just spent a bunch of time going through this and had not found a suitable answer.

    The error seems to be cased by the debugger having an improper RAM pointer. This is set up in the GEL file.

    In my case I was able to load the correct GEL file by going back into Project Properties>General and Making sure I hat the correct target set up in my workspace. Alternatively The GEL file can be edited or a new one loaded under Debugger>Tools> Gel Files

    processors.wiki.ti.com/.../GEL

    -Paul