Niels Kristian Jensen <n...@internetDYTgruppen.dk> wrote in
news:4e8c2899$0$290$
1472...@news.sunsite.dk:
> M68332 processor with the built-in TPU.
>
> The Motorola/Freescale documentation says that when the TPU requests
> an interrupt, it also sets a bit in the CISR register. When the ISR
> finishes servicing the interrupt, it should reset the bit in the CISR
> by reading then writing a zero bit to the bit in question.
>
> I found a bug in the target, the wrong bit was cleared. But the
> interrupt handling worked anyway.
>
> So I've built a new version of the firmware which ignores the CISR
> register completely, i.e. the bits are never cleared.
Well, not completely. The ICE seems unable to break at internal addresses
in the 68332. And I found another clear in some assembly code.
In short: I have to analyze this some more.