人家编译好的程序,下载显示正常
到我的keil这里编译,生成的hex文件,下载运行就不正常了
我用的是Keil uVision2,STC单片,我把ddb2改了对应单片机型号没错
而且会出现五十多个警告
如下
1 *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
2 *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: GET_AD_RESULT
MODULE: .\main.obj (MAIN)
3 *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: _BYTE_READ
MODULE: .\main.obj (MAIN)
ADDRESS: 0D32H
4 *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: _SECTOR_ERASE
MODULE: .\UART.obj (UART)
5 *** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: _SECTOR_ERASE
MODULE: .\UART.obj (UART)
ADDRESS: 00FEH
怎么回事呢???? |