Re: free rtos pic18f
Hi,
I have remove all errors and compiled the code.Still not running in the micro controller(18F4550).
If we try simultaneously, then possibly we can solve the matter.I am attaching my code.My code
May be helpful for you all.
"Path:C:\FreeRTOS\Demo\PIC18_MPLAB"
Please repost the code if run.
=================================================================
----------------------------------------------------------------------
Debug build of project `C:\FreeRTOS\Demo\PIC18_MPLAB\rtosdemo3.mcp' started.
Preprocessor symbol `__DEBUG' is defined.
Thu Mar 17 16:40:05 2011
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\FreeRTOS\Demo\Common\Minimal\comtest.o".
Clean: Deleted file "C:\FreeRTOS\Demo\Common\Minimal\integer.o".
Clean: Deleted file "C:\FreeRTOS\Demo\PIC18_MPLAB\main3.o".
Clean: Deleted file "C:\FreeRTOS\Demo\PIC18_MPLAB\ParTest\ParTest.o".
Clean: Deleted file "C:\FreeRTOS\Demo\PIC18_MPLAB\serial\serial.o".
Clean: Deleted file "C:\FreeRTOS\Source\list.o".
Clean: Deleted file "C:\FreeRTOS\Source\portable\MemMang\heap_1.o".
Clean: Deleted file "C:\FreeRTOS\Source\portable\MPLAB\PIC18F\port.o".
Clean: Deleted file "C:\FreeRTOS\Source\queue.o".
Clean: Deleted file "C:\FreeRTOS\Source\tasks.o".
Clean: Deleted file "C:\FreeRTOS\Demo\PIC18_MPLAB\rtosdemo3.cof".
Clean: Deleted file "C:\FreeRTOS\Demo\PIC18_MPLAB\rtosdemo3.hex".
Clean: Done.
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "comtest.c" -fo="comtest.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "integer.c" -fo="integer.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "main3.c" -fo="main3.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "ParTest.c" -fo="ParTest.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "serial.c" -fo="serial.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "list.c" -fo="list.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\FreeRTOS\Source\list.c:68:Warning [2066] type qualifier mismatch in assignment
C:\FreeRTOS\Source\list.c:76:Warning [2066] type qualifier mismatch in assignment
C:\FreeRTOS\Source\list.c:77:Warning [2066] type qualifier mismatch in assignment
C:\FreeRTOS\Source\list.c:150:Warning [2066] type qualifier mismatch in assignment
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "heap_1.c" -fo="heap_1.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "port.c" -fo="port.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "queue.c" -fo="queue.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\MCC18\bin\mcc18.exe" -p=18F4550 "tasks.c" -fo="tasks.o" -D__DEBUG --extended -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\FreeRTOS\Source\tasks.c:446:Warning [2066] type qualifier mismatch in assignment
Executing: "C:\MCC18\bin\mplink.exe" /l"C:\MCC18\lib" "18f4550_e.lkr" "..\Common\Minimal\comtest.o" "..\Common\Minimal\integer.o" "main3.o" "ParTest\ParTest.o" "serial\serial.o" "..\..\Source\list.o" "..\..\Source\portable\MemMang\heap_1.o" "..\..\Source\portable\MPLAB\PIC18F\port.o" "..\..\Source\queue.o" "..\..\Source\tasks.o" /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"rtosdemo3.cof" /M"rtosdemo3.map" /W
MPLINK 4.15, Linker
Copyright (c) 2007 Microchip Technology Inc.
Errors : 0
MP2HEX 4.15, COFF to HEX File Converter
Copyright (c) 2007 Microchip Technology Inc.
Errors : 0
Loaded C:\FreeRTOS\Demo\PIC18_MPLAB\rtosdemo3.cof.
----------------------------------------------------------------------
Debug build of project `C:\FreeRTOS\Demo\PIC18_MPLAB\rtosdemo3.mcp' succeeded.
Preprocessor symbol `__DEBUG' is defined.
Thu Mar 17 16:40:12 2011
----------------------------------------------------------------------
BUILD SUCCEEDED
=================================================================
mail:rfkfun@gmail.com
Rfkfun