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.

Problem with 6.4.x Compiler

I have a project that successfully compiles and runs using the 6.2.9 Compiler. Target is a f28335 processor.  I changed the Compiler to 6.4.x (I've tried several 6.4.4, 6.4.6, etc) and the project compiles, flashes to the chip but does not run.  When I try to step through the processor, The first statement is a memcpy of some functions to RAM.  It hangs on this statement.  If I comment out the statement, it goes further before hanging on a function call (the debugger reports that it can't find the source file but the function is in the same file so the error makes no sense).  What broke between the old compiler and the new compiler?  Is there some setting that would need to be changed?

Thanks

  • NEIL SINGER said:
    The first statement is a memcpy of some functions to RAM.

    That's not right.  The first instruction initializes the SP.  Please attach the linker map file to your next post.  You probably need to add the file extension ".txt" to it.

    Thanks and regards,

    -George

  • You sent the map files by another channel.  Thank you.  I'm pretty sure, bordering on certain, that you have the problem discussed in this thread.  If I'm right, then you need to change the linker invocation so that the RTS library always comes from the same location as the compiler being used, and not some hard-coded path.

    Thanks and regards,

    -George

  • That was right on the mark! I had a hard link to the RTS library in the project (in addition to the path specified in the correct place -- library source and library include paths). I deleted the RTS library from my project files and the project now works. Thank you for the help!