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.

Link time warning #10247-D on .text, .data, .cinit and unable to break in debugger

Other Parts Discussed in Thread: TMS570LS0432, HALCOGEN

Hello All,

I downloaded both CC 6.1.2 and 6.1.1 and have the same issues in both.  I'm using a TMS570LS0432 processor.

I just created a new CCS project with the "Empty Project (with main.c)"  setting.

When I compile I get this:

warning #10247-D: creating output section ".text" without a SECTIONS specification
warning #10247-D: creating output section ".data" without a SECTIONS specification
warning #10247-D: creating output section ".cinit" without a SECTIONS specification

When I try to use the debugger and pause, I get a "no source for 0x4" and get a blank window with no text in it.

I initially thought that the program was exiting, so I put a while(1) { dummy() } so that it would be running forever, same result.

Any suggestions? 

  • Hi Thomas,

    I think the problem is with the linker command file.

    If you are new to Hercules processors like TMS570LS04x I will suggest that you start your CCS project using the HalCogen tool. HalCoGen is a GUI based code generation tool for Hercules family of MCU. You can create a real project in a very short time using HalCogen. Below are links to download the tool and the wiki page that introduces the tool. The tool will not only generate the source code but also the linker command file. The warnings you get should not happen with a correct linker command file.

    www.ti.com/.../halcogen
    processors.wiki.ti.com/.../HALCoGen