MDK-ARM Keil, MDK-ARM Datasheet - Page 21
![KIT REALVIEW MCU DEVELOPMENT](/photos/9/32/93274/mdk-arm_sml.jpg)
MDK-ARM
Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Specifications of MDK-ARM
For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 21 of 156
- Download datasheet (3Mb)
Getting Started: Building Applications with RL-ARM
Each task has its own stack for saving its data during a context switch. The Task
Control Block is used by the kernel to manage the active tasks.
The Task Control Block contains information about the status of a task. Part of
this information is its run state. A task can be in one of four basic states,
RUNNING, READY, WAITING, or INACTIVE. In a given system only one
task can be running, that is, the CPU is executing its instructions while all the
other tasks are suspended in one of the other states. RTX has various methods of
inter-task communication: events, semaphores, and messages. Here, a task may
be suspended to wait to be signaled by another task before it resumes its READY
state, at which point it can be placed into RUNNING state by the RTX scheduler.
At any moment a single task may be running. Tasks may also be waiting on an
OS event. When this occurs, the tasks return to the READY state and are
scheduled by the kernel.
Starting RTX
To build a simple RTX-based program, we declare each task as a standard C
function and a TASK ID variable for each Task.
__task
__task
OS_TID
After reset, the microcontroller enters the application through the main()
function, where it executes any initializing C code before calling the first RTX
function to start the operating system running.
Task
RUNNING
READY
WAIT DELAY
WAIT INT
WAIT OR
WAIT AND
WAIT SEM
WAIT MUT
WAIT MBX
INACTIVE
void task1 (void);
void task2 (void);
tskID1,
Description
The currently running TASK
TASKS ready to run
TASKS halted with a time DELAY
TASKS scheduled to run periodically
TASKS waiting an event flag to be set
TASKS waiting for a group event flag to be set
TASKS waiting for a SEMAPHORE
TASKS waiting for a SEMAPHORE MUTEX
TASKS waiting for a MAILBOX MESSAGE
A TASK not started or detected
tskID2;
21
Related parts for MDK-ARM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MDK-ARM-B](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-B-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM-B
Manufacturer:
Keil Software
![MDK-ARM-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM
Manufacturer:
Keil Software
![MDK-ARM-BASIC](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-UF](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM UPG TO FLOATING LIC
Manufacturer:
Keil Tools
![MDK-ARM-F](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM W/ FLOATING LICENSE
Manufacturer:
Keil Software
![MDK-ARM3.1](/photos/26/86/268691/landingpagekeilrealviewarmkit_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM uVISION & C++ & RTX
Manufacturer:
Keil Tools
![MDK-ARM-SMB](/images/no-image3.png)
Part Number:
Description:
Development Software SUPP LICENSE RENEWAL 90+ DAYS NO TECH SUP
Manufacturer:
Keil Software
![KEIL-PK51-INTL](/images/manufacturer_photos/0/6/609/silicon_laboratories_inc_tmb.jpg)
Part Number:
Description:
KEIL C-COMPILER INTERNATIONAL
Manufacturer:
Silicon Laboratories Inc
![OM10045](/photos/9/21/92162/om10045_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR LPC213X ARM MCU
Manufacturer:
NXP Semiconductors
Datasheet:
![TWR-K60N512-KEIL](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
K60N512 Keil Tower Kit
Manufacturer:
Freescale Semiconductor
Datasheet: