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.
Hi,
I'm trying to use a Gel file to record all DSP core registers after each execution step (Record register, run one step, record register, run one step...)
I found the function to record these registers but I'm not able to execute the SW step by step. Indeed, GEL_AsmStepInto function is not working as I expected. I cannot run this function several times. If I'm using this function in a while loop, CCS is always running but PC is not incremented.
Find below the part of code that I'm using:
hotmenu Run_And_Record_CPU_Register()
{
int step=3;
int count=1;
int i=0;
PC=0x100;
GEL_BreakPtAdd(INF);
while(step!=count)
{
GEL_SystemSaveAllRegisters("C:\\CPU_Register.dat",1);
GEL_AsmStepInto();
GEL_TextOut("In the loop");
step--;
}
GEL_TextOut("Out of the loop");
}
Any support is welcome.
BR,
Nicolas