關(guān)于KEIL加載LIB文件的問題。

我使用的是AT89C51單片機(jī),使用KEIL軟件,按照置頂?shù)姆椒虞d了CH375HF4.LIB文件,如圖,第一個(gè)編譯當(dāng)前文件時(shí),0錯(cuò)0警告,第二個(gè)build target時(shí),就不行了,如下。。

2uooy28.jpg

Build target 'Target 1' compiling CH375HFT.C... linking... *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375FILEMODIFY?CH375MAI *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?CH375BYTEREAD?CH375BYT *** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: IDATA SEGMENT: ?ID?CH375HFT LENGTH: 0024H *** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: MCMDPARAM SEGMENT: ?ID?CH375HFT *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 0826H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 0832H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 0836H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 084BH *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 0902H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 26F0H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 20C0H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 20E6H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 211BH *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 2150H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 2155H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 2164H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 2169H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 247CH *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 24A1H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 24C1H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 24C8H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 24DDH *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375MAI) ADDRESS: 24E8H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375BYT) ADDRESS: 29FBH *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375BYT) ADDRESS: 2A2DH *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375BYT) ADDRESS: 1D47H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375BYT) ADDRESS: 1DF8H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375BYT) ADDRESS: 1DFBH *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375BYT) ADDRESS: 19F5H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375BYT) ADDRESS: 1A03H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375BYT) ADDRESS: 1B00H *** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: MCMDPARAM MODULE: .\CH375HF4.LIB (CH375BYT) ADDRESS: 1B03H Program Size: data=121.5 xdata=541 code=9409 Target not created

倒底怎么回事呀?

[Emot]27[/Emot]


參考這個(gè)例程:UploadImages/2009568182651.rar


另外AT89C51資源是不夠的,要求代碼空間不小于12K,RAM不小于700個(gè)字節(jié),必要資源必須保證.


你把編譯的單片機(jī)型號(hào)選擇成AT89C52就可以編譯了,但是要是燒到單片機(jī)里面去的話要按照3樓所說(shuō)的來(lái)選擇單片機(jī)咯.


謝謝上面三位的回答。。。。

我想問一下,能不能推薦我一個(gè)合適的而且市面上常見的51單片機(jī),謝謝啦。


51單片機(jī)最普通了,常用的很多,如NXP,ATMEL、SST等等,如SST89E54RD 具體型號(hào)可以去官網(wǎng)查詢


謝謝六樓回復(fù),我的意思是,對(duì)CH375完全合適的單片機(jī),現(xiàn)在真不知道用哪款好了。。。


選型主要考慮以下幾個(gè)方面: (1)CH375的接口:并口或串口 (2)子程序庫(kù)需要的資源:1OK以上程序空間,最少600字節(jié)的RAM 滿足上述2個(gè)條件單片機(jī)都可以


太謝謝了


只有登錄才能回復(fù),可以選擇微信賬號(hào)登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频