Skip to main content
Visitor II
May 21, 2003
Question

ST62GP-EMU2 HDS2 Emulator problems

  • May 21, 2003
  • 3 replies
  • 790 views
Posted on May 21, 2003 at 13:17

ST62GP-EMU2 HDS2 Emulator problems

    This topic has been closed for replies.

    3 replies

    jackzqAuthor
    Visitor II
    April 25, 2003
    Posted on April 25, 2003 at 18:03

    Hi Forums:

    I'm working on microcontroller for many years, but I'm new user for ST microcontroller.

    working enviroment:

    hardware: ST62GP-EMU2 HDS2 Emulator

    software: Ride

    My problems are :

    the interrupt fuction doesn't work during simulator and emulator!

    In Debugger->data view, I can see

    IOR (0C8H) IS 10H ;GEN=1

    TSCR(0D4H) IS 0EFH ;TMZ=1 AND ETI=1

    But my time interrupt subroutine never excuted, what's wrong?

    (I try AR time interrupt, the problem is same.)

    please help me!

    Jack.

    Visitor II
    May 19, 2003
    Posted on May 19, 2003 at 11:05

    Hi Jack,

    after reset the ST6 is by default in interrupt condition.

    Therefore you have to put once a ''reti'' instruction before using any interrupt. Do you have this instruction in your initialisation?

    Ciao,

    Rolf
    jackzqAuthor
    Visitor II
    May 21, 2003
    Posted on May 21, 2003 at 13:17

    Hi Rolf:

    Yes, that's true. It goes into the Non Maskable Interrupt mode after reset. It's one of features that are differrent from others microcontroller.

    Thank you!

    jack.