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.

Debug Problem: ' Can't find a source file at "/tmp/TI_MKLIBxSQht7/SRC/isr_trap.asm" '

Hi guys,

I am currently working on a project where when I start debugging and run my program, things go fine. However, whenever I click "Suspend", the debugger pulls up another page saying:

Can't find a source file at "/tmp/TI_MKLIBxSQht7/SRC/isr_trap.asm"
Locate the file or edit the source lookup path to include its location.

It is a persistent error even after creating a new project. 

I run Windows 8 and CCSv5.

Thanks!

-Johnny 

  • Quick Update --

    This error seems to only appear when I am using a Timer A interrupt. 

  • John Glynn said:
    This error seems to only appear when I am using a Timer A interrupt. 

    Maybe you're using the wrong timer interrupt. Each timer has two interrupt vectors, one for CCR0.CCIFG, one for all other interrupts. Also the ISRs of two timers can be easily confused: The vectors are named TIMERx_Ay_VECTOR. Where x is the number of the timer, and y is 0 for CCR0 interrupt and 1 for all other interrupts (TAIFG, CCR1.CCIFG etc.).

    The linker automatically places a reference to a dummy ISR into each unused interrupt vector. This dummy ISR comes from the runtime library (for which you don't have the source code - or have it not at the place where it was on the system where the library has been compiled).

    If an interrupt happens for which your code has no ISR, then this dummy ISR is hit - and the debugger placed a breakpoint on it. Now you know that an interrupt happened that isn't handled. But since you don't have the source code for the ISR, you'll get this warning.

**Attention** This is a public forum