Skip to main content
drumfirex
Associate II
June 6, 2003
Question

Flashing -> Run -> Problem

  • June 6, 2003
  • 5 replies
  • 1075 views
Posted on June 06, 2003 at 12:34

Flashing -> Run -> Problem

This topic has been closed for replies.

5 replies

drumfirex
drumfirexAuthor
Associate II
June 5, 2003
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
Visitor II
June 6, 2003
Posted on June 06, 2003 at 03:05

Is the interrupt enabled in the timer registers?

drumfirex
drumfirexAuthor
Associate II
June 6, 2003
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
drumfirexAuthor
Associate II
June 6, 2003
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
drumfirexAuthor
Associate II
June 6, 2003
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 ]