共4条
1/1 1 跳转至页
STC,Keil STC单片机的Keil编译问题
问
在keil如果选择STC89c51,虽说有256B RAM,但如果RAM用量超过128B时,编译会出错,通不过。但是如果选择AT89S52却没有以上问题!!
希望版主可以做一个真正好用的STC89C51 Keil文件! 答 1: 跟STC没关系还是你KEIL用的不熟 答 2: 为什么只说半截话呢?我也想知道原因. 答 3: idata定义变量的时候再加一个idata 另外的128b 就可以用了 :)
如 char idata i; 答 4: 但是为什么用AT89S52却可以呢?人家也是128+128的啊 答 5: 这是选择ATC89C51RC时的编译出错信息*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?FRECREAD?MAIN
*** ERROR L107: ADDRESS SPACE OVERFLOW
SPACE: IDATA
SEGMENT: ?ID?MAIN
LENGTH: 002BH
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: ICYCLEPREV
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: ICYCLECURR
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: DISPBUFFER
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: IFREC
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: ICYCERRPREV
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: ICYCERRCURR
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: CCYCLES
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: IADCDATA
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: DISPDATA
SEGMENT: ?ID?MAIN
Program Size: data=141.2 xdata=6 code=4876
Target not created
这是选择ATC89C51RC时的编译出错信息 答 6: 这是选择AT89S52是的编译信息Build target 'Target 1'
assembling STARTUP.A51...
compiling ZLG7289.C...
compiling main.c...
compiling adc.c...
compiling SysTimer.c...
compiling PCA.c...
compiling eeprom.c...
compiling queue.c...
compiling memory.c...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?FRECREAD?MAIN
Program Size: data=141.2 xdata=6 code=4876
creating hex file from "ZLG7289"...
"ZLG7289" - 0 Error(s), 1 Warning(s). 答 7: keil中AT89S52的描述8051 based Full Static CMOS controller with Three-Level Program
Memory Lock, 32 I/O lines, 3 Timers/Counters, 8 Interrupts Sources,
Watchdog Timer, 2 DPTRs, 8K Flash Memory, 256 Bytes On-chip RAM 答 8: keil中STC89C51RC的描述Package:PLCC44,PDIP40,PQFP44
Operating TEMP:0 to +70;
Power Supply:4.5V~5.5V
Operating Frequency:0 to 80 MHz,
an 8051 compatible controller
32 I/O Lines, Dual DPTR,
ISP/IAP,X2 mode,
3 Timer/Counter,
8 Interrupts/4 priority levels,
Watchdog Timer,
512 bytes on-chip RAM,
4K Flash memory,
1K EEPROM. 答 9: squarelook:你看这是不是和keil文件有关啊 答 10: 在KEIL中哪里能找到STC89C51RC这个片子啊在KEIL中哪里能找到STC89C51RC这个片子啊?KEIL好象不直接支持STC的吧?
希望版主可以做一个真正好用的STC89C51 Keil文件! 答 1: 跟STC没关系还是你KEIL用的不熟 答 2: 为什么只说半截话呢?我也想知道原因. 答 3: idata定义变量的时候再加一个idata 另外的128b 就可以用了 :)
如 char idata i; 答 4: 但是为什么用AT89S52却可以呢?人家也是128+128的啊 答 5: 这是选择ATC89C51RC时的编译出错信息*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?FRECREAD?MAIN
*** ERROR L107: ADDRESS SPACE OVERFLOW
SPACE: IDATA
SEGMENT: ?ID?MAIN
LENGTH: 002BH
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: ICYCLEPREV
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: ICYCLECURR
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: DISPBUFFER
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: IFREC
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: ICYCERRPREV
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: ICYCERRCURR
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: CCYCLES
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: IADCDATA
SEGMENT: ?ID?MAIN
*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT
SYMBOL: DISPDATA
SEGMENT: ?ID?MAIN
Program Size: data=141.2 xdata=6 code=4876
Target not created
这是选择ATC89C51RC时的编译出错信息 答 6: 这是选择AT89S52是的编译信息Build target 'Target 1'
assembling STARTUP.A51...
compiling ZLG7289.C...
compiling main.c...
compiling adc.c...
compiling SysTimer.c...
compiling PCA.c...
compiling eeprom.c...
compiling queue.c...
compiling memory.c...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?FRECREAD?MAIN
Program Size: data=141.2 xdata=6 code=4876
creating hex file from "ZLG7289"...
"ZLG7289" - 0 Error(s), 1 Warning(s). 答 7: keil中AT89S52的描述8051 based Full Static CMOS controller with Three-Level Program
Memory Lock, 32 I/O lines, 3 Timers/Counters, 8 Interrupts Sources,
Watchdog Timer, 2 DPTRs, 8K Flash Memory, 256 Bytes On-chip RAM 答 8: keil中STC89C51RC的描述Package:PLCC44,PDIP40,PQFP44
Operating TEMP:0 to +70;
Power Supply:4.5V~5.5V
Operating Frequency:0 to 80 MHz,
an 8051 compatible controller
32 I/O Lines, Dual DPTR,
ISP/IAP,X2 mode,
3 Timer/Counter,
8 Interrupts/4 priority levels,
Watchdog Timer,
512 bytes on-chip RAM,
4K Flash memory,
1K EEPROM. 答 9: squarelook:你看这是不是和keil文件有关啊 答 10: 在KEIL中哪里能找到STC89C51RC这个片子啊在KEIL中哪里能找到STC89C51RC这个片子啊?KEIL好象不直接支持STC的吧?
共4条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 | |
【FRDM-MCXN947评测】核间通信MUTEX被打赏50分 |