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/TMS320F280049M: C28xx_CPU1: Trouble Removing Breakpoint with the Action "Finish Auto Run" at 0x82a7: (Error -1066 @ 0x82A7) Unable to set/clear requested breakpoint.

Part Number: TMS320F280049M

Tool/software: Code Composer Studio

Hi Champs,

I use F280049M EVM and load code. I got this error and code start to run automatically. i didn't set any break point in this project. I use CCSv7,1. I check e2e post and i didn't see any solution in post... Could you please tell me how to fix this ? thank you.

 

  • Hi Lisa,
    By default, the debugger automatically sets some breakpoints during debug. One is at 'main' and another is at the exit point of the program. After the program is loaded, it will try to set a breakpoint at 'main' and auto-run to it. But if you do not have a 'main' in your application, then it will not be able to set the breakpoint there and the auto-run to main would fail and instead leave the program running. This behavior can be disabled in the debugger properties:
    processors.wiki.ti.com/.../Debug_Handbook_for_CCS

    Thanks
    ki
  • Hi Ki,

    I have a "main" in my program. But it still didn't run to main. I also disable autorun but it still didn't run to main. I clean whole breakpoint in project but still can't run to main. Could you please tell me is there other thing need to set ?  thanks

  • Hi Lisa,
    If you have a main in your program but the program never reaches it, then there must be some issue with the program where it hits some exception before it reaches main. When you halt the target, where is it halted in the program?

    Thanks
    ki
  • hi Ki,

    sorry for late reply. When I halt the target, it stop in a loop which include in main.
  • Try disabling your auto-run setting (Tools -> Debugger Options):

  • hi Ki,
    I tried it but failed... it stop at c_int00 first and I clicked on single step. But still can't reach main. thanks.
    -Lisa
  • Hi Lisa,
    Disabling the option prevented the debugger from autorunning. So it is expected to stop at c_int00 first since that is the code entry point.

    As for why you cannot run to main, that is something you will need to debug as it is not a tools specific issue. Sounds like your application is hitting some exception or something that is preventing it from reaching main. Where does your code get stuck?

    Thanks
    ki