2005-10-04 07:23 PM
2005-09-26 09:16 PM
Hi all.
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 ]2005-09-27 02:43 AM
Code:
u16 init_interrupt(void)
{ 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.2005-09-27 03:08 AM
I changed my init funktion to
Code:
u16 init_interrupt(void) <BR>{ <BR> EIC_IRQChannelConfig(T0TIMI_IRQChannel, ENABLE); <BR> EIC_IRQChannelPriorityConfig(T0TIMI_IRQChannel,1); <BR> EIC_IRQConfig(ENABLE); <BR> return 1; <BR>} <BR>
but still no effekt. [ This message was edited by: re-G on 27-09-2005 15:39 ]2005-09-27 05:13 AM
Hi.
I'm not sure. What can i do to find it out? [ This message was edited by: re-G on 27-09-2005 17:44 ]2005-09-27 08:07 PM
Hi.
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 -> FLASH2005-09-27 11:00 PM
Here you are.
2005-09-28 01:13 AM
Hi.
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 ]2005-10-04 07:23 PM
Ahhh, I see.
Thank you very much for help.