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.

Problam faceing CCSv4 , and programing in TMS320Dm6437

Other Parts Discussed in Thread: TMS320DM6437

 Hi all,

 i wrote a simple program of averaging of 3 number.

 the main code is

main.c

#include<stdio.h>
int main(void)
 {int a=10,b=20,c=30,avg=0;
     avg=(a+b+c)/3;
     printf("The average value is %d",avg);
     return 0;}

 

than configure the target

 Connection type is :Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator

device is: DM6437

 than i saved

after that i made: debug active project and after that imade buid active project .

 

 and nothing is highlighted  in target window.

 than i got this

C64XP_0: GEL Output: Clear L2 Cache in DDR Range
C64XP_0: GEL Output: Setup CacheC64XP_0: GEL Output: (L1P = 32K) +C64XP_0: GEL Output: (L1D = 32K) +C64XP_0: GEL Output: (L2 = ALL SRAM)...C64XP_0: GEL Output: [Done]
C64XP_0: GEL Output: Disable EDMA events
C64XP_0: GEL Output: Setup DDR2 (162 MHz + 32-bit bus)...C64XP_0: GEL Output: [Done]
C64XP_0: GEL Output:
C64XP_0: 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.


C64XP_0: Trouble Writing Register PC: 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.  
C64XP_0: GEL Output: Clear L2 Cache in DDR Range
C64XP_0: GEL Output: Setup CacheC64XP_0: GEL Output: (L1P = 32K) +C64XP_0: GEL Output: (L1D = 32K) +C64XP_0: GEL Output: (L2 = ALL SRAM)...C64XP_0: GEL Output: [Done]
C64XP_0: GEL Output: Disable EDMA events
C64XP_0: GEL Output:


C64XP_0: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x6580: 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.  


C64XP_0: Trouble Setting Breakpoint with the Action "Process CIO" at 0x6578: 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. 


C64XP_0: Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x6860: 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.  

 

 

 what i have to do . and  what is the procedure to load program .in CCS4

 i am using TMS320DM6437 and connector is USB to Mini USB

  • Hi,

    badri patro said:

    than i got this

    C64XP_0: GEL Output: Clear L2 Cache in DDR Range
    C64XP_0: GEL Output: Setup CacheC64XP_0: GEL Output: (L1P = 32K) +C64XP_0: GEL Output: (L1D = 32K) +C64XP_0: GEL Output: (L2 = ALL SRAM)...C64XP_0: GEL Output: [Done]
    C64XP_0: GEL Output: Disable EDMA events
    C64XP_0: GEL Output: Setup DDR2 (162 MHz + 32-bit bus)...C64XP_0: GEL Output: [Done]
    C64XP_0: GEL Output:
    C64XP_0: 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.

    C64XP_0: Trouble Writing Register PC: 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.  
    C64XP_0: GEL Output: Clear L2 Cache in DDR Range
    C64XP_0: GEL Output: Setup CacheC64XP_0: GEL Output: (L1P = 32K) +C64XP_0: GEL Output: (L1D = 32K) +C64XP_0: GEL Output: (L2 = ALL SRAM)...C64XP_0: GEL Output: [Done]
    C64XP_0: GEL Output: Disable EDMA events
    C64XP_0: GEL Output:

    Chances are that you are missing the linker command file for the DM6437 device and therefore the code is trying to be loaded to address 0x0. The subsequent error is caused by the fact that address 0x0 is a reserved memory space in the DM6437.

    badri patro said:

    what i have to do . and  what is the procedure to load program .in CCS4

     i am using TMS320DM6437 and connector is USB to Mini USB

    Check section Project Development of the CCSv4 Getting Started Guide for a step-by-step procedure on how to create a project.

    http://processors.wiki.ti.com/index.php/CCSv4_Getting_Started_Guide

    Hope this helps,

    Rafael

  • Yeah. You are right, but how do I get a linker command file for TMS320DM6437????

  • Hi,

    Since the DM6437 development board was produced by Spectrum Digital, you can get a linker CMD file, GEL files, example code, etc at their support webpage. Check the link DM6437 EVM Target Content at:

    http://c6000.spectrumdigital.com/evmdm6437/reve/

    Hope this helps,

    Rafael