完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
刚开始使用汇编中的12F1822,当使用Mplab IDE中包含的模板文件编译一个简单的程序时,它编译OK时没有错误,但是得到警告。单词太大。截断到核心大小。(C9E4)消息[303 ] C:diPyMRPPICTMADSObjistPurtL12F1822TEM.ASM 52:程序字太大。截断到核心大小。(DCFF)消息[303 ] C:diPyMRPPICTMADSObjistPurtL12F1822TEM.ASM 120:程序字太大。截断到核心大小。(C9E4)消息[303 ] C:diPyMRPPICTMADSObjistPurtL12F1822TEM.ASM 120:程序字太大。截断到核心大小。(DCFF参考这些CON附图_CONFIG1,_FOSC_INTOSC&CONFIG1,_FOSC_INTOSC&;_WDTE_OF&WDTE_OF&WDTE_OFF&_WDTE_OFF&WWDTE_OFF&WWWDTE_OFF&;_PWRTE_OFF&;_PWRTE_PWRTE_OFF&PWRTE_OFF&PWRTE_OFF&PWRTE_OFF&;_PWRTE_OFF&;_PWLRE;_OFF&;_MCLRE;_开&;_CP CP CP CP CPD_OF,_WRT_OFF&_PLLEN_OFF&_STVREN_OFF&_BORV_19&am在用户指南中找不到它。有没有简单的答案为什么?亚历克
以上来自于百度翻译 以下为原文 Just started using the 12F1822 in Assembly and when compiling a simple program using the template file that is included with Mplab IDE it compiles OK with zero errors but get the warning Also using sample files off the web. Message[303] C:DIYPGMRPPICTEMPLATEOBJECTTEMPL12F1822TEMP.ASM 51 : Program word too large. Truncated to core size. (C9E4) Message[303] C:DIYPGMRPPICTEMPLATEOBJECTTEMPL12F1822TEMP.ASM 52 : Program word too large. Truncated to core size. (DCFF) Message[303] C:DIYPGMRPPICTEMPLATEOBJECTTEMPL12F1822TEMP.ASM 120 : Program word too large. Truncated to core size. (C9E4) Message[303] C:DIYPGMRPPICTEMPLATEOBJECTTEMPL12F1822TEMP.ASM 120 : Program word too large. Truncated to core size. (DCFF Reference to these CONFIG words __CONFIG _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_OFF & _MCLRE_ON & _CP_OFF & _CPD_OFF & _BOREN_OFF & _CLKOUTEN_OFF & _IESO_OFF & _FCMEN_OFF __CONFIG _CONFIG2, _WRT_OFF & _PLLEN_OFF & _STVREN_OFF & _BORV_19 & _LVP_OFF Couldn't find it in the User Guide. Is there a simple answer why? Alec |
|
相关推荐
3个回答
|
|
是的,我打算和QHB一样发布。我只是希望它已经解决了,同时…
以上来自于百度翻译 以下为原文 Yeah I was going to post the same as QHB. I just hoped that it had been solved meanwhile... |
|
|
|
不,它只是将未使用的位(14和15)设置为零。
以上来自于百度翻译 以下为原文 No, it's simply setting the unused bits (14 & 15) to zero. |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5362 浏览 9 评论
2093 浏览 8 评论
1992 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3274 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2305 浏览 5 评论
870浏览 1评论
758浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
699浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
750浏览 0评论
644浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-24 14:07 , Processed in 1.437715 second(s), Total 48, Slave 43 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191