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.

L138 based Hawkboard debugging error (CCS v4)

hello

 

I am trying to use a spectrum digital XDS 510 emulator on Hawkboard using CCv4.


The debugging session exits with the following error

"C674X_0: Trouble Writing Memory Block at 0x20 on Page 0 of Length 0x7ff0: Error 0x00000002/-1190 Error during: Memory,  The DTDMA memory request is not serviced by the HW memory system.  This could be caused by the memory address specified does not exist in the specified  memory/cache level.  
Cannot write to target"


could u please help out.

Thanks in advance

  • i have same problem:

    C674X_0: Trouble Writing Memory Block at 0x20 on Page 0 of Length 0x5c60: Error 0x00000002/-1190 Error during: Memory, The DTDMA memory request is not serviced by the HW memory system. This could be caused by the memory address specified does not exist in the specified memory/cache level.
    Cannot write to target


    i'm using myself designed board based on C6745 and BlackHawk XDS100V2.

    To tell the truth, i'm using C6747 .gel file from Spectrumdigital OMAPL137\C6747 board.

    Is it the reason this mistake?

    Sorry, i'm novice in DSP.

     

  •  kishore ahamed,

    i had same mistake, but now  i eliminated it. I don't know is it right way or not:

    1.  I chose  from menu on the top:  Target -> Launch Ti Debugger.

    2. Tools -> Memory Map.

    3. In Memory Map choose GEL files, right click on empty field of GEL files and choose Load GEL.

    4. Target -> Reload Program.

    then it gave me Error 0x00000006/-1176 and something about linker.

    I copied linker.cmd file from random Spectrum digital C6747 project  to my active project folder. A bit modified it by deleting ARM and select DSP RAM for all Sections like this:

    .bss > DSPRAM
     .cinit > DSPRAM .......

    5. Rebuild active project and pressed button with green bug :-)

    Now it looks like program was successfully loaded.

    I don't know does it work or not, it's next step in my DSP and CCS exploring, but it has no red colored text in Console.  :-)

     

    Sorry for such primitive language and slang, that is my first days of self education. :-)

  • Pavel Lavrikov

    Even I am a newbie

    thanks for your response. :)

    I am on ccs v4 platform and cudnt find any .gel files. instead .tcf files are used for target configuration i assume so.


  • .tcf files are used only for target connect?

    I mean CCS use it only when you connect to processor by emulator board?

    My next step is to store hardware initialization inside of program, so that it could work without emulator, only by booting from UART_0.

    Do you know, how to do it? Just fill all registers as in microcontrollers?

    I'm in CCS 4.2.1. GEL-files was with test project from SpectrumDigital.

  • Pavel Lavrikov

     

    sorry i meant the .ccxml file.. 

    found some info about using them with different boards/targets here.

    http://processors.wiki.ti.com/index.php/GSG:Common_target_configurations

    Have a peek :)

  • this file is used only for configuration target connect. I use automatically generated .ccxml file without correcting it.

    I think you problem with Error 0x00000002/-1190 is not in .ccxml

    If you received this mistake, it means, that you have wrongly configurated  memory.

    I found, that memory mapping can be configured by .cmd file for linker and inside .GEL file.

    Also maybe in .tcf file, but now BIOS configuring is looking frightening for me :-)

    And i don't fully understand what is it used for.

  • I may be wrong.

    i think my problems would lie for the reason explained here.i havent tried yet. will  update once i do   http://processors.wiki.ti.com/index.php/GSG:Connecting_to_slave_cores_in_SoC_devices

    i am working on a L138 core where DSP is slave.