程式 debug 時 發生如下問題, 請問哪為高手可以幫忙一下 謝謝
|
||||
---|---|---|---|---|
新會員
|
----------------------------------------------------------------------
Debug build of project `C:\software\jack\fs01\chen_01.mcp' started. Preprocessor symbol `__DEBUG' is defined. Target debug platform is `__MPLAB_DEBUGGER_ICD2=1'. Debug platform options are: `__ICD2RAM=1'. Tue Sep 30 09:09:09 2008 ---------------------------------------------------------------------- Clean: Deleting intermediary and output files. Clean: Deleted file "C:\software\jack\I2C Master\I2CSubs.o". Clean: Deleted file "C:\software\jack\fs01\fs01.o". Clean: Deleted file "C:\software\jack\fs01\chen_01.mcs". Clean: Done. Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F6010A -x c -c "I2CSubs.c" -o"I2CSubs.o" -I"C:\Program Files\Microchip\MPLAB C30\support\h" -D__DEBUG -g Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F6010A -x c -c "fs01.c" -o"fs01.o" -I"C:\Program Files\Microchip\MPLAB C30\support\h" -D__DEBUG -g fs01.c: In function '_T3Interrupt': fs01.c:80: warning: PSV model not specified for '_T3Interrupt'; assuming 'auto_psv' this may affect latency fs01.c: In function '_IC8Interrupt': fs01.c:92: warning: PSV model not specified for '_IC8Interrupt'; assuming 'auto_psv' this may affect latency Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F6010A "..\I2C Master\I2CSubs.o" "fs01.o" "C:\Program Files\Microchip\MPLAB C30\lib\dsPIC30F\libp30F6010A-coff.a" -o"chen_01.cof" -Wl,-L"C:\Program Files\Microchip\MPLAB C30\lib",--script="..\..\..\Program Files\Microchip\MPLAB C30\support\dsPIC30F\gld\p30f6010A.gld",--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__MPLAB_DEBUGGER_ICD2=1,--defsym=__ICD2RAM=1,-Map="chen_01.map",--report-mem,--cref Program Memory Usage section address length (PC units) length (bytes) (dec) ------- ------- ----------------- -------------------- .reset 0 0x4 0x6 (6) .ivt 0x4 0x7c 0xba (186) .aivt 0x84 0x7c 0xba (186) .text 0x100 0x226 0x339 (825) .text 0x326 0x5cc 0x8b2 (2226) .dinit 0x8f2 0x26 0x39 (57) .isr 0x918 0x2 0x3 (3) Total program memory used (bytes): 0xda1 (3489) 2% Data Memory Usage section address alignment gaps total length (dec) ------- ------- -------------- ------------------- .icd 0x800 0x50 0x50 (80) .nbss 0x850 0 0x7c (124) .ndata 0x8cc 0 0x24 (36) Total data memory used (bytes): 0xf0 (240) 2% Dynamic Memory Usage region address maximum length (dec) ------ ------- --------------------- heap 0 0 (0) stack 0x8f0 0x1eb0 (7856) Maximum dynamic memory (bytes): 0x1eb0 (7856) fs01.o(.text+0xbc): In function `main': C:\software\jack\fs01\fs01.c:115: undefined reference to `init_ADC' fs01.o(.text+0xbe):C:\software\jack\fs01\fs01.c:116: undefined reference to `initimer3' fs01.o(.text+0xc2):C:\software\jack\fs01\fs01.c:118: undefined reference to `init_OC5' fs01.o(.text+0xc4):C:\software\jack\fs01\fs01.c:119: undefined reference to `init_OC6' fs01.o(.text+0xf0):C:\software\jack\fs01\fs01.c:132: undefined reference to `Btt_vol' fs01.o(.text+0xf2):C:\software\jack\fs01\fs01.c:133: undefined reference to `fs_chang' Link step failed. ---------------------------------------------------------------------- Debug build of project `C:\software\jack\fs01\chen_01.mcp' failed. Preprocessor symbol `__DEBUG' is defined. Target debug platform is `__MPLAB_DEBUGGER_ICD2=1'. Debug platform options are: `__ICD2RAM=1'. Tue Sep 30 09:09:13 2008 ---------------------------------------------------------------------- BUILD FAILED Attach file: Link only for registered users
發表於: 2008/9/30 9:15
|
|||
|