完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,所有,我有一个问题,使用“DEE仿真16位V3.0”库(http://www. McCux.com……仿真%20%PIC)与PIC24EP512GP204。使用“DATAEEIN()”命令来初始化第一页,它覆盖了一些程序代码区域和PIC停止工作。在“DEE仿真16位H”文件中,下面的2种配置与使用的设备有关,而对于Y-PIC24EXY则被配置为:OnsIn in 512页定义了一行指令,在第64行中尝试将这些值改为:(a)定义第1024页中的数字指令,在第128行定义编号指令,在此修改后,库开始正常工作。我现在的问题是:这些参数真的需要由用户来改变吗?如果是,我能在PIC数据表中找到正确的值吗?谢谢,尼古拉
以上来自于百度翻译 以下为原文 Hi all, I had a problem using "DEE emulation 16-bit v3.0" library (http://www.microchip.com/...Emulation%20for%20PIC) with PIC24EP512GP204. Using the "DataEEInit()" command to intialize the 1st page it overwrites some program code area and the PIC stops to work. In the "DEE Emulation 16bit.h" file ther is the following 2 configurations, related to the device that is using, and for __PIC24E__ are configured as: #define NUMBER_OF_INSTRUCTIONS_IN_PAGE 512 #define NUMBER_OF_INSTRUCTIONS_IN_ROW 64 I tried to change those value to: #define NUMBER_OF_INSTRUCTIONS_IN_PAGE 1024 #define NUMBER_OF_INSTRUCTIONS_IN_ROW 128 and after this modification the library starts to work properly!! My question now is: does those parameters really need to be changed by the user? If so, where I can find the right value in the PIC datasheet? Thanks, Nicola |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1122浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
872浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 22:50 , Processed in 0.630877 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1828