Microchip
直播中

吕品

7年用户 154经验值
私信 关注
[问答]

PICKIT 3访问编程的PIC12F683时出现问题

我最近购买了一个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)

陈晨

2019-3-25 08:33:52
目标设备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.
举报

王焕树

2019-3-25 08:47:24
尼尔的电话拼写检查可能损坏了这一点。他的意思是:这意味着皮卡不能与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.
 
举报

刘辉

2019-3-25 08:52:43
电压在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.
 
举报

李涛

2019-3-25 09:05:24
有错误的皮卡。你试过在按下电源按钮时按下按钮吗?

以上来自于百度翻译


      以下为原文

    Faulty pickit.
 
Have you tried holding the button down when powering it up.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分