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.

Unit Test using Rational Test Real Time (RTRT) and Code composer studio.

Hello,

I am trying to perform unit test using RTRT and CCS (Version 4.2.4). My Target deployment port (TDP) is configured on RTRT  in such a way that RTRT calls CCS in turn and I have a gel file that I am running after I connect to EzDSP 28335. Following is the GEL file that I am executing.

StartUp()

{

GEL_Load("D:/Boot RTRT Test/Test4/cWinCCF28335BH1/Test.out");
}

OnFileLoaded(int nErrorCode, int bSymbolsOnly)
{
int BREAKPTS_SET = 0;

if(!BREAKPTS_SET)
{
GEL_BreakPtAdd(priv_writeln);
GEL_BreakPtAdd(priv_close);
BREAKPTS_SET = 1;
}

while((PC!=C$$EXIT) && (PC!=abort))
{
while(PC==priv_writeln)
{
GEL_MemorySave(atl_buffer,0,0x40,"log.dat");
GEL_System("type log.dat >> RTRT.dat");
GEL_Go(priv_writeln);
}
if(PC == priv_close)
{

GEL_TextOut("\nTestRT:Program Executed Normally\n");
GEL_Halt();
break;
}
GEL_Go(priv_writeln);

}

GEL_Halt();

}

When I am executing this file, I am getting the following error.

C28xx: Breakpoint Manager: AET Error: Bad CPU ID passed to ProgramJob.
C28xx: Breakpoint Manager: AET Error: Bad CPU ID passed to ProgramJob.
C28xx: Breakpoint Manager: AET Error: Bad CPU ID passed to ProgramJob.
C28xx: GEL: Error while executing OnFileLoaded(0, 0): Could not set breakpoint for GEL_Go()..

I am not able to set breakpoint.  Could you please let me know how do I avoid this error? Any suggestion is appreciated. 

Regards,

Bhavin

  • Hi Bhavin,

    I am guessing that the errors are caused by the GEL breakpoint add calls. Could you replace the symbols with a hard address as a test

    btw - your GEL script does quite a bit. Have you explored using DSS to automate the debugger? It would be easier to deal with it with your unit tests

    Thanks

    ki