cancel
Showing results for 
Search instead for 
Did you mean: 

Flashing -> Run -> Problem

drumfirex
Associate II
Posted on June 06, 2003 at 12:34

Flashing -> Run -> Problem

5 REPLIES 5
drumfirex
Associate II
Posted on June 05, 2003 at 12:57

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, Patrik
shreya
Associate II
Posted on June 06, 2003 at 03:05

Is the interrupt enabled in the timer registers?

drumfirex
Associate II
Posted on June 06, 2003 at 05:51

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.

drumfirex
Associate II
Posted on June 06, 2003 at 10:43

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,

Patrik
drumfirex
Associate II
Posted on June 06, 2003 at 12:34

Problem solved, the init rutine was wrong.

Thanks,

Patrik

[ This message was edited by: Rotamat on 09-06-2003 08:56 ]