Re: rtos build
|
||||
---|---|---|---|---|
新會員
|
请版主就上面的问题指点迷津,解燃眉之急!
發表於: 2007/8/16 9:46
|
|||
|
Re: rtos build
|
||||
---|---|---|---|---|
新會員
|
IDE版本:7.60
C30版本:3.01 AN-1017範例:p24fj128ga010 Build 會出現: Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -c "C:\Micrium\Software\EvalBoards\Microchip\PIC24FJ128\MPLAB\BSP\bsp_a.s" -o"C:\Micrium\Software\EVALBO~1\MICROC~1\PIC24F~2\MPLAB\OS-View\Output\bsp_a.o" -Wa,-p=24FJ128GA010,-g C:\Micrium\Software\EvalBoards\Microchip\PIC24FJ128\MPLAB\BSP\bsp_a.s: Assembler messages: C:\Micrium\Software\EvalBoards\Microchip\PIC24FJ128\MPLAB\BSP\bsp_a.s:32: Error: can't open os_cpu_util_a.s for reading C:\Micrium\Software\EvalBoards\Microchip\PIC24FJ128\MPLAB\BSP\bsp_a.s:62: Error: Invalid mnemonic: 'os' C:\Micrium\Software\EvalBoards\Microchip\PIC24FJ128\MPLAB\BSP\bsp_a.s:77: Error: Invalid mnemonic: 'os' C:\Micrium\Software\EvalBoards\Microchip\PIC24FJ128\MPLAB\BSP\bsp_a.s:93: Error: Invalid mnemonic: 'os' C:\Micrium\Software\EvalBoards\Microchip\PIC24FJ128\MPLAB\BSP\bsp_a.s:108: Error: Invalid mnemonic: 'os' Halting build on first failure as requested. 将os_cpu_util_a.s直接用宏代替, Build 會出現: Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -c -x c "C:\Micrium\Software\EvalBoards\Microchip\PIC24FJ128\MPLAB\BSP\bsp.c" -o"C:\Micrium\Software\EVALBO~1\MICROC~1\PIC24F~2\MPLAB\OS-View\Output\bsp.o" -g -mlarge-data -mlarge-scalar -I "C:\Micrium\Software\EvalBoards\Microchip\ PIC24FJ128\MPLAB\OS-View\" -I "C:\Micrium\Software\EvalBoards\Microchip\ PIC24FJ128\MPLAB\BSP\" -I "C:\Micrium\Software\uC-CPU\" -I "C:\Micrium\Software\uC-CPU\Microchip\PIC24FJ128\" -I "C:\Micrium\Software\uCOS-II\Ports\Microchip\PIC24FJ128\" -I "c:\Micrium\Software\uCOS-II\Source\" -I "C:\Micrium\Software\uCOSView\Source\" -I "C:\Micrium\Software\uCOSView\Ports\Microchip\PIC24FJ\" pic30-coff-gcc.exe: cannot specify -o with -c or -S and multiple compilations Halting build on first failure as requested. 請問是什麼問題?
發表於: 2007/8/13 15:13
|
|||
|
Re: rtos build
|
||||
---|---|---|---|---|
版主
|
.nbss 是屬資料為 Uninitialized Data,並放置在RAM (0x800 – 0x1FFF 不同IC其 .nbss 空間會不一樣的) 的區間,其排定的優先順序為 .xbss 會最先排定位址,再來是 .nbss,.bss 最後是 .ybss
看起來程式所使用到的 RAM 已超過 .nbss 的範圍,考慮部份的RAM移到 .bss (0x800~0x2800) 看看,或換一顆較大的RAM的IC。
發表於: 2007/8/10 17:46
|
|||
|
rtos build
|
||||
---|---|---|---|---|
新會員
|
在MPLAB IDE中用C30 Build UCOSII,PORTS和APP.编译通过,但Link Error:Could not allocate section .nbss size=3720bytes attributes=bss.near
Could not allocate data memory 请教如何解决?谢谢!
發表於: 2007/8/10 16:40
|
|||
|