AnsweredAssumed Answered

Question about interupt and exception rountine of MPC574xP

Question asked by Jerry Lee on Dec 28, 2017
Latest reply on Jan 4, 2018 by Jerry Lee

Hello

     I have read the hardware interupt and software interupt mode of MPC5744P.

     In the example of the HW mode, Example MPC5744P HardwareVectoreMode S32DS 

     The IVOR1_Handler has been defined as the exception handler.

     In Vector.c: 

   In MPC5744P-HardwareVectoreMode-S32DS.c:

 

 

     

      In the other example of SW mode , IVOR4_Handler is used to do the interupt service rountine.

     

    So, my question is :

 

     1. What is the usage of IVOR1-IVOR15?

             I have read that IVOR4 is used in the software mode in MPC5744PRM.pdf. 

             But other IVORn is not mentioned.

             How the software interupt go to IVOR4 and not others?

     2. In hardware interupt mode, how the cpu know the exception should go to IVOR1 in the example, why not IVOR0 and other ones?

            And can anyone can explain the difference between interupt and exception? 

            And I have noticed that there is no exception management in the example using software interupt mode.

 

     Thanks a lot!

Outcomes