I am new on the STR710, and i work with the MB393B Eval Board, with a STR710FZ2T6. I am trying to enable the TOF and OC Interrupt for Timer0. Everything works fine. Both Interrupts occurs, and the EIC_IPR Bits are set. But the matching interrupt handler are not executed. :-[ Has anyone any idea? Thx for help. [ This message was edited by: re-G on 27-09-2005 12:51 ]
{ EIC_INIT(); EIC_IRQChannelPriorityConfig(T0TOI_IRQChannel,1); EIC_IRQChannelPriorityConfig(T0OC1_IRQChannel,2); EIC_IRQChannelConfig(T0TOI_IRQChannel, ENABLE); EIC_IRQChannelConfig(T0OC1_IRQChannel, ENABLE); EIC_IRQConfig(ENABLE); return 1; } This is my Interrupt init funktion. I used the other Channels, but i think this should work. I also tried to enable the channels befor setting the Priority but it had no effekt.
My Tool-set is the RealView Debugger v1.7. Connecting over the RealView ICE Micro Edition. The Board is the MB393B STR710 Eval Board Boot pin setting is ''USER-mode Flash mapped at 0h'' (BOOTEN 1-2) BOOTCR says 0xXXX0 -> FLASH
I use the STR710 library and in the 71x_init.s both GBLL remapping and GBLL remap_ram are commented. ...... . . . I think i've solved the problem. My entry was ''__main''. I've changed this to ''Reset_Handler'' as i saw it in an example Project, and the Interrupts occurs correctly. But i still do not know why this was the reason. can you give me a piece of advice, please? Regards [ This message was edited by: re-G on 28-09-2005 14:53 ]