winnie 发表于 2009-3-28 10:04:34

HT-PICC在MPLAB6.41中编译失败,但HEX能用。怎么回事?

结果为:
Deleting intermediary files... done.
Executing: "C:\HT-PIC\BIN\PICC.EXE" -C -E"ntcold.cce" "ntcold.c" -O"ntcold.obj" -I"c:\ht-pic\include" -Zg9 -O -Q -MPLAB -16F73
Executing: "C:\HT-PIC\BIN\PICC.EXE" -E"ntcold.lde" "E:\fugang\BAOMAIJI\ntcold.obj" -W9 -O"ntcold.cof" -O"ntcold.hex" -Q -MPLAB -16F73
Memory Usage Map:
Program ROM   $0000 - $0181$0182 (   386) words
Program ROM   $040E - $07FF$03F2 (1010) words
                           $0574 (1396) words total Program ROM
Bank 0 RAM    $0020 - $004B$002C (    44) bytes
Bank 0 RAM    $007F - $007F$0001 (   1) bytes
                           $002D (    45) bytes total Bank 0 RAM
Bank 1 RAM    $00A0 - $00A8$0009 (   9) bytes
Bank 1 RAM    $00FF - $00FF$0001 (   1) bytes
                           $000A (    10) bytes total Bank 1 RAM
Config Data   $2007 - $2007$0001 (   1) words total Config Data

Program statistics:
Total ROM used   1396 words (34.1%)
Total RAM used       55 bytes (28.6%)
BUILD FAILED: Sun Apr 18 09:58:27 2004

同样的设置在MPLAB5.72中能通过
Memory Usage Map:
Program ROM   $0000 - $0181$0182 (   386) words
Program ROM   $040E - $07FF$03F2 (1010) words
                           $0574 (1396) words total Program ROM
Bank 0 RAM    $0020 - $004B$002C (    44) bytes
Bank 0 RAM    $007F - $007F$0001 (   1) bytes
                           $002D (    45) bytes total Bank 0 RAM
Bank 1 RAM    $00A0 - $00A8$0009 (   9) bytes
Bank 1 RAM    $00FF - $00FF$0001 (   1) bytes
                           $000A (    10) bytes total Bank 1 RAM
Config Data   $2007 - $2007$0001 (   1) words total Config Data

Program statistics:
Total ROM used   1396 words (34.1%)
Total RAM used       55 bytes (28.6%)

Build completed successfully.

winnie 发表于 2009-3-28 10:19:18

实际上是编译成功了,但是mplab并没有识别出来。可能要装一下picc的补丁
页: [1]
查看完整版本: HT-PICC在MPLAB6.41中编译失败,但HEX能用。怎么回事?