Steve Belanger

Debug unused ISR using BGND instruction MC9S12XDP512

Discussion created by Steve Belanger on Jul 25, 2008
Latest reply on Jul 25, 2008 by Steve Belanger

Hi,

For unused ISR, the Processor Expert will generate code with the following form :

/*
** ===================================================================
** Method : Cpu_PE_Cpu_PE_ivVsi (bean MC9S12XDP512_112)
**
** Description :
** The method services unhandled interrupt vectors.
** This method is internal. It is used by Processor Expert only.
** ===================================================================
*/

ISR(Cpu_PE_ivVsi)
{
    asm(BGND);
}

I've tried many things like putting my own "assert" method call in the ISR with a regular breakpoint. It won't trigger if in an ISR.

I would like to know how can I set the Hiwave debugger to break on those BGND instruction?

Thanks

 

 

Added p/n to subject.

 



Message Edited by NLFSJ on 2008-07-28 08:47 AM

Outcomes