Electronic control unit having different mask return processes
First Claim
1. An electronic control unit having a control program that comprises tasks having respective execution priorities, a real-time operating system that requests activation of the tasks and switches the tasks based on the task levels, and interrupt processes that are assigned respective interrupt levels indicating execution priorities and executed by interrupting the tasks,wherein the control program designates the interrupt level as a mask level in a predetermined task, and has an interrupt prohibition interval in which an interrupt of the interrupt process of the lower interrupt level and switching of the tasks are prohibited, and wherein the control program is programmed not to execute a task scheduling process of the real-time operating system (52) that switches the tasks at an end of the interrupt prohibition interval under a predetermined condition in which it is not likely that the tasks are switched at the end of the interrupt prohibition interval.
1 Assignment
0 Petitions
Accused Products
Abstract
A control program for an electronic control unit includes interrupt processes, tasks and a real-time operating system which controls switching of tasks based on execution priorities. The control program designates the interrupt level as a mask level in a predetermined task, and has an interrupt prohibition interval in which an interrupt of the interrupt process of the lower interrupt level and switching of the tasks are prohibited. The control program is programmed not to execute a task scheduling process of the real-time operating system at an end of the interrupt prohibition interval under a predetermined condition in which it is not likely that the tasks are switched at the end of the interrupt prohibition interval.
12 Citations
4 Claims
-
1. An electronic control unit having a control program that comprises tasks having respective execution priorities, a real-time operating system that requests activation of the tasks and switches the tasks based on the task levels, and interrupt processes that are assigned respective interrupt levels indicating execution priorities and executed by interrupting the tasks,
wherein the control program designates the interrupt level as a mask level in a predetermined task, and has an interrupt prohibition interval in which an interrupt of the interrupt process of the lower interrupt level and switching of the tasks are prohibited, and wherein the control program is programmed not to execute a task scheduling process of the real-time operating system (52) that switches the tasks at an end of the interrupt prohibition interval under a predetermined condition in which it is not likely that the tasks are switched at the end of the interrupt prohibition interval.
Specification