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