Title :
RTOS for PIC18 microcontrollers
Author_Institution :
Dept. of Electr. Eng., Univ. of Moratuwa, Moratuwa, Sri Lanka
fDate :
July 29 2010-Aug. 1 2010
Abstract :
To eliminate busy waiting as much as possible, handle several tasks of different computation length and increase interrupt latency, using a RTOS (Real Time Operating System) on a microcontroller is efficient and effective. Although several RTOS´s are available for PIC microcontrollers most of them are not provided free and expensive and rarely available for PIC18 devices. This paper describes a compact and efficient RTOS for PIC18 devices. This RTOS includes Preemptive multitasking, voluntary yield, Dynamic memory allocation, Inter thread communication, and Drivers for hardware which minimizes busy waiting and achieves optimum performance. The design has good performance, smaller code size and low memory usage as the design was specifically implemented for PIC18 devices.
Keywords :
microcontrollers; operating system kernels; real-time systems; Inter thread communication; PIC18 microcontrollers; RTOS; code size; dynamic memory allocation; hardware Drivers; interrupt latency; preemptive multitasking; real time operating system; voluntary yield; Driver circuits; Hardware; Instruction sets; Kernel; Memory management; Random access memory; Resource management; Dynamic memory allocation; Lock implementation; PIC18; RTOS; Scheduler; busy waiting; hardware stack; yield;
Conference_Titel :
Industrial and Information Systems (ICIIS), 2010 International Conference on
Conference_Location :
Mangalore
Print_ISBN :
978-1-4244-6651-1
DOI :
10.1109/ICIINFS.2010.5578693