Skip to main content
Visitor II
June 6, 2003
Question

Flashing -> Run -> Problem

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

Flashing -> Run -> Problem

    This topic has been closed for replies.

    5 replies

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

    Is the interrupt enabled in the timer registers?

    drumfirexAuthor
    Visitor 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.

    drumfirexAuthor
    Visitor 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
    drumfirexAuthor
    Visitor 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 ]