一个保证100%没问题的,非常简单的程序,但编译老是出现这样的错误
已经更换过不同版本的MPLAB IDE了,MPLAB IDE8.76+PICC9.60 跟MPLAB IDE8.89+PICC9.60都一样有这样的问题。
之前是可以正确编译的工程代码,现在编译也一样出现这样的问题。
网上查过也有碰到这情况的人,但还没真正找到解决办法,希望这里能有人指点一下。
错误如下:
Build K: est est for device 16F877A
Using driver C:Program FilesHI-TECH SoftwarePICCstd9.60inpicc.exe
Executing: "C:Program FilesHI-TECH SoftwarePICCstd9.60inpicc.exe" -q -g --asmlist --chip=16F877A "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s" -P --char=unsigned -C D: estmain.c
Executing: "C:Program FilesHI-TECH SoftwarePICCstd9.60inpicc.exe" -q -g --asmlist --chip=16F877A "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s" -P --char=unsigned -otest.cof -mtest.map main.obj
Memory Usage Map:
Program space:
CODE used Eh ( 14) of 2000h words ( 0.2%)
CONST used 0h ( 0) of 2000h words ( 0.0%)
ENTRY used 0h ( 0) of 2000h words ( 0.0%)
STRING used 0h ( 0) of 2000h words ( 0.0%)
Data space:
BANK0 used 2h ( 2) of 60h bytes ( 2.1%)
BANK1 used 0h ( 0) of 50h bytes ( 0.0%)
BANK2 used 0h ( 0) of 60h bytes ( 0.0%)
BANK3 used 0h ( 0) of 60h bytes ( 0.0%)
COMBANK used 0h ( 0) of 10h bytes ( 0.0%)
EEPROM space:
EEDATA used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits:
CONFIG used 0h ( 0) of 1h word ( 0.0%)
ID Location space:
IDLOC used 0h ( 0) of 4h bytes ( 0.0%)
Summary:
Program space used Eh ( 14) of 2000h words ( 0.2%)
Data space used 2h ( 2) of 170h bytes ( 0.5%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
Configuration bits used 0h ( 0) of 1h word ( 0.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
Loaded K: est est.cof.
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
具体原因不明,但升级了PICC却可用了
一周热门 更多>