3176|1

3

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

MPLAB X编译出问题 [复制链接]

 最近帮师兄搞机器人,控制器是PIC30f6014单片机,在机器人的官网上下载了个例程,但是编译的时候总是出错,我以前没有用过MPLAB X,不知道这是什么问题,源程序在附件里,求大神指导!
../../../e-puck/src/Epfl/e_init_uart1.s: Assembler messages:
../../../e-puck/src/Epfl/e_init_uart1.s:16: Error: can't open e_epuck_ports.inc for reading
../../../e-puck/src/Epfl/e_init_uart1.s:32: Error: Invalid operands specified ('bclr U1STA,#URXISEL1').
../../../e-puck/src/Epfl/e_init_uart1.s:32:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:33: Error: Invalid operands specified ('bclr U1STA,#URXISEL0').
../../../e-puck/src/Epfl/e_init_uart1.s:33:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:35: Error: Invalid operands specified ('bclr IFS0,#U1RXIF').
../../../e-puck/src/Epfl/e_init_uart1.s:35:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:36: Error: Invalid operands specified ('bset IEC0,#U1RXIE').
../../../e-puck/src/Epfl/e_init_uart1.s:36:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:37: Error: Invalid operands specified ('bset U1MODE,#UARTEN').
../../../e-puck/src/Epfl/e_init_uart1.s:37:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:41: Error: Invalid operands specified ('bclr IFS0,#U1TXIF').
../../../e-puck/src/Epfl/e_init_uart1.s:41:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:42: Error: Invalid operands specified ('bset IEC0,#U1TXIE').
../../../e-puck/src/Epfl/e_init_uart1.s:42:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:54: Error: Invalid operands specified ('bset U1STA,#UTXISEL').
../../../e-puck/src/Epfl/e_init_uart1.s:54:        Check operand #2. Operand must be between 0 and 15, inclusive.
../../../e-puck/src/Epfl/e_init_uart1.s:55: Error: Invalid operands specified ('bset U1STA,#UTXEN').
../../../e-puck/src/Epfl/e_init_uart1.s:55:        Check operand #2. Operand must be between 0 and 15, inclusive.

e-puck.rar

631.8 KB, 下载次数: 2

点赞 关注
 
 

回复
举报

3

帖子

0

TA的资源

一粒金砂(初级)

沙发
 
有人知道吗,求助啊
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/6 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表