Problems with PIC32MX port

Hi I try to build the daemo of the PIC32MX port but get failures asbelow D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: address 0x9d085940 of RTOSDemo.elf section .text is not within region kseg0_program_mem D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: section .rodata [9d000000 -> 9d0001df] overlaps section .text [9d000000 -> 9d08593f] D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: section .data [9d0001e0 -> 9d0002d3] overlaps section .text [9d000000 -> 9d08593f] D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: section .sdata [9d0002d4 -> 9d0002e3] overlaps section .text [9d000000 -> 9d08593f] D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: section .FreeRTOS [9d001e1c -> 9d0025ab] overlaps section .text [9d000000 -> 9d08593f] D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: RTOSDemo.elf: section .text lma 0x9d000000 overlaps previous sections What have I missed? /Ake

Problems with PIC32MX port

I just tried a clean build using PIC32-gcc V3.4.4 and MPLAB V8.14 and did not get any problems. Did you change anything at all from the demo provided in the download? Did anything unexpected happen when you opened the workspace? (file not found for example). Did you open the Workspace or the Project?  (the Workspace is the correct thing to open). -——————————————————————— Debug build of project `C:EDevFreeRTOSWorkingCopy2DemoPIC32MX_MPLABRTOSDemo.mcp’ started. Preprocessor symbol `__DEBUG’ is defined. Target debug platform is `__MPLAB_DEBUGGER_REAL_ICE=1′. Debug platform options are: `__ICD2RAM=1′. Tue Sep 09 18:27:13 2008 -——————————————————————— Clean: Deleting intermediary and output files. Clean: Deleted file "C:EDevFreeRTOSWorkingCopy2DemoPIC32MX_MPLABRTOSDemo.mcs". Clean: Done. Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "main.c" -o"main.o" -MMD -MF"main.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "ParTestParTest.c" -o"ParTest.o" -MMD -MF"ParTest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..SourceportableMPLABPIC32MXport.c" -o"port.o" -MMD -MF"port.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..Sourcelist.c" -o"list.o" -MMD -MF"list.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..Sourcequeue.c" -o"queue.o" -MMD -MF"queue.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..Sourcetasks.c" -o"tasks.o" -MMD -MF"tasks.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"port_asm.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "..\..SourceportableMPLABPIC32MXport_asm.S" -o"port_asm.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"RegisterTestTasks.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "RegisterTestTasks.s" -o"RegisterTestTasks.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..SourceportableMemMangheap_2.c" -o"heap_2.o" -MMD -MF"heap_2.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalflash.c" -o"flash.o" -MMD -MF"flash.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalQPeek.c" -o"QPeek.o" -MMD -MF"QPeek.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalsemtest.c" -o"semtest.o" -MMD -MF"semtest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalGenQTest.c" -o"GenQTest.o" -MMD -MF"GenQTest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalblocktim.c" -o"blocktim.o" -MMD -MF"blocktim.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "lcd.c" -o"lcd.o" -MMD -MF"lcd.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "serialserial.c" -o"serial.o" -MMD -MF"serial.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalcomtest.c" -o"comtest.o" -MMD -MF"comtest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"serial_isr.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "serialserial_isr.S" -o"serial_isr.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "timertest.c" -o"timertest.o" -MMD -MF"timertest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"timertest_isr.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "timertest_isr.S" -o"timertest_isr.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalIntQueue.c" -o"IntQueue.o" -MMD -MF"IntQueue.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "IntQueueTimer.c" -o"IntQueueTimer.o" -MMD -MF"IntQueueTimer.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"IntQueueTimer_isr.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "IntQueueTimer_isr.S" -o"IntQueueTimer_isr.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "printf-stdarg.c" -o"printf-stdarg.o" -MMD -MF"printf-stdarg.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-gcc.exe" -mdebugger -mprocessor=32MX360F512L "main.o" "ParTest.o" "port.o" "list.o" "queue.o" "tasks.o" "port_asm.o" "RegisterTestTasks.o" "heap_2.o" "flash.o" "QPeek.o" "semtest.o" "GenQTest.o" "blocktim.o" "lcd.o" "serial.o" "comtest.o" "serial_isr.o" "timertest.o" "timertest_isr.o" "IntQueue.o" "IntQueueTimer.o" "IntQueueTimer_isr.o" "printf-stdarg.o" -o"RTOSDemo.elf" -O3 -Wl,–defsym=__MPLAB_BUILD=1,–defsym=__MPLAB_DEBUG=1,–defsym=__MPLAB_DEBUGGER_REAL_ICE=1,–defsym=__ICD2RAM=1,–defsym=_min_heap_size=0,–defsym=_min_heap_size=0,-Map="RTOSDemo.map" Executing: "C:DevtoolsMicrochipMPLAB C32binpic32-bin2hex.exe" "C:EDevFreeRTOSWorkingCopy2DemoPIC32MX_MPLABRTOSDemo.elf" Loaded C:EDevFreeRTOSWorkingCopy2DemoPIC32MX_MPLABRTOSDemo.elf. -——————————————————————— Debug build of project `C:EDevFreeRTOSWorkingCopy2DemoPIC32MX_MPLABRTOSDemo.mcp’ succeeded. Preprocessor symbol `__DEBUG’ is defined. Target debug platform is `__MPLAB_DEBUGGER_REAL_ICE=1′. Debug platform options are: `__ICD2RAM=1′. Tue Sep 09 18:27:23 2008 -——————————————————————— BUILD SUCCEEDED

Problems with PIC32MX port

Hi Richard, I get no complaints at all when loading the project.  I’m new to the 32 bit compiler. The C18 compiler had a linkage file but can’t find it here. Looks like things are thrown into wrong sections. This is the output I get from a compile -——————————————————————— Debug build of project `C:FreeRTOSDemoPIC32MX_MPLABRTOSDemo.mcp’ started. Preprocessor symbol `__DEBUG’ is defined. Target debug platform is `__MPLAB_DEBUGGER_PIC32MXSK=1′. Tue Sep 09 20:07:33 2008 -——————————————————————— Clean: Deleting intermediary and output files. Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABmain.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABParTest.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABport.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABlist.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABqueue.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABtasks.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABport_asm.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABRegisterTestTasks.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABheap_2.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABflash.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABQPeek.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABsemtest.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABGenQTest.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABblocktim.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABlcd.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABserial.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABcomtest.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABserial_isr.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABtimertest.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABtimertest_isr.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABIntQueue.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABIntQueueTimer.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABIntQueueTimer_isr.o". Clean: Deleted file "C:FreeRTOSDemoPIC32MX_MPLABprintf-stdarg.o". Clean: Done. Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "main.c" -o"main.o" -MMD -MF"main.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "ParTestParTest.c" -o"ParTest.o" -MMD -MF"ParTest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..SourceportableMPLABPIC32MXport.c" -o"port.o" -MMD -MF"port.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..Sourcelist.c" -o"list.o" -MMD -MF"list.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..Sourcequeue.c" -o"queue.o" -MMD -MF"queue.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..Sourcetasks.c" -o"tasks.o" -MMD -MF"tasks.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"port_asm.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "..\..SourceportableMPLABPIC32MXport_asm.S" -o"port_asm.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"RegisterTestTasks.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "RegisterTestTasks.s" -o"RegisterTestTasks.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..\..SourceportableMemMangheap_2.c" -o"heap_2.o" -MMD -MF"heap_2.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalflash.c" -o"flash.o" -MMD -MF"flash.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalQPeek.c" -o"QPeek.o" -MMD -MF"QPeek.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalsemtest.c" -o"semtest.o" -MMD -MF"semtest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalGenQTest.c" -o"GenQTest.o" -MMD -MF"GenQTest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalblocktim.c" -o"blocktim.o" -MMD -MF"blocktim.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "lcd.c" -o"lcd.o" -MMD -MF"lcd.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "serialserial.c" -o"serial.o" -MMD -MF"serial.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalcomtest.c" -o"comtest.o" -MMD -MF"comtest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"serial_isr.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "serialserial_isr.S" -o"serial_isr.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "timertest.c" -o"timertest.o" -MMD -MF"timertest.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"timertest_isr.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "timertest_isr.S" -o"timertest_isr.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "..CommonMinimalIntQueue.c" -o"IntQueue.o" -MMD -MF"IntQueue.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "IntQueueTimer.c" -o"IntQueueTimer.o" -MMD -MF"IntQueueTimer.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -c -MMD -MF"IntQueueTimer_isr.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG "IntQueueTimer_isr.S" -o"IntQueueTimer_isr.o" -I"..\..SourceportableMPLABPIC32MX" -I"." -Wa,–defsym=__DEBUG=1,–keep-locals,–gdwarf-2 Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L -x c -c "printf-stdarg.c" -o"printf-stdarg.o" -MMD -MF"printf-stdarg.d" -I"." -I"." -I"..commoninclude" -I"..\..sourceportablemplabpic32mx" -I"..\..sourceinclude" -D__DEBUG -g -DMPLAB_PIC32MX_PORT -Wall -fomit-frame-pointer Executing: "D:ProgramMicrochipMPLAB C32binpic32-gcc.exe" -mprocessor=32MX360F512L "main.o" "ParTest.o" "port.o" "list.o" "queue.o" "tasks.o" "port_asm.o" "RegisterTestTasks.o" "heap_2.o" "flash.o" "QPeek.o" "semtest.o" "GenQTest.o" "blocktim.o" "lcd.o" "serial.o" "comtest.o" "serial_isr.o" "timertest.o" "timertest_isr.o" "IntQueue.o" "IntQueueTimer.o" "IntQueueTimer_isr.o" "printf-stdarg.o" -o"RTOSDemo.elf" -O3 -Wl,–defsym=__MPLAB_BUILD=1,–defsym=__MPLAB_DEBUG=1,–defsym=__MPLAB_DEBUGGER_PIC32MXSK=1,–defsym=_min_heap_size=0,-Map="RTOSDemo.map" D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: address 0x9d085940 of RTOSDemo.elf section .text is not within region kseg0_program_mem D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: section .rodata [9d000000 -> 9d0001df] overlaps section .text [9d000000 -> 9d08593f] D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: section .data [9d0001e0 -> 9d0002d3] overlaps section .text [9d000000 -> 9d08593f] D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: section .sdata [9d0002d4 -> 9d0002e3] overlaps section .text [9d000000 -> 9d08593f] D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: section .FreeRTOS [9d001e1c -> 9d0025ab] overlaps section .text [9d000000 -> 9d08593f] D:ProgramMicrochipMPLAB C32bin\..libgccpic32mx3.4.4\..\..\..\..pic32mxbinld.exe: RTOSDemo.elf: section .text lma 0x9d000000 overlaps previous sections This appears to be a limited version of the C32 compiler.  (Consider this when interpreting error messages.) Link step failed. -——————————————————————— Debug build of project `C:FreeRTOSDemoPIC32MX_MPLABRTOSDemo.mcp’ failed. Preprocessor symbol `__DEBUG’ is defined. Target debug platform is `__MPLAB_DEBUGGER_PIC32MXSK=1′. Tue Sep 09 20:08:00 2008 -——————————————————————— BUILD FAILED Cheers /Ake

Problems with PIC32MX port

Your output say "This appears to be a limited version of the C32 compiler.  (Consider this when interpreting error messages.) Link step failed." Did you register to get the full free version of C32.

Problems with PIC32MX port

Did you register to get the full free version of C32.  ???? How do I do that?

Problems with PIC32MX port

The original versions of C32 used to be very restricted until you registered.  Once registered the restrictions were removed (for a time anyway).  As far as I know the latest versions of C32 don’t have this requirement and I cannot see anything on the Microchip WEB site that indicates otherwise. I don’t seem to have any special linker script options set. I do see that I compiled with -O3 optimisation on, can you try the same to see if its simply a code size issue (the obvious thing of course). Regards.

Problems with PIC32MX port

Hi Richard, I tried to reinstall the compiler and now everything works. Strange. Everything before was just plain  vanilla from the installation CD that came with the PIC32MX starter kit.  Oh well I have had poblems with the installs from Microchip before… Will use FreeRTOS for the first time on a real project. I’m one of the survivers of the PIC32MX challange contest and will use it for my SweetBox design (http://mypic32.com/web/guest/contestantsprofiles?profileID=43308) and probably later for all stuff at http://www.vscp.org Thanks for your kind help. Keep up the good work! Cheers /Ake

Problems with PIC32MX port

Excellent – good luck in the competition! Regards.