This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt simulation

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?

Parents
  • Should the source code support simulation with a xc8xx device? I haven't looked at them, but are they similar enough that they use the same header file for SFR and configuration bits? And are the interrupt controllers and USB identical enough that the source code for one processor will correctly configure and run the devices on the other processor?

    The compiler just translates the source code according to selected device. But if the source code isn't meaningful for the specific device, the generated code will not perform meaningful operations - even if the compiler generated correct processor instructions...

Reply
  • Should the source code support simulation with a xc8xx device? I haven't looked at them, but are they similar enough that they use the same header file for SFR and configuration bits? And are the interrupt controllers and USB identical enough that the source code for one processor will correctly configure and run the devices on the other processor?

    The compiler just translates the source code according to selected device. But if the source code isn't meaningful for the specific device, the generated code will not perform meaningful operations - even if the compiler generated correct processor instructions...

Children