Erika OS implementing/calling Interrupts
Posted: Mon Apr 04, 2016 8:44 am
Hello,
My Name is Amit Dey. Presently i am working on a Project where i am supposed to make run-time measurements and the long-term goal is to create an environment to evaluate different ways of optimizing a library for multicore processors with the help of characteristic modules.
I am using Aurix Tricore TC297TF BA and Chose Erika Enterprise as the operating System. I started with putting the Evaluation board into Operation and start implementing Task structure which is similar to real ECUs.
At this Point i am in a need to implement Interrupts. I went through all the demo Projects and documentation to get an idea about using an Interrupt. But unfortunately i could not find much help. In the config.oil file i could successfully define the ISR object but i am not getting a clear Picture on how to implement the Interrupt (like calling an ISR, etc) in the main code. I would be very grateful if i could get demo or example guides implementing Interrupts. I looked through the demos but i could not find much help related to my Evaluation board.
Additional Information: I also tried using the APIs like EE_tc2Yx_stm_set_sr1(), EE_tc2Yx_stm_set_sr1_next_match(). But i could not bring them to work.
Could you please assist me regarding this issue?
Thanking in advance.
Regards,
Amit Dey
My Name is Amit Dey. Presently i am working on a Project where i am supposed to make run-time measurements and the long-term goal is to create an environment to evaluate different ways of optimizing a library for multicore processors with the help of characteristic modules.
I am using Aurix Tricore TC297TF BA and Chose Erika Enterprise as the operating System. I started with putting the Evaluation board into Operation and start implementing Task structure which is similar to real ECUs.
At this Point i am in a need to implement Interrupts. I went through all the demo Projects and documentation to get an idea about using an Interrupt. But unfortunately i could not find much help. In the config.oil file i could successfully define the ISR object but i am not getting a clear Picture on how to implement the Interrupt (like calling an ISR, etc) in the main code. I would be very grateful if i could get demo or example guides implementing Interrupts. I looked through the demos but i could not find much help related to my Evaluation board.
Additional Information: I also tried using the APIs like EE_tc2Yx_stm_set_sr1(), EE_tc2Yx_stm_set_sr1_next_match(). But i could not bring them to work.
Could you please assist me regarding this issue?
Thanking in advance.
Regards,
Amit Dey