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.

OmapL138: Trouble Writing Memory Block

Other Parts Discussed in Thread: OMAPL138

Hello!

I use  CCS 5.4.0.00091 running on Windows 7 Pro 64-bit with Omap L138 based platform (it has both ARM9* and C674* cores) and SAURIS SAU510-USB IsoPlus v2 emulator. During 'Hello World!' example ARM9 core the next error occured:

ARM9_0: Trouble Writing Memory Block at 0x80000000 on Page 0 of Length 0x46b4: (Error -2030 @ 0x2E4C0162) Internal error: Access to unknown or invalid register was requested. Restart the application. If error persists, please report the error. (Emulation package 5.1.73.0)
ARM9_0: GEL: File: D:\Code Composer Studio\LetsTry_ARM-OmapL138_SAU510-USB-IsoPlusV2\Debug\LetsTry_ARM-OmapL138_SAU510-USB-IsoPlusV2.out: Load failed.
ARM9_0: Unable to terminate memory download: NULL buffer pointer at 0x320

This is my first time using CCS, so I followed the insruction and tried to start an example. It was working properly at the very first time. However, during the next times of trying to start this or some other examples I had such error. Then I tried to start example on DSP core and it works properly, but not ARM.

Restart of platform and CCS didn't help.

Sorry if something wrong and Thanks for help!

  • Artem,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    Artem Khotab said:
    During 'Hello World!' example ARM9 core the next error occured

    When during the example did the error occur? Was it during build, link, connect, download, GEL initialization, or running the program?

    Artem Khotab said:
    ARM9_0: Trouble Writing Memory Block at 0x80000000 on Page 0 of Length 0x46b4:

    This sounds like the processor is not able to write to your external memory at 0x80000000. Have you tried looking at that location in the memory browser to see if you can read or write to that location?

    In CCSv5, when you do the Target Connect step, it will also load and execute some commands from a GEL file. There is usually a GEL file that comes with our EVMs when you buy one, or they may be downloadable from a company's website, depending on who built the EVMs for a particular device.

    It may also be provided by the emulator vendor. I am not familiar with the Sauris SAU510-USB, but they should be able to provide a target configuration for the emulator and hopefully they will have some insight into the GEL initialization requirements for that emulator pod.

    In our online resources I listed above, you can find information on GEL files. Search for "omapl138 gel" (no quotes) to get some information. You should also be able to find information from within CCSv5 using Help->Help Contents and searching for GEL.

    It is possible that you have GEL files running already if you are able to access external memory from the DSP core. You may need to enable the ARM9 from the DSP based on your comments above. If there are GEL commands available, you will get to them by going to the CCSv5 menu bar and clicking on Scripts. You may get one result if you have selected the DSP core and click on Scripts, and you may get another result if you selected the ARM core and click on Scripts. This is all done in the Debug Perspective after the Connect Target has been executed.

    Regards,
    RandyP