共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网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
vscode+cmake搭建雅特力AT32L021开发环境被打赏30分 | |
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 |