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