[51单片机] 刚编译时遇到的问题,不知道从哪下手,请教各位了!

[复制链接]
848|10
 楼主| ty1649 发表于 2016-8-16 23:46 | 显示全部楼层 |阅读模式
程序是用的别人的,请各位帮忙分析一下这是什么原因造成的,以及我要从那入手。谢谢!!!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
wsnsyy 发表于 2016-8-17 09:06 | 显示全部楼层
改成large模式看看吧
 楼主| ty1649 发表于 2016-8-17 09:27 | 显示全部楼层
wsnsyy 发表于 2016-8-17 09:06
改成large模式看看吧

改过了的,现在还是这个情况
wsnsyy 发表于 2016-8-17 10:50 | 显示全部楼层
wsnsyy 发表于 2016-8-17 10:49
应该就是访问内存超过范围引起的吧

Description   
After evaluation of absolute fix-ups, an address is not accessible. The improper address along with the specific module name, partial segment, and segment address are displayed. The fix-up command is not processed. This error occurs when an instruction tries do make a memory access that is outside the scope of this instruction (for example MOVX @Ri outside of the PDATA page, or ACALL outside of the 2KB code memory block).  
datouyuan 发表于 2016-8-17 11:08 | 显示全部楼层
你先把timer1ser()函数注释掉看看.
 楼主| ty1649 发表于 2016-8-23 14:08 | 显示全部楼层
datouyuan 发表于 2016-8-17 11:08
你先把timer1ser()函数注释掉看看.

注释掉是可以的
 楼主| ty1649 发表于 2016-8-23 20:27 | 显示全部楼层
datouyuan 发表于 2016-8-23 16:30
问题解决了?

问题就出在这个函数上,对比别人的函数,应该很容易解决的.

还没的呀,注释掉是可以通过编译,但对整个项目来说是不行的啊!但这个中断函数是必须要有的啊!还有就是涉及到保密的问题呀!!!
heishe1989 发表于 2016-8-24 14:23 | 显示全部楼层
我也遇到过这样的问题,结果实在是不知道原因在哪里,就整个把工程重新写了,求高人出现指点
您需要登录后才可以回帖 登录 | 注册

本版积分规则

11

主题

36

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部