完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
大家好。我对MPLAB-X还不是很有经验,也不知道如何处理我现在的问题。我正在开发一个使用16F1782的项目。我正在用适当的仿真头AC244064进行调试,它上面有一个pic16f1789-me芯片。我的代码是用汇编程序编写的,并且我使用绝对模式——在项目属性页上勾选适当的复选框。我看到两个问题——希望是相关的。第一个问题是虽然标头看起来正确编程,但代码永远不会超过程序内存中的CaldBooT位置。在暂停模拟器之后,我得到以下消息:“运行时发生错误。(两行)我注意到的另一件事是在屏幕左边的仪表板面板中,Program Memory显示为使用的641个单词(2048个单词中)。但是,数据存储器被显示为使用0字节(256字节)。我不知道如何解决这个问题。很可能是我的一个错误-我希望有人能给我指导。非常感谢!德维恩
以上来自于百度翻译 以下为原文 Good day to all. I'm not yet very experienced with MPLAB-X and don't know how to deal with the problem that I am currently having. I'm developing with a project that uses the 16F1782. I'm debugging with the appropriate emulation header - AC244064, which has a pic16f1789-me chip on board. My code is written in assembler and I am using absolute mode - the appropriate check box is ticked on the project properties page. I see two problems - hopefully related. The first problem is that although the header appears to program correctly, the code never gets past the ColdBoot location in program memory. Upon halting the emulator, I get the following message: "An Error occurred while running. Failed to read emulation memory." (on two lines) The other thing that I noticed is that in the Dashboard panel on the left side of the screen, Program Memory is shown as 641 words used (out of 2048 words). However, Data memory is shown as 0 bytes used (out of 256 bytes). I'm not sure how to troubleshoot this. Most likely an error on my part - I'm hoping that someone can give me guidance. Many thanks! dwayne |
|
相关推荐
2个回答
|
|
|
嗨,你能确认一下你使用的硬件:*Real-Ice*AC244064仿真头*你的应用板NB:没有应用板,仿真头不能工作……提示:你创建项目时是否在项目属性中选择了仿真头。必须选择仿真头(您可以在项目属性中检查)。
以上来自于百度翻译 以下为原文 Hi, Can you confirm the hardware you use : * Real-Ice * AC244064 emulation header * your application board NB : the emulation header cannot operate without application board... Hint : did you select the emulation header in the project properties when you created the project. It is mandatory to select the emulation header (you can check this in the project properties). Regards |
|
|
|
|
|
注意,这个问题是去年被问到的,而且OP从那时起就没有登录过…
以上来自于百度翻译 以下为原文 Note, this question was asked last year, and the OP has not logged back in since then... |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
508 浏览 0 评论
5813 浏览 9 评论
2351 浏览 8 评论
2238 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3545 浏览 3 评论
1161浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1122浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
890浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
508浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-15 04:06 , Processed in 1.082702 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
416