cancel
Showing results for 
Search instead for 
Did you mean: 

ST62GP-EMU2 HDS2 Emulator problems

jackzq
Associate II
Posted on May 21, 2003 at 13:17

ST62GP-EMU2 HDS2 Emulator problems

3 REPLIES 3
jackzq
Associate II
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.

rolf
Associate II
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
jackzq
Associate II
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.