2003-06-06 03:34 AM
2003-06-05 03:57 AM
I'm using ST72F342J6T6.
I tested my software using Indart-ST7 and it is ok. When I flash it (using DataBlaze by Softec), the main is executed but the TimerB interrupt handler routine is never called. The interrupts are enabled because the SCI (interrupt) module works fine. Any idea ? Thanks, Patrik2003-06-05 06:05 PM
Is the interrupt enabled in the timer registers?
2003-06-05 08:51 PM
The same software works OK in softec dubugging environment !
I think there is something wrong during initialization that works for debugging but not in real uC.2003-06-06 01:43 AM
Now we tried using Overflow interrupt on TimerB and it works both in debugging and in stand alone.
The problem is when we use compare output interrupt: it works only in debugging environment. Thanks, Patrik2003-06-06 03:34 AM
Problem solved, the init rutine was wrong.
Thanks, Patrik[ This message was edited by: Rotamat on 09-06-2003 08:56 ]