APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 6

Subject : Embedded System

Year : 2018

Term : MARCH

Scheme : 2015 Full Time

Course Code : EC 308

Page:65





PDF Text (Beta):



5 ‏سے پت سے‎ गा की 3 ‏م د‎ हः Micrium (www.micrium.com). Its name 6005-11 is derived
Micro-Controller Operating System. It 15 2150 popularly known as ۷ Mic ॥
സ MUCOS ५ न as MU-C.0S) y as MUCOS or MicroCOS or UCOS.

(Ne ‘hes MUCOS as
Micrium describes MUCOS as portable, ROMable, scalable, reemptive, real-time and multitasking k
MUCOS has been used in over thousands of applications: inclu : ര.

١ ∙∙ 8, including automotive, avionics, consumer electronics,
medical devices, military, aerospace, and networking, and systems-on-a-chip development, MUCOS has an
elegant code. and is said (௦ offer best high quality/performance ratio. Its source code has been certified by
Department of Defense, USA for use in Avionics and in medical applications.

It has a precertifiable software component for safety critical systems, including avionics system
ADO-178B and EUROCAE ED-12B, medical FDA 510(k) and IEC 61058 standards for transportation and
nuclear systems, respectively.

Using this RTOS has another advantage. It has full source code availability and has been elegantly and
very well documented in the book by its designer (refer to the printed book references in Appendix 2).

MUCOS codes are in C and a few CPU-specific modules are in the assembly. Its code ports on many
processors that are commonly used in the designing of embedded sys(éms. MUCOS is real-time kernel with
additional support as follows. TT

1. wC/BuildingBlocks [an embedded system building blocks (software components) for hardware
peripherals, e.g., clock വ്വം and LCD (wC/LCD)).
. 0൨. (an embedded flesh memory loader).
. 0/5 (an embedded memory file system).
. பப்பா (an embedded GUI platform).
. 00൦ (a real-time monitoring tool).
. 7-1 (an embedded TCP/IP stack).
uC/CAN (an embedded controller area network bus).
. ൧40൧ (an embedded modbus).
. ൮൦൮58 device and wC/USB host (embedded USB-devices framework).

‎ಬು (ಎ‏ ھ ما ‎೦೦ ಎಲಾ‏ مہ

‎Source Files 140005 has 10,000 plus lines of codes. There are two types of source files. Master header
file includes the ‘#include’ preprocessor commands for all the files of both types. It is referred as ‘includes.h’.
Every © file has the command, #include‘INCLUDES.H’.

‎1. Processor-dependent source files: Two header files at the master are the following: (i) os_cpu.h is the
processor definitions header file. (ii) The kernel building configuration file is os_cfg.h. Further, two C
files are for ISRs and RTOS timer, specifying os_tick.c and processor C codes 0६ ८५ ५.५. Assembly
codes for the task switching functions are at ൦512 (for 68HC12 microcontroller). For other
microcontrollers, there are similar assembly codé Tiles, for example, os_cpu_a.s51 for 8051.

‎2. Processor-independent source files: Two files, MUCOS header (included in master) and C files, are
ucos_iih and ucos_ii.c. The files for the RTOS core, timer and task files are os_core.c, os_time.c and
OS_task.c. The memory-partitioning, semaphore, queue and mailbox codes are क OS_merit.c, 0s_sem.c,
0$_0.0 and os_mbox,c, respectively.

‎A feature of MUCOS is adaptation of a systematic naming convention that helps program design ५ ‏صنت‎ of a systematic naming convention that helps program design with
न sen om

‎4 OS or OS_ (OS followed by underscore) when used as a prefix denotes that the function or variable is
a 0005 operating ன்‌ function or variable. For example, OSTaskCreate ( ) is a MUCOS function
that creates a task. OS_NO_ERR is a MUCOS macro that returns true in case no error is reported from
an OS function. OS_MAX_TASKS is a constant for the maximum number of tasks in the user

‎٦ application (The user in the preprocessor definitions defines this constant).

Similar Question Papers