Thanks both, but there is still something weird going on.
Now the interrupt routines are executed, at least in the internal SRAM (mcf5282). It rolls fine. But when I flash the code, the same interrupt routine is'nt triggerd at all. Its weird because in the SRAM, it is working, bit in the Internal FLASH, the Interrupt routine are'nt showing. We checked the mask register, the SR, ... everything seems ok. What could be wrong?
/**************************************************************************
FUNCT: ref_reached_interrupt
***************************************************************************/
__declspec(interrupt:0)
void ref_reached_timer_isr(void)
{
/* Clears the event flags */
MCF_DTIM_DTER(0) = (0 |MCF_DTIM_DTER_CAP | MCF_DTIM_DTER_REF);
++Seconds[0];
}
thanks
FB