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.

Step Into (F5) and Step Over(F6) not working on CCS 6.1.3.00033

Other Parts Discussed in Thread: SYSBIOS, AM4378

Hi,


I am using CCS v 6.1.3.00033, XDS560v2 and TI emulator package v 6.0.407.3.

When I try to step into or step over my code, I am getting below error:

ti.sysbios.family.arm.m3.Hwi: line 1095: E_hardFault: FORCED
ti.sysbios.family.arm.m3.Hwi: line 1207: E_usageFault: NOCP: Attempting to use co-processor
Exception occurred in background thread at PC = 0x8006e948.
Core 0: Exception occurred in ThreadType_Task.
Task name: {unknown-instance-name}, handle: 0x80744c94.

One interesting observation is that Run to line(Ctrl + R) or free run(F8) is working fine for the same binary.

Regards,

Rishabh

  • Rishabh Garg said:
    When I try to step into or step over my code, I am getting below error:

    Rishabh Garg said:
    One interesting observation is that Run to line(Ctrl + R) or free run(F8) is working fine for the same binary.

    The default debug properties for a CCS project under Program/Memory Load Options is that:

    a) Interrupts are disabled when Assembly Stepping or when Source Stepping.

    b) Interrupts are not disabled when Running.

    I think that for some reason when you try stepping into or stepping over your code that the CCS debugger is disabling and then re-enabling interrupts which leads to the SYS/BIOS exception.

    On a AM4378 target I have seen CCS disabling interrupts when stepping cause issues - see CCS 6.1.1 debugger Step Over of a blocking function call in a TI-RTOS based AM4378 program hangs

    If you change the CCS project properties to NOT disable interrupts when Assembly Stepping or Source Stepping does that avoid the SYS/BIOS exception?

  • Hi Chester,

    SYSBIOS exception did not occur on modifying the CCS project properties.
    But I did not face this issue with CCS5.4 or CCS 5.5.
    Shouldn't this be fixed in CCS6.1?

    Regards,
    Rishabh
  • Rishabh Garg said:
    Shouldn't this be fixed in CCS6.1?

    This does sound like a bug in CCS 6.1. Can you enable CCS Debug Server Logging and attach the log file for the failure case where a SYS/BIOS exception occurs when Step Into or Step Over is used.

    Also, are you able to attach a SYS/BIOS project which shows the problem?

  • Hi,

    I don't have a CCS project that shows the problem. I am running makefie based example on TDA2xx-EVM.

    I have shared the debug log at: \\a0132235pc\Shared\CCS_debug.

    Regards,

    Rishabh

  • Rishabh Garg said:
    I have shared the debug log at: \\a0132235pc\Shared\CCS_debug.

    Since I am not a TI employee I can't access the internal TI network. Is it possible you can zip up the CCS debug server log and attach to the forum?

    Rishabh Garg said:
    I am running makefie based example on TDA2xx-EVM.

    OK, are you running a unmodified makefile example for the TDS2xx EVM and if so which one?

  • Hi,

    Thanks for your help. I have shared the log with TI CCS team.
    They will look into this issue.
    I will update this thread on receiving the fix.

    Regards,
    Rishabh