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.

Call stack while debugging TMS320C6457 using CCS 5.3

I'm using CCS 5.3 and with "Full symbolic debug" and also "Optimize fully in the presence of debug directives."  The ABI is "coffabi"

Is there a way to get more of the call stack visible in the debugger? If it is possible then I expect to have to enable stack frames and rebuild, perhaps it is not possible.

  • Hello,
    Does your program use DSP/BIOS or SYS/BIOS? I recall some issue reported along ago where the issue was specific to symbols from BIOS.

    Also note that your version of CCS is fairly old. If possible, I recommend moving to a later version (6.1.1 is the current latest) to have the latest enhancements and fixes.

    Thanks
    ki
  • Sorry, yes, DSP/BIOS. I've notice that sometimes I get a call stack of about ten items, other times I get the current function and then a bogus caller. I have to step until I exit the function and then it shows the new function and again one bogus entry. On other platforms I think the compiler can optimize away stack frames, but you can disable it. I wondered if it was the same for C64+.

  • As I mentioned, there is a known issue with the call stack view and BIOS programs. This may be what you are running into. I believe that fix should be coming in 6.2.0, though I will need to confirm this.

    Note that there have been other various issues with the call stack view which was fixed since your old version of CCS. I strongly recommend updating to CCSv6.1.1 and see if those fixes may apply in your case.

    Thanks
    ki
  • I will look into this. We can continue using the 7.4 compilers (I think we are a bit behind on these too. I was considering an upgrade.) Can we continue using the DSP/BIOS 5.42.0.7 or equivalent? I could not see a download for this for CCS 6, only DSP/BIOS 5.42.01.09 for 5.4. I've not understood the API change too, can we continue with coffabi if we wanted?
  • yes you can use the 7.4 compiler, COFF, and BIOS 5.4 with CCSv6. You can access the download link for BIOS 5 from App Center: