Beruflich Dokumente
Kultur Dokumente
Original copy in Portuguese from Casainho Translated by Leveraging http://www.freetranslation.com/ Geoffrey Wu Taipei, Taiwan 2006/5/18
1
PICos18 RTOS Real Time Operation System LIP Linux Install Party ESTGA 27042006 - University of management and technical from gueda _ Portugal -
PIC10F200 256 words flash PIC18F4520 16k words flash PIC18F4620 32k words flash PIC18C601 external memory, up to 1M words
LCD - alphanumeric
LCD - graphic
Task_2
Task_3
Task_2
Task_3
Pre-emptive MultiTasking
RTOS
Task_1
Task_2
Task_3
Simpler organization of the codes Easy implementation of new tasks, espansion of the program Each task runs as if standalone in the system Interaction between the task is managed by the RTOS easy debug
10
PICos18
Produced by French company Pragmatec, that develops electronic systems It follows an open standard OSEK/VDX used in the automobile and robotics industry GPL Licensed Open Source Drivers LCD graphic, RS232, I2C, SPI, One Wire, CAN, RTC, Temperature sensor, EEPROM, Compact Flash and PGA.
11
Initiate task suspended -> ready Finish task running -> suspended
12
Link/Create event Turn off/Put out event Wait event Know which event happened
13
14
15
16
Install the IDE MPLAB Install the compiler C18 Install the PICos18 Build the Kernel for target MCU
17
References
Wikipedia - www.wikipedia.org Microchip - www.microchip.com FreeRTOS - www.freertos.org Salvo RTOS - www.pumpkininc.com uC/OS-II RTOS - www.micrium.com PICos18 RTOS - www.picos18.com
18