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.

C28xx: Trouble Setting Breakpoint with the Action "Finish Auto Run"

Hi, 

I migrated my project from ccs3.3 to ccs5.1. After building I tried to load into the ram of my dsp but got the following arror: 

C28xx: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x20c223: Error 0x00000008/-1066 Error during: Break Point, Cannot set/verify breakpoint at 0x0020C223  


In our project we use a customized command file. Please if you have some hints to solve this issue, you are welcome. 
My DSP is F28335 and I use the disgital spectrum xds510 usb emulator

Keli
  • Hello Keli,

    CCSv5 will try to auto-run to main on program load. It will try to set a breakpoint at main and then run to it. The error above looks like it failed to set this breakpoint. Do you have a 'main' in your application? If you do, can you manually set a breakpoint there?

    Thanks

    ki

  • Thank you for your answer. Yes there is a main and the address given is the entry point of the program. 
    The  break point set manually does not work. 
    Today when I tried to load I got the following error
    "C28xx: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x20e2c5: Error 0x00000008/-1066 Error during: Break Point,  
    Cannot set/verify breakpoint at 0x0020E2C5 "
    The desassembly code gives something as following 
            main:
    20e2c5: 0000 ITRAP0
    20e2c6: 0000 ITRAP0
    20e2c7: 0000 ITRAP0
    41 asm(" ESTOP1");
    20e2c8: 0000 ITRAP0
    44 InitSysCtrl(); //c.f. DSP2833x_SysCtrl.c
    20e2c9: 0000 ITRAP0
    20e2ca: 0000 ITRAP0
    20e2cb: 0000 ITRAP0
    47 InitXintf();
    20e2cc: 0000 ITRAP0
    20e2cd: 0000 ITRAP0
    51 EALLOW;
    20e2ce: 0000 ITRAP0
    I dont know if there is something wrong. 
    I will really appreciate your help. 
    
    
    Keli
         
  • Hello Keli,

    Did you solve your problem ?

    I got the same problem and I would like to know if you have any solution for this issue.

    Regards,

    Nicolas

  • Luna, 

    Finally I could sove my problem. 

    The gel file coming with the CCS5 for my DSP generation (F28335) disables by default the XINTF. Mine is locate in

    ccs5_2\ccsv5\ccs_base\emulation\gel

    You can edit and uncomment the following line

    OnReset(int nErrorCode)
    {
     ..

    XINTF_Enable(); /* Uncomment to enable XINTF on Reset */
    }

    Hope it will work with you too

  • Thanks Adjeiinfo !

    Regards,