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.

Error programming AET Job in CCS 4.1.2

While I want to  set hardware breakpoint in my CCS project in CCS4.1.2 with LM3S328,I find an error,described by this picture

but there are only 4 breakpoints in my project !  Does it not supprot more than 4 breakpoints?

Also I find my code have gone  into an infinite loop

this is my code about the function SysCtlDelay:

int main()

{

......

while(true)
    {
     Idle_RS485();      
    }

......

}

 void Idle_RS485(void)
{
 int i;
 double Temperature_Vaule;
 while (!RxEndFlag)
  {
   ADCSample(ADC_Sample_data);
   ADC_Data_Analysis(ADC_Sample_data);
   
   Proto_Imonit=ADC_to_Proto(Imonit_Value);
   Proto_Pmonit=ADC_to_Proto(Pmonit_Value);
   Proto_PMON=ADC_to_Proto(PMON_Value);
   Proto_Tempmonit=ADC_to_Proto(Tempmonit_Value);
   
   for(i=0;i<100;i++)
   {
    SysCtlDelay(10 * (TheSysClock / 3000));  //延时10ms
    if(RxEndFlag==true) break;
   }

  }
  
 recv_FRAME_analysis(RxBuf); 

......

 

Thank you for your prompt reply !

  • gangling xu said:
    but there are only 4 breakpoints in my project !  Does it not supprot more than 4 breakpoints?

    It should support 6 HW breakpoints. But note that CCS will sometimes set some "hidden" breakpoints for C I/O and at exit points. Those would also use some breakpoint resources. You can try disabling them and see if that helps:

    Also note that other resources like using the profile clock can use up a breakpoint resource.

    gangling xu said:
    this is my code about the function SysCtlDelay:

    The second issue is not a tools issue so I suggest posting in the Stellaris forum.

    Thanks

    ki