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

µVision4 - Simulator problem with interruptions ...

Hi,

I try to simulate my application with µVision4 (V4.10) simulator tool.

I create a stimuli on a pin (PIO1_5) using fonction editor tool. I see correctly my signal on logic analyser when i run the application.

My problem : I place a breakpoint at begin of PIOINT1_IRQHandler interrupt handler but the simulator never break. The interrupt is activated by application code.

If i use this same code with debugger on target, th debugger stop correctly at the breakpoint.

Could you have an idea of reasons why interruts don't work with simulator tool ?

Thanks a lot.
Nicolas.

Parents
  • A find a new information about my problem.

    I think there is a bug in Simulator Tool of µVison with LPC1114 target.

    When i use Peripherals->Core Peripherals->Nested Vectored Interrupt Controller menu item, i see that PIO3...PIO0 interrupts are map to Interrupt 69...72 number.
    Those interrupt number don't correspond to the true interrupt number of LPC1114 target.

    So, when an interrupt event appear, the simulator can't route interruption correctly to th good service ... I never go in my interruption routine.

    I don't know if i can adapt/modified some definition files that describes interrupt number associated to interrupt simulator source ?

    Have you some informations for me ?

    Thank's.

Reply
  • A find a new information about my problem.

    I think there is a bug in Simulator Tool of µVison with LPC1114 target.

    When i use Peripherals->Core Peripherals->Nested Vectored Interrupt Controller menu item, i see that PIO3...PIO0 interrupts are map to Interrupt 69...72 number.
    Those interrupt number don't correspond to the true interrupt number of LPC1114 target.

    So, when an interrupt event appear, the simulator can't route interruption correctly to th good service ... I never go in my interruption routine.

    I don't know if i can adapt/modified some definition files that describes interrupt number associated to interrupt simulator source ?

    Have you some informations for me ?

    Thank's.

Children