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
  • Some further tests:
    I installed Version 8.12/3.60 again and simulated the "hello" Programm which is comming together with the new version. I changed the device to Infineon C501 an Simulation is working fine.
    Changing to an Infineon XC8xx device, compilation is ok, but simulation is not working. Keil crashes.

    Is there some problem in implementing infineon xc8xx devices in keil mikrovision?

Reply
  • Some further tests:
    I installed Version 8.12/3.60 again and simulated the "hello" Programm which is comming together with the new version. I changed the device to Infineon C501 an Simulation is working fine.
    Changing to an Infineon XC8xx device, compilation is ok, but simulation is not working. Keil crashes.

    Is there some problem in implementing infineon xc8xx devices in keil mikrovision?

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

  • The source code should support all XC8xx devices.
    Device XC866 is working, using XC886 the simulator crashes.
    So, I think I should wait for an Keil update which solve that problem... or change to another compiler, which supports XC886 devices complete...