完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我最近购买了一个PICKIT 3,因为我的ICD2不再被支持。我正试图从PIC12F63读取信息,并且没有得到响应。然后我了解到PIC12F63被编程并设置了保护位。我期待看到芯片的反应,而不是读取数据。我还希望能够擦除它并重新编程它。错误消息是/IS:目标设备ID(00000000)与预期DeVice ID(00000000)不匹配。1)这是正常的吗?2)有没有方法可以让我擦除并重新编程?关于设置:该设备运行在5V和VPP/RESET,时钟,和数据引脚都不使用的内部程序。一个建议的68K上拉是在VPP线。时钟和数据是打开的。我注意到,皮卡3在VPP/RESET线路上输出5V,在时钟和数据线上输出2.5伏。PIC13F63是内部程序运行的好芯片。数据分析器显示皮卡3正在发送有效的数据命令和时钟,并且PIC12F是NO。没有反应。我在空白板上设置了第二个程序芯片,结果相同。我已经尝试过MPLAB IDV892、MPLAB X IDE V3.60和PICIT 3程序员(beta版本)V0.2.0.2的建议。谢谢,比尔
以上来自于百度翻译 以下为原文 I recently purchased a PICKkit 3 because my ICD2 is no longer supported. I was attempting to read the information from a PIC12F683, and got no response. I then learned that the PIC12F683 was programmed and has its protect bits set. I was expecting to see the chip respond without being to read the data on it. I also expected to be able to erase it and reprogram it. The error message was/is: Target Device ID (00000000) does not match expected Device ID (00000000). 1) Is this normal? 2) Is there a way around it such that I can erase and reprogram it? About the setup: The device is operating at 5V and the VPP/reset, clock, & data pins are all unused by the internal program. A recommended 6.8K pull-up is on the VPP line. Clock and data are open. I noticed that the PICKit 3 is outputting 5V on the VPP/reset line and 2.5 volts on the clock and Data lines. The PIC13F683 is a good chip as the internal program runs. A data analyzer shows that the PICKit 3 is sending valid data commands and clocks, and that the pic12F is not responding. I set up a second programmed chip on a blank board with the same results. I have tried MPLAB IDE V8.92, MPLAB X IDE V3.60, and the pickit 3 programmer (Beta Release) V0.2.0.2 Any suggestions? Thanks, Bill |
|
相关推荐
14个回答
|
|
目标设备ID(00000000)与预期DeVice ID(00000000)不匹配。这意味着PICKIT可以与PIC进行对话。假设它与ICD2一起工作。
以上来自于百度翻译 以下为原文 Target Device ID (00000000) does not match expected Device ID (00000000). That means the PICKit can do talk to the PIC. It is mis-connected, or is not powered. Assuming that it works with the ICD2. |
|
|
|
尼尔的电话拼写检查可能损坏了这一点。他的意思是:这意味着皮卡不能与PIC通话。程序是否禁用MCLR引脚,并将GPIO0和GPIO1设置为输出?这会导致程序员出现问题。VPP引脚在不活跃编程时将在5V空闲。当它试图读取PIC的ID时,它应该短暂地切换到12V。2.5V用万用表读取将指示波形在0V和5V之间快速切换。您是从PK3供电PIC的吗?如果你这么做,它会有更多的控制。
以上来自于百度翻译 以下为原文 Neil's phone spell check probably corrupted this. He meant: That means the PICKit can not talk to the PIC. Does the program disable the MCLR pin, and set GPIO0 and GPIO1 as outputs? That can cause problems for the programmer. The VPP pin will idle at 5V when not actively programming. It should briefly switch up to 12V when it tries to read the PIC's ID. 2.5V read with a multimeter would indicate a waveform rapidly switching between 0V and 5V. Are you powering the PIC from the PK3? It has more control if you do. |
|
|
|
电压在100MHz的示波器上观察到10MOHM探针。加载和平均不是问题。从源代码:O.CONFIG,OSKONGONKLKOUT和OWWTDY ON McLeRyon on and CpYOFF OXEXCONTROTISIO=0,所有的引脚都是输出的,MCLRE是OK的。拾取器3是3.3伏器件,PIC12F工作在5V。
以上来自于百度翻译 以下为原文 The voltages are viewed on a 100MHz oscilloscope with 10MOhm probes. Loading and averaging is not the issue. From the source code: #CONFIG __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF #ENDCONFIG TRISIO = 0 ===== Apparently all of the pins are output, and MCLRE is ok. The PICKit 3 is a 3.3 volt device and the pic12F is operating at 5V. |
|
|
|
有错误的皮卡。你试过在按下电源按钮时按下按钮吗?
以上来自于百度翻译 以下为原文 Faulty pickit. Have you tried holding the button down when powering it up. |
|
|
|
不,不是。谁告诉你的?PK3使用它在ICSP连接器的VDD引脚上看到的任何电压,它与PK3内部的PIC24电压运行无关,所有外部信号都经过电压转换缓冲器。如果PK3为电路板供电,则没有回答。
以上来自于百度翻译 以下为原文 No it's not. Who told you that? The PK3 uses whatever voltage it sees on the Vdd pin of the ICSP connector. It's irrelevant what voltage the PIC24 inside the PK3 is running at, all the external signals go through voltage translating buffers. You didn't answer if the PK3 is powering the board. |
|
|
|
我试着用两种方式来供电。最初使用外部电源的PCB与5伏。我尝试使用5伏特和3.3伏特的编程电源使用PigiTy3编程软件。我用示波器验证了来自程序员的VDD电压的存在。我可以看到VDD上升到设定电压,然后看到时钟和数据线信号变得活跃。时钟和数据电压在2.5伏,芯片没有响应。我目前使用的是PikITY3可执行文件,因为它允许我最大的灵活性,并且我可以容易地触发多个读。比尔。
以上来自于百度翻译 以下为原文 I have tried powering it both ways. initially using external power to the PCB with 5 Volts. I tried using programmer power of 5 Volts and 3.3 volts using the PICKIT_3 programming software. I verified the presence of VDD voltage from the programmer with an oscilloscope. I could see the VDD rise to the set voltage and then saw the clock and data line signals become active. The clock and data voltages were at 2.5 volts and the chip did not respond. I am currently using the pickit_3 executable because it allows me the most flexibility and I can trigger multiple reads easily. Bill |
|
|
|
这听起来更像是PK3中的一个错误。引脚不应该坐在2.5V。你是否尝试迫使固件重新加载,如GOT2015在POST 5中描述的?否则有一个自我测试程序AtTtp://www. MicroPC.COM/CISAR/HOM.ASPX,这可能会导致微芯片发送给你一个新的PK3。
以上来自于百度翻译 以下为原文 It's sounding more like a fault in the PK3. The pins shouldn't sit at 2.5V. Did you try forcing a firmware reload, as described by Gort2015 in post#5 ? Otherwise there's a self-test procedure at http://www.microchip.com/cisar/Home.aspx which may result in Microchip sending you a new PK3. |
|
|
|
如果它期望设备ID 0,那么工具和/或软件就偏离了轨道。你尝试过不同的软件程序。他们都期待0吗?
以上来自于百度翻译 以下为原文 If it expects device id 0, something is off the rails with the tool and/or software. You tried different software programs. Do they all expect 0? |
|
|
|
我错过了。这是非常奇怪的,如果它是正确的。
以上来自于百度翻译 以下为原文 I missed that. That is very odd if it is correct. |
|
|
|
使用什么版本的MPLAB X?制作一个MPLAB X项目,选择正确的设备类型。从MPLAB X项目属性启动PACIT 3的手动固件更新。固件套件版本是什么?迈西尔
以上来自于百度翻译 以下为原文 What version of MPLAB X is beeing used? Make a MPLAB X project with the correct device type selected. Initiate a manual Firmware update of the PICkit 3 from MPLAB X Project Properties. What is the Firmware Suite Version? Mysil |
|
|
|
更多的测试。软件:PACIIT 3程序员(beta版本)1)VDD是外部= 5VDC(在程序上读取5.13)目标电源箱未检查。2)VPP在读取请求3上从零到5V干净地切换数据,时钟干净地从0到2.3V切换,有效地址集、增量和读R。PIC12F63:PIN 1 VDDPIN 4 VPP具有3.8K拉UpPin 6时钟,没有其他连接引脚7数据,没有其他连接引脚8 GNDPIN 2, 3,和5仅用作输出。读请求用“没有设备检测”响应。固件套件1.25.5注:图像来自逻辑分析仪,信号电平。不是电压,它们是1和零点,如分析器所看到的。
以上来自于百度翻译 以下为原文 A little more testing. Software: PICkit 3 Programmer (beta release) 1) Vdd is external = 5VDC (reads 5.13 on the program) Target power box unchecked. 2) VPP cleanly toggles from zero to 5V on a read request 3) data and clock cleanly toggle from zero to 2.3V with valid address set, increment, and read request. The pic12F683: Pin 1 Vdd Pin 4 VPP with 6.8K pull-up Pin 6 clock no other connection Pin 7 data no other connection Pin 8 Gnd Pins 2, 3, & 5 are used as outputs only. A read request responds with a "No device detected". firmware suite 1.26.5 note : images are from a logic analyzer, signal levels are not voltages, they are 1's and zeros as seen by the analyzer. Bill Attached Image(s) |
|
|
|
根据编程规范,必须应用VPP才能进入编程模式,从而可以读取设备。您只看到+5V应用到VPP引脚。
以上来自于百度翻译 以下为原文 According to the programming spec, Vpp must be applied in order to enter programming mode so that the device can be read. You are only seeing +5V applied to Vpp pin. |
|
|
|
谢谢你的线索。程序员没有产生VPP= 12VoT。我拔掉它,然后按住魔术按钮并把它插回。它经过一个序列,用活动的LED快速闪烁。然后拔掉它,然后再次运行编程软件。直到我检查为止,这没什么用。复选框上的“目标力量”。然后所有的人都痊愈了。谢谢你们所有人的帮助。我讨厌这些宗教经历,我担心我的舌头不好。再次感谢比尔。
以上来自于百度翻译 以下为原文 Thanks for the clues. The programmer was not producing the VPP = 12Volts. I unplugged it, then pressed and held the magic button and plugged it back in. It went through a sequence ending with the active LED blinking fast. Then unplugged it and in again then ran the programming software. This did nothing good until I checked the "target Power" ON check box. Then all healed. Thanks, all of you, for your help. I hate these religious experiences, where I live in fear of not holding my tongue just right. Thanks again, Bill |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5153 浏览 9 评论
1994 浏览 8 评论
1924 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3167 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2221 浏览 5 评论
717浏览 1评论
604浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
489浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
618浏览 0评论
516浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-16 16:30 , Processed in 1.900745 second(s), Total 105, Slave 88 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号