Forums

Breakpoint instruction Mnemonic for TI c55xx DSP

Started by howy August 25, 2006
Hi all,

On the c6713 DSP I was able to create a permanent breakpoint as shown
below. I cannot figure out how to do this on TI's c5509a DSP. Any one
have any ideas?
thanks,
-howy

int guiBreakcount=0;
void brkpt(int ErrCode)
{
  asm(" .word 0x10000000");  // force a breakpoint instruction
  guiBreakcount++;
}

howy wrote:
> Hi all, > > On the c6713 DSP I was able to create a permanent breakpoint as shown > below. I cannot figure out how to do this on TI's c5509a DSP. Any one > have any ideas? > thanks, > -howy > > int guiBreakcount=0; > void brkpt(int ErrCode) > { > asm(" .word 0x10000000"); // force a breakpoint instruction > guiBreakcount++; > } >
Try this: asm(" ESTOP1"); The 55x has a different instruction set than the c6000 architectue which is why what you mentioned above does not work. Brad