Other Parts Discussed in Thread: SYSBIOS
Hello,
I'm using CCS 5.1.0.09000 and a DM816x EVM. I have successfully loaded simple programs onto the C674x DSP on the EVM and stepped through them with the debugger which jumps to main() when it starts. I am working on a larger project now and the debugger is not starting at the address where my .text section is loading.
I do the following:
Launch the target configuration.
Connect to the Cortex A8. The Debug windows shows the state as "Suspended" for the Cortex A8.
Run the script EVM816x CPUs BRINGUP – C674x.
Connect to the C674x DSP.
The image below shows the state immediately after I connect to the DSP. A window with the title 0x800000 is one of the tabs shown below and it has the red text in it “No source available for "0x800000"”.

My question is why it is going to the address 0x800000?
Is it because the gel file ccsv5\ccs_base\emulation\boards\gel\evm816x.gel has this line in hotmenu C674x() :
WR_MEM_32(DSPBOOTADDR, 0x00800000); // DSPBOOT ADDRESS
If I change that line to say:
WR_MEM_32(DSPBOOTADDR, 0x80000000); // DSPBOOT ADDRESS
then when the debugger launches it says “No source available for 0x40ecc1fc” instead of “No source available for 0x00800000”.
The file ...\Debug\configPkg\linker.cmd (which says " * Do not modify this file; it is automatically generated from the template linkcmd.xdt in the ti.targets package and will be overwritten.") includes this:
MEMORY
{
IRAM (RWX) : org = 0x10800000, len = 0x40000
OCMC_0 (RWX) : org = 0x40300000, len = 0x40000
OCMC_1 (RWX) : org = 0x40400000, len = 0x40000
DDR3_RAM (RWX) : org = 0x80000000, len = 0x10000000
}
which comes from the platform package (Tools menu, RTSC Tools, Platform, Edit/View) settings where the following are set:
Device Memory:
IRAM Base 0x10800000 Length 0x00040000 code/data RWX
L1DSRAM Base 0x10F00000 Length 0 data RW
L1PSRAM Base 0x10E00000 Length 0 code RWX
OCMC_0 Base 0x40300000 Length 0x00040000 code/data RWX
OCMC_1 Base 0x40400000 Length 0x00040000 code/data RWX
External Memory:
DDR3_RAM Base 0x80000000 Length 0x10000000 code/data RWX
Memory Sections:
Code Memory: DDR3_RAM Data Memory: DDR3_RAM Stack Memory: DDR3_RAM
The .map file shows this:
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
IRAM 10800000 00040000 00000000 00040000 RW X
OCMC_0 40300000 00040000 00000000 00040000 RW X
OCMC_1 40400000 00040000 00000000 00040000 RW X
DDR3_RAM 80000000 10000000 000d3286 0ff2cd7a RW X
<snip>
.text 0 80000000 00069d20
How can I get the debugger to start looking at address 0x80000000 instead of address 0x00800000
Thanks,
Annie