Microchip
直播中

毛玲燕

8年用户 219经验值
私信 关注
[问答]

目标设备ID(0x0)是无效的设备ID

所有的操作系统:操作系统:Wi10MCU:PIC16F877 AcPLAB X IDE V4.05CIPIT3版本:V3.10XC8版本:V1.45 i尝试了许多从Web上创建的解决方案,但仍然无法解决“目标设备ID(0x0)是无效设备ID的问题。请检查您与目标设备的连接。”谁知道原因是什么,请告诉我,这个问题使我困惑了一个星期。真诚地,罗伯特。

以上来自于百度翻译


      以下为原文

    Hi All,

OS: Win10
MCU:PIC16F877A
MPLAB X IDE v4.05
PICKIT3 Version: v3.10
XC8 Version : v1.45
I've tried many solution that I founded from web, but still can't solve the issue of "Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device.".
Who know what's reason, kindly tell me, please.
This issue confused me over 1week.

Sincerely,
Robert

回帖(19)

王璨

2018-9-26 10:04:12
要么目标没有动力,要么通信链路是错误的或坏的。目标(板)曾经工作过吗?您使用的是哪种编程/调试工具?自检是否正确执行?

以上来自于百度翻译


      以下为原文

    Either the target is unpowered or the communications link is wrong or broken.

  • Did the target (board) ever work?
  • Which programming/debugging tool are you using? Is the self-test executing properly?
举报

李铭鑫

2018-9-26 10:18:46
您好,如果您使用了PACKIT 3应用程序3.10,或者使用MPLAB 8.92,可能会发生奇怪的事情,导致设备ID(0x0)。您可以去皮卡3.10程序员应用程序,并使用“工具”恢复到MPLAB,也见PikID 3程序员应用指南,它是可用的。U’帮助菜单。或者使用MPLAB 8.92,对PICIT 3工具进行手动固件更新。在PigIt 3中总共有3个固件,MPLAB X不总是正确的。迈西尔

以上来自于百度翻译


      以下为原文

    Hi,
If you have used the PICkit 3 with
PICkit 3.10 Programmer Application, or with MPLAB 8.92,
strange things may happen, causing Device ID (0x0).
 
You may go to PICkit 3.10 Programmer Application, and use 'Tools' 'Revert to MPLAB', 
See also PICkit 3 Programmer Application User Guide, it is available thru 'Help' menu.
 
Or use MPLAB 8.92, and do a Manual Firmware Update of the PICkit 3 tool.
 
There are a total of 3 firmware pieces in PICkit 3, and MPLAB X doesn't always get it right.
 
   Mysil
举报

刘翔宇

2018-9-26 10:27:06
你好,MysIL,谢谢你的回复。“工具”-gt;“回复MPLAB”不能选择,因为它是灰色的而不是黑色的。我能做什么?你提到的“MPLAB X并不总是正确的”,所以你建议使用MPLAB 8.92而不是MPLAB X和PICIT 3。真诚的,罗伯特。

以上来自于百度翻译


      以下为原文

    Hello Mysil,
 
Thanks for replying.
 'Tools'--> 'Revert to MPLAB' can't choose, because it's gray not black. What can I do?
You mentioned "MPLAB X doesn't always get it right.", so you suggest use MPLAB 8.92 rather than MPLAB X when with PICKIT 3.
 
Sincerely,
 
Robert
 
举报

李铭鑫

2018-9-26 10:36:57
您好,我想说的是:使用MPLAB 8.92在PICIT 3上进行手动固件更新。关闭MPLAB 8.92,然后启动MPLAB X。当您在MPLAB X中编程或调试时,它将知道需要什么。希望当正确的固件到位时,MPLAB X和PICIT 3与PIC12F1822和PIC16F930、PIC16F186和PIC16F18875、PIC18F14K22、PIC18F26K22、PIC24和DSPIC33等所有PIC器件一起工作。对于PIC32 MX460、PIC32 MX795和PIC32 MZ……或者使用PIC16F87A使用MPLAB 8.92,无论如何都是老式计算。关于Mysil

以上来自于百度翻译


      以下为原文

    Hi,
What I tried to say:
Use MPLAB 8.92 to do a manual Firmware update on the PICkit 3.
Close MPLAB 8.92 and then start MPLAB X.
When you then Program or Debug in MPLAB X, it will know what is needed. Hopefully.
 
When the correct firmware get in place, then MPLAB x and PICkit 3 work with all PIC devices I have at hand,
from PIC12F1822 and PIC16F930, PIC16F886 and PIC16F18875, PIC18F14K22, PIC18F26K22,
thru PIC24 and dsPIC33... to PIC32MX460, PIC32MX795 and PIC32MZ...
 
Or use MPLAB 8.92 with PIC16F877A, it is vintage computing anyway.
 
Regards,
   Mysil
举报

更多回帖

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