完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我有一个问题,一个PIC12F629芯片的第二次。安装:MPLAB X版本4.15与MPLAB ICD3模块。我编译我的代码,并能够对芯片编程第一次。我对源代码做了一些修改,重新编译并尝试对芯片进行第二次编程,但失败了。我尝试了几种不同的芯片,结果也一样。我在ICD3上使用大部分默认设置来进行编程。我唯一改变的是切换芯片与ICD3之间的电源和外部电源,而编程没有任何区别。有什么建议可能是问题或在哪里看?谢谢你,Michael Schappert
以上来自于百度翻译 以下为原文 I am having a problem programming a PIC12F629 chip for a second time. Setup: MPLAB X version 4.15 with an MPLAB ICD3 module. I compile my code and was able to program the chip the first time. I made some changes to the source code, recompiled and tried to program the chip a second time and it fails. I have tried a few different chips with the same results. I am using most of the default settings on the ICD3 for programming. The only thing I changed was to switch between powering the chip with the ICD3 and having external power while programming with no difference. Any suggestions on what could be the problem or where to look? Thank you. Michael Schappert |
|
相关推荐
3个回答
|
|
在某些情况下,在一些PICS中,如果MCLR pin被禁用并且内部振荡器被选中,您可能会遇到类似的问题:这是您的情况吗?
以上来自于百度翻译 以下为原文 In some cases, in some PICs, you could face a similar problem if MCLR pin is disabled and Internal Oscillator is selected: is this your case? |
|
|
|
如果是这样的话,你必须回去从ICD3供电PIC,并找到选项来选择“VPP之前VDD”模式。
以上来自于百度翻译 以下为原文 If that's the case, you will have to go back to powering the PIC from the ICD3, and find the option to select "VPP before VDD" mode. |
|
|
|
DarioG:是的,我确实有MCLR引脚禁用,并选择了内部振荡器。QYB:我有一个简单的测试夹具与PIC和您的解决方案在那里工作。在实际电路板配置中,MLAB返回以下错误信息:无法连接到目标设备。无法获得设备IDI认为ICD3不能提供足够的电源到PCB。谢谢您的回答和建议。我会尝试一些东西,看看我是否可以让PIC来编程。
以上来自于百度翻译 以下为原文 DarioG: Yes, I do have the MCLR pin disabled and have selected the Internal Oscillator. qyb: I have a simple test jig with just the PIC and your solution works there. In the real circuit board configuration MLAB comes back with the following error message: Unable to connect to the target device. Failed to get Device ID I think the ICD3 can not supply enough power to the PCB. Thank you both for your answers and suggestions. I will try a few things to see if I can get the PIC to program. |
|
|
|
只有小组成员才能发言,加入小组>>
5170 浏览 9 评论
2001 浏览 8 评论
1931 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3176 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2228 浏览 5 评论
736浏览 1评论
619浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
507浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
633浏览 0评论
530浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 12:09 , Processed in 1.247293 second(s), Total 79, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号