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.

errors in using ccs to build a example at the davinci platform

Other Parts Discussed in Thread: CCSTUDIO

hi,friends,

the following is the descriptions of my problems:
1,platform DM6467T EVM
2,ccs3.3
3,building the volume1 (C:\CCStudio_v3.3\tutorial\sim64xx\volume1) project is ok,but when I load program and running it

,there is nothing in the disassembly window.I set a breakpoint int the code, then displayed the following informations.I am

a freshman in this dsp field,could you give me a solution, thanks for your attention in advance.


Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not

actually be written to the target.  Check your linker configuration and/or memory map.
Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x23c0: Error 0x0000000A/-1176 Error during:

Memory, Break Point,  The IM 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.    Sequence ID: 7 Error Code: -1176 Error Class:

0x0000000A
Trouble Removing Breakpoint with the Action "Terminate Program Execution" at 0x23c0: Error 0x00000008/-2044 Error during:

Break Point,  No breakpoint at 0x000023C0   Sequence ID: 8 Error Code: -2044 Error Class: 0x00000008
Trouble Writing Register: Error 0x00000006/-1176 Error during: Memory, Register,  The IM 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.    Sequence ID: 6 Error Code: -1176 Error Class: 0x00000006
Trouble Setting Breakpoint with the Action "Process CIO" at 0x2120: Error 0x0000000A/-1176 Error during: Memory, Break

Point,  The IM 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.    Sequence ID: 7 Error Code: -1176 Error Class: 0x0000000A
Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x23c0: Error 0x0000000A/-1176 Error during:

Memory, Break Point,  The IM 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.    Sequence ID: 7 Error Code: -1176 Error Class:

0x0000000A
Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not

actually be written to the target.  Check your linker configuration and/or memory map.
Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x23c0: Error 0x0000000A/-1176 Error during:

Memory, Break Point,  The IM 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.    Sequence ID: 7 Error Code: -1176 Error Class:

0x0000000A
Trouble Removing Breakpoint with the Action "Terminate Program Execution" at 0x23c0: Error 0x00000008/-2044 Error during:

Break Point,  No breakpoint at 0x000023C0   Sequence ID: 8 Error Code: -2044 Error Class: 0x00000008
Trouble Writing Register: Error 0x00000006/-1176 Error during: Memory, Register,  The IM 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.    Sequence ID: 6 Error Code: -1176 Error Class: 0x00000006
Trouble Setting Breakpoint with the Action "Process CIO" at 0x2120: Error 0x0000000A/-1176 Error during: Memory, Break

Point,  The IM 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.    Sequence ID: 7 Error Code: -1176 Error Class: 0x0000000A
Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x23c0: Error 0x0000000A/-1176 Error during:

Memory, Break Point,  The IM 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.    Sequence ID: 7 Error Code: -1176 Error Class:

0x0000000A
Trouble Setting Breakpoint with the Action "Halt Target" at 0x1088: Error 0x0000000A/-1176 Error during: Memory, Break

Point,  The IM 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.    Sequence ID: 7 Error Code: -1176 Error Class: 0x0000000A

Best regards,

                 Xu Wenhao

  • Hi Wenhao,

    Wenhao Xu said:

    the following is the descriptions of my problems:
    1,platform DM6467T EVM
    2,ccs3.3
    3,building the volume1 (C:\CCStudio_v3.3\tutorial\sim64xx\volume1) project is ok,but when I load program and running it

    ,there is nothing in the disassembly window.I set a breakpoint int the code, then displayed the following informations.I am

    a freshman in this dsp field,could you give me a solution, thanks for your attention in advance.

    The tutorials for sim64xx are meant to be run on a 64x simulator., not actual HW. That volume tutorial assumes available memory is:

       ISRAM       : origin = 0x0,         len = 0x100000

    But looking at my 6467 gel file for the DSP, that memory range is not available or not configured to be available. So your program is trying to load program to a memory region that is not available on your target. You will need to modify the linker command file (volume.cmd) so that it places code in a writable region.

    See Section 7.5 of the C6000 Assembly Language Tools User's Guide for more information on linker command files. Refer to your documentation on the 6467 to see what memory region is writable on your target.

    Thanks

    ki

  • Ki-Soo Lee said:
    See Section 7.5 of the C6000 Assembly Language Tools User's Guide

    Here is the URL for the guide: http://focus.ti.com/lit/ug/spru186s/spru186s.pdf

     

  • Wenhao,

    Please try to use the attached linker command file in your project; I created it a while ago while testing some software for a customer and it worked for me.

    Hope this helps,

    Rafael

     

    DM6467.cmd
  • You are getting the error you described because CCS is trying to load code to memory that doesn’t exist or is not enabled or configured on the DM6467.  The linker command file (*.cmd in your project) defines where your application will be loaded in memory.  The linker command file must match you memory configuration.  You will not be able to use many of the debug features in CCS until your program has been successfully loaded.  

    The examples in the tutorial directory are generic projects.  It is expected that the user will modify the linker command file to match the memory map of their particular hardware configuration. 

     

    Can you please provide the information requested in the following link so that we can debug the problem further?

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS#Information_for_Support