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.

CCS 4.10.36 breakpoint issue



CCS 4.10.36 breakpoint issue: Software breakpoints are not working and only one HW breakpoint is allowed. Is it the limitation with this ccs version? Please let us know the solution to set breakpoints.

  • Baba,

    What TI device is being used?  Is this an old C3x or C4x?  Based on the image this looks like Code Composer v4 (vs Code Composer Studio) from about 20years ago.

    Regards,

    John

  • Hi JohnS, TI device is TMS320F240 and it is CC4.10.36 old one. Please tell me about the breakpoints issue?

    Regards,

    Baba.

  • Baba,

    I believe F240 only has 2 hardware breakpoints.  One thing to watch is that Code Composer may place one at the CIO label or one at the program exit.  In newer tools you can disable that.  I am not able to run those old tools on any of my machines but I believe there was a debugger setting for that as well. If you do disable those you should be able to enable 1 more breakpoint.

    Is 0x87D FLASH or RAM on this device?  If it is FLASH then Code Composer would fail to set a software breakpoint.  Depending on if the memory map is setup correctly in GEL it may just try to set it and then when it goes to verify that the breakpoint is there it would fail.

    I am not very familiar with F240 programming but looking at the GEL file it looks like sometimes that address is RAM and sometimes FLASH.  Given your device is an F240 I am assuming that is FLASH and thus software breakpoints would fail.

    GEL_MapAdd(0x0000,0,0x4000,1,1); /* Microprocessor (RAM)*/
    /* GEL_MapAdd(0x0000,0,0x4000,1,0); */ /* Microcomputer (ROM)*/

    Regards,

    John

  • Baba,

                  It is likely your MP/-MC pin is tied low, thereby mapping the memory to on-chip flash. If you have code in B0 RAM, you should be able to set multiple breakpoints. 

    On a different note, I hope this is not a new project. You may be aware F240 attained End-of-Life (EOL) status many years ago. It is neither produced nor sold any more by TI.