Hi,
I'm trying to simulate external Interrupts of the infineon XC888CM microcontroller with Micro-Vision 3.31a. The external Interrupt occurs all the time, without changing the input pins. In real hardware it is working well.
Updating Micro-Vision to Rev. 3.60, the simulation is not working any more. Keil crashed completely.
Any ideas?
please elaborate on what you actually did. how did you simulate the interrupts? are you sure it is the same as the target does? maybe your vector is invalid?
I went through the source code, step by step. Since the point the interrupts were enabled (general and spezific) the simulation jumps into the interrupt service routine again and again. Without changing the portpins...
it is hard to tell what is going on with such vague description. however, this might happen is you never actually acknowledged you interrupt.
Just an idea: is your interrupt level or edge triggered? Did you try to change the port pin by hand or by a stimulus (simulator) to the level it normally has in idle state of the hardware?
Isn't it possible to post files? jpgs or code?
I configured the Interrupts in DAvE: Int0 (Pin0.5), Int1(Pin2.0) and Int2(Pin2.1) edge selection on both rising and falling edge. When one level at one pin changes, the Interrupt should occur and I can read the Port state and go on...
My plan was to trigger by hand, toggling the port pins in the simulator. But that has no effect, because the interrupt occurs without changing the pins.
HELLO
I AM NEW TO C PLUS PLUS AND I WANT TO LEARN IT. CAN ANYONE TELL ME SOME BOOK NAMES?
I HAVE BOUGTH A BOOK FROM AMAZON, BUT I COULDNT USE IT. MEAN I NEED A BOOK WHICH STARTS FROM BEGINNERS AND GOS ON.
View all questions in Keil forum