NEC ELECTRONICS GLOBAL
nec electronics global
HOME
APPLICATIONS
PRODUCTS
TECHNOLOGY
SUPPORT
BUY ONLINE
NEWS & EVENTS
ABOUT US
header
GO
AdvancedParametric
SITE MAP CONTACT US

[RX850V4] Task

Contents

    
FAQ-ID = RX850V4_Task-nnnn
0640: What is a task stack?
RX850V4_Task
-0640
What is a task stack?
Q1
What is a task stack?
A1
A task stack is used by task functions of the RX850, RX850Pro, and RX850V4.

The task stack is an area provided for saving information to be used by task functions. It is also used to save the current register information upon task suspension, so that the register information can be restored when the task is resumed.

The task stack area is located in the RAM area, and its size is specified by the system configuration file when a task is generated.

Since the RX850 V3.2x and later, RX850Pro V3.2x and later, and RX850V4 automatically secure the area for saving register information, the user should specify only the size of the area for saving information to be used by task functions.

The RX850 V3.1x and earlier and RX850Pro V3.1x and earlier, however, do not secure the area for saving register information automatically. When generating a task with the system configuration file, therefore, the user should also specify the size of this area, in addition to that of the area for saving information to be used by task functions.

If the stack area runs short, problems such as damage to other RAM areas and malfunction may occur.
If an application using a real-time OS is not operating correctly, 80% of time the cause is insufficient task stack capacity.
Is this information useful for you ?
back to top  
(2008/01)









































 LEGAL  RSS Feeds       © 1995-2008  NEC Electronics Corporation