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: AutoRun: Target not run as breakpoint could not be set: Error programming AET Job: This task cannot be accomplished with the existing AET resources.

Other Parts Discussed in Thread: TMS320F28027

Good day! 

I am using the Piccolo controlSTICK with TMS320F28027 connected to some other devices via I2C and SPI. After some work (initially breakpoint is set up normally), whed I'm trying to set up a break point CSS4 hangs for several minutes and after this message appears. No other breakpoints exists, and restarting of CCS does not help, as the complete reboot of computer solves the problem until next run.

  • Hi Oleg,

    how many breakpoints and of what type are you setting?   I suspect perhaps you may be running out of resources as the message indicates.  Although it is target dependent, each target can only handle a certain number of breakpoints (particularly hardware breakpoints).

    Can you see if this behaviour persists if you disable some of your breakpoints.

    Best Regards,
    Lisa

  • Only one, plain type.

  • Hi Oleg,

    can you please provide details on how you set the breakpoint up?  Also, if you disable it does the issue go away?  Then we can start isolating where the exact problem might be coming from.

    Best Regards,

    LIsa

  • then no breakpoints exist, doubleclicking on breakpoint bar left to the code immediately produses very long hang, after that the subject message appears. single-stepping is always avialable and works fine. disabled breakpoints does not produce the issue. 

  • On the F28xx you are limited to two hardware breakpoints, so if you are running from Flash you can only set/use 2 at a time. Running to main also requires temporarily setting a breakpoint and running to it. CCS sometimes sets some breakpoints by default (for CIO and/or at the exit point of your application). You can disable these by going to Project Properties->CCS Debug->Target tab and making sure that "Halt at program termination" and "Enable CIO function use" are unchecked. This will give you access to use two hardware breakpoints. Give this a try and let us know if it helps.

    You also mention using CCSv4. Which exact version of v4? There were some issues in early versions of CCSv4 (this thread is one example), so if you must stay on v4 I would highly recommend using the latest version v4.2.4 or 4.2.5. If updating to CCSv5 is an option that would be even better. These versions can be downloaded and installed from http://processors.wiki.ti.com/index.php/Download_CCS

  • No other breakpoints are set. No CIO and halt at termination used. Before issue happends, 2 breakpoints can be normally used, and if I set 3rd, it just appears disabled, no error reported. But after some time, in the same project this issue appears - then I try to set 1st breakpoint, CCS hangs for about 8 minutes and after this error message appears.

    v CCSv4 is alwais updated to the latest version, 4.2.5.

  • Oleg Kobrin said:
    Before issue happends, 2 breakpoints can be normally used, and if I set 3rd, it just appears disabled, no error reported. But after some time, in the same project this issue appears - then I try to set 1st breakpoint, CCS hangs for about 8 minutes and after this error message appears.

    Is this issue reproducible on more than one machine? Is it possible to give it a try on another machine with the same version of CCS installed and the same target board? It seems odd that breakpoint functionality was working fine for a while and then suddenly started exhibiting this problem.

    Does this only happen when setting breakpoints in Flash (ie hardware breakpoints)? Are you able to set breakpoints in RAM without errors?

    If at all possible, could you try installing CCSv5.3 on the same PC (can be installed in a separate directory from CCSv4) and see if that exhibits the same behvaior?

  • Hi Oleg,

    just thought I would check whether there is any update with your enquiry here?

    Best Regards,
    Lisa

  • Hello!

    There was a hardware problem: USB ports malfunctioning on the mainboard. After replacement of the mainboard, the problem vanished.

  • Hi Oleg,

    great, glad to hear that you were at least able to find the issue.

    Thanks for the update and all the best with development.

    Best Regards,
    Lisa