<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>

新聞中心

EEPW首頁(yè) > 嵌入式系統 > 設計應用 > MSP430單片機查錯

MSP430單片機查錯

作者: 時(shí)間:2016-11-13 來(lái)源:網(wǎng)絡(luò ) 收藏
1、設置IAR軟件Tab鍵縮進(jìn)字符個(gè)數

方法:Tools-Options-Editor-Tab Size,按習慣改后面數字.

本文引用地址:http://dyxdggzs.com/article/201611/316495.htm

2、Error[e46]: Undefined external "LcdInit" referred in main( E:MSP430

UDPDebugObjmain.r43 )

原因:工程中有多個(gè).c文件,但不在工程中.

解決:把.c文件加到工程里。

3、Error[e27]: Entry "ReadingData" in module DS1302 ( E:MSP430

ModuleDS1302DebugObjDS1302.r43 ) redefined in module main

原因:我把定義的數組unsigned char ReadingData[7];放在.h的文件中編譯出現

這樣的錯誤

解決:把unsigned char ReadingData[7];放在.c文件中

4、An error has occured.See the log file C...workspace_v5_1.metadata.log

解決:安裝目錄CCS5.1CCS5.1.1.00031_win32baserepo下的vcredist_x86_2005

5、Error[Pe127]: expected a statement E:MSP430ModuleTFTSD.c 95

Error[Pe018]: expected a ")" E:MSP430ModuleTFTSD.c 132

解決:仔細檢查下程序,看有沒(méi)有一些語(yǔ)法上的錯誤。比如:

#define SPI_DO_H P1OUT |= BIT0; //P1.0

#define SPI_DO_L P1OUT &= ~BIT0;

多加的“;”就會(huì )使程序出現上述錯誤。

6、The target setup(MSP430G2xx3) does not match the actual target tpe

(MSP430G2xx2)

解決:檢查目標板上芯片型與CCS工程設置芯片型是否一致。大部分是匹配不一致的

問(wèn)題。

7、Warning[Pa093]:implicit conversion from floating point to integer。

解決:使用強制轉換語(yǔ)句,把float數據轉化成integer類(lèi)型數據。這樣防止數據出錯。



關(guān)鍵詞: MSP430單片機查

評論


技術(shù)專(zhuān)區

關(guān)閉
国产精品自在自线亚洲|国产精品无圣光一区二区|国产日产欧洲无码视频|久久久一本精品99久久K精品66|欧美人与动牲交片免费播放
<dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><small id="yhprb"></small><dfn id="yhprb"></dfn><small id="yhprb"><delect id="yhprb"></delect></small><small id="yhprb"></small><small id="yhprb"></small> <delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"></dfn><dfn id="yhprb"></dfn><s id="yhprb"><noframes id="yhprb"><small id="yhprb"><dfn id="yhprb"></dfn></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><small id="yhprb"></small><dfn id="yhprb"><delect id="yhprb"></delect></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn> <small id="yhprb"></small><delect id="yhprb"><strike id="yhprb"></strike></delect><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn><dfn id="yhprb"><s id="yhprb"><strike id="yhprb"></strike></s></dfn><dfn id="yhprb"><s id="yhprb"></s></dfn>