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.

TMS320C6713B: Weird debugger behavior and Break at address "0xXXXX" with no debug information available, or outside of program code.

Part Number: TMS320C6713B

I am trying to debug code that was written by someone else on a TMS320C6713B DSP. 

As a debug test, I set cal.vab = 0.0. When I run in debug mode, instead of reaching the breakpoint, there is the following message, "Break at address "0xc5ec" with no debug information available, or outside of program code". When I try to access the value of cal.vab in Expressions, it results in an arbitrary float of 1.058..e-37

There are two possible issues that I think could explain why the problem exists:

1) When I go to Debug Configurations -> Source, the program shows the following: "Device Library Source - no 'src' folder for TMS320C6713". I tried to add the path/directory to the TMS320C6713 library file, but the Edit button is greyed out. 

2) The project uses a custom Boot.cmd file, in which "vecs" and "boot" are added in memory. This could cause some type of boot error, or memory error in the debugger.

Boot.cmd:

MEMORY
{
vecs: o = 00000000h l = 00000200h
boot: o = 00000200h l = 00000200h
IRAM: o = 00000600h l = 0000FA00h
CE0: o = 80000000h l = 01000000h

}

SECTIONS
{
"vectors" > vecs
"bootload" > boot
.cinit > IRAM
.text > IRAM
.stack > IRAM
.bss > IRAM
.const > IRAM
.data > IRAM
.far > IRAM
.switch > IRAM
.sysmem > IRAM
.tables > IRAM
.cio > IRAM
}

"vectors" and "bootload" are defined in the file bootMICKAELModified.asm which is copied below.

I have tried the following:

1) manually loading debugging symbols via Load -> Load Symbols

2) setting the compiler optimization level to 0. 

Thank you for your help. I am in the process of learning about Boot files and .cmd to see if I can figure out the issue myself.

 bootMICKAELModified.asm

  • Hello Brad,

    Please note that this is an older part, and we no longer provide hardware or software design support for it as per the banner on the product page:
    https://www.ti.com/product/TMS320C6713B

    This is not behavior I am familiar with. I am reassigning your thread to another team member in case they recognize this behavior, but if they don't recognize anything that will be the limit to the debug support we can offer.

    Regards,

    Nick