I am using IAR with the RM57 and startup code generated by HALCoGen. Everything generally seems to work, except when I call vimChannelMap the interrupt for the handler installed seems to become immediately pending. Before installing the interrupt I disable interrupts, I then install the interrupt and then enable the interrupts. As the interrupt has become pending it is immediately executed, which should not happen.
I do not get the same problem on an RM48 or a TMS570. Running similar code everything seems fine. I need to be able to install handlers on the fly so I cannot really work around this.
Thanks,
Rik