完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
所有的操作系统:操作系统: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个回答
|
|
|
要么目标没有动力,要么通信链路是错误的或坏的。目标(板)曾经工作过吗?您使用的是哪种编程/调试工具?自检是否正确执行?
以上来自于百度翻译 以下为原文 Either the target is unpowered or the communications link is wrong or broken.
|
|
|
|
|
|
您好,如果您使用了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 |
|
|
|
|
|
你好,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 |
|
|
|
|
|
您好,我想说的是:使用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 |
|
|
|
|
|
我不确定为什么Mysil把MPLAB带到这个线程中,但是你使用的MPLABX和PICTIT3的组合应该是好的。这个问题确实属于“程序员”子论坛,在那里你会发现大量非常相似的(ACTURLY,相同的)问题。请确认在与PICTIT3的连接上没有外部连接。也请看PICTIT3用户指南。苏珊
以上来自于百度翻译 以下为原文 I'm not sure why Mysil brought MPLAB into this thread but the combination of the MPLABx and PicKit3 that you are using should be fine. This question really belongs in the "Programmers" sub-forum where you will find a large number of very similar (actaully, the same) questions. Check the wiring and check that there are no extraneous connections on the connections to the PicKit3. Also look at the PicKit3 User Guide. Susan |
|
|
|
|
|
您好DU000 00 00 01,要么目标没有动力,要么通信链路是错的或坏的。目标(板)曾经工作过吗?——不,目标板从不工作。我改变了MCU 3EA和重新布线了很多次,但仍然没有工作。我的皮卡3的布线完全遵循皮卡3程序员/调试器用户指南页20 /图2-4。电路板工作不好。你使用的是哪种编程/调试工具?自检是否正确执行?--/gt;编程/调试工具是PIDIT 3。PICIT 3的自检是否执行?真诚地,罗伯特
以上来自于百度翻译 以下为原文 Hello du00000001, Either the target is unpowered or the communications link is wrong or broken.
Sincerely, Robert |
|
|
|
|
|
好吧,也许你应该提供你的原理图。尤其是当板子从来没有工作过的时候…至少你现在看起来有VDD。我必须承认:不确定在PICTIT3i上的自我测试的可用性,经常使用“裸”PIC16FXXX——只有VDD和VSS之间的电容器,PIC从PICTIT3供电。没有适当的振荡器工作,这个极简的设置不会与你的控制器一起工作。从检查振荡器是否工作开始,这可能是个好主意。希望你有一个示波器…
以上来自于百度翻译 以下为原文 OK - maybe you should provide your schematics. Especially when the board never worked ... At least you seem to have VDD now. I have to admit: not sure about the availability of the self test on the PICkit3 I'm often using a "naked" PIC16Fxxx - only a capacitor between VDD and VSS, the PIC powered from a PICkit3. As your (antique) PIC16877A doesn't work without a proper oscillator, this minimalist setup won't work with your controller. OTOH it might be a good idea to start with checking whether the oscillator is working. Hope you've got an oscilloscope ... |
|
|
|
|
|
你不需要一个振荡器来读取设备ID,或者去编程。只有当你运行或调试你的代码时,你才需要它来振荡…
以上来自于百度翻译 以下为原文 You don't need an oscillator to read the device ID, or to program. Only when you come to run, or debug your code, do you need it to oscillate... |
|
|
|
|
|
QBHB:什么是最低的先决条件?除了适当的供应和适当的连接到PICkit(/MCLR,PGD,PGC)?还有别的吗?
以上来自于百度翻译 以下为原文 @ qhb What are the minimum prerequisites - beyond proper supply and proper connection to PICkit (/MCLR, PGD, PGC) ? Anything else? |
|
|
|
|
|
对于PIC16F87A,还有一个“陷阱”。RB3/PGM引脚必须被拉低。如果它是浮动的,有时程序员会工作,有时它会。也,它不需要说,但是电源必须连接到两对VSS/VDD引脚。
以上来自于百度翻译 以下为原文 There is one more "gotcha" for a PIC16F877A. The RB3/PGM pin must be pulled low. If it is floating, sometimes the programmer will work, and sometimes it won't. Also, it shouldn't need saying, but power must be connected to BOTH pairs of Vss/Vdd pins. |
|
|
|
|
|
您好DU000 00 01和Q B,为了澄清根本原因,我发现了一个LED电路尝试作为攻击文件。无论我如何尝试,仍然没有工作。错误消息是“目标设备ID(0x0)是无效的设备ID。请检查您的连接到目标设备。”RB3/PGM(引脚36)-GT;连接GND2。删除/更改一个新的OSCIN,我发现了两个奇怪的问题:作为用户指南项目2.4.3说“推荐的电源是外部的,并且来自目标应用程序。”a.连接的外部电源(5V)和电源关闭,错误消息ARE1。在VDD上绘制了太多的电流。请断开您的电路,检查CLK和数据线的短路,然后重新连接。2。目标设备ID(0x0)是无效的设备ID。请检查您的连接到目标设备。b.连接外部电源(5V)和POWER ON,错误消息ARE1。目标电路可能需要比调试工具所能提供的更多的功率。可能需要外部电源。连接失败。2。目标设备ID(0x0)是无效的设备ID。请检查您与目标设备的连接。真诚地,罗伯特。
以上来自于百度翻译 以下为原文 Hello du00000001 & qɥb, To clarified root causes, I found a LED circuit to try as attched file. No matter how I tried, still didn't work. Error message is "Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device." Floowing are my test item: 1. RB3/PGM(Pin 36)-->Connect GND 2. Remove/change a new OSC In addition, I found two strange questions: As user guide Item 2.4.3 said "The recommended source of power is external and derived from the target application." A.Connected external power(5V) and power off it, error message are 1. Too much current has been drawn on VDD. Please disconnect your circuit, check the CLK and DATA lines for shorts and then reconnect. 2. Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device. B.Connected external power(5V) and power on it, error message are 1. The target circuit may require more power than the debug tool can provide. An external power supply might be necessary. Connection Failed. 2. Target Device ID (0x0) is an Invalid Device ID. Please check your connections to the Target Device. Sincerely, Robert Attached Image(s) |
|
|
|
|
|
这个示意图显示了一个连接MCLR到VPP的电线。你把它忘了吗?(你必须)。如果你的程序员正在显示“太多的电流绘制在VDD上”,那么它必须被设置为PIC提供电源。如果你正在提供外部电源,关闭它。如果你这样做,那么它应该报告“连接”一旦你申请权力的PIC,然后尝试阅读ID.。
以上来自于百度翻译 以下为原文 That schematic shows a wire connecting MCLR to VPP. Did you leave that out (you must). If your programmer is displaying "Too much current drawn on VDD", then it must have been set to supply power to the PIC. Turn that OFF if you are supplying external power. If you do, then it should report "connected" as soon as you apply power to the PIC, then try to read the ID. |
|
|
|
|
|
您好,Q-B,谢谢您及时回复。该示意图显示了连接MCLR到VPP的电线。你把它忘了吗?——我把MCLR连接到VDD。你说:“你必须把它忘了吗?”MCR的意思是不能连接VDD。“必须为PIC提供电源”——以及如何为PIC提供电源。真诚地,罗伯特。
以上来自于百度翻译 以下为原文 Hello qɥb, Thanks for promptly replying. That schematic shows a wire connecting MCLR to VPP. Did you leave that out (you must). -->I connected MCLR to VDD. You said"Did you leave that out (you must).". Is mean to MCLR can't connect VDD. "must have been set to supply power to the PIC" -->How does set supply power to the PIC. Sincerely, Robert |
|
|
|
|
|
对。您不能将MCLR连接到VDD。程序员必须能够将VDD引脚升至13V,以将芯片放入编程模式。它有效地缩短了10K电阻。它在MPLABX的PACKIT3设置中的某个地方。您需要关闭该设置,因此PK3不试图为电路供电。
以上来自于百度翻译 以下为原文 Yes. You must NOT connect MCLR to VDD. The programmer must be able to lift the VDD pin to 13V to put the chip into programming mode. That wire will prevent this from happening. It is effectively shorting out the 10k resistor. It's somewhere in the PICkit3 settings in MPLABX. You need to turn that setting OFF, so the PK3 does NOT try to power the circuit. |
|
|
|
|
|
你好,Q,B,哦,我的上帝。它起作用了。我真的很想说“非常感谢你100次”,真诚地,罗伯特。
以上来自于百度翻译 以下为原文 Hello qɥb, Oh, My God. It works. I,m really really want to say "Thank you very much*100 times." Sincerely, Robert |
|
|
|
|
|
你好,Q.B,它在MPLABX中的PACKIT3设置中的某个地方。真诚地,罗伯特
以上来自于百度翻译 以下为原文 Hello qɥb, It's somewhere in the PICkit3 settings in MPLABX. -->Is captured image as attached file? Sincerely, Robert Attached Image(s) |
|
|
|
|
|
|
|
|
|
|
|
我发现,你可以把PIC电压设置为4.75左右,这将经常允许它连接到目标并为它供电,当目标的电源断开。大约7805个类型的调节器将汲取电流,如果施加5V到它的输出。
以上来自于百度翻译 以下为原文 I have found that you can set the PIC voltage to 4.75 or so and this will often allow connecting it to the target and powering it, when the target's power is disconnected. Some 7805 type regulators will draw current if 5V is applied to its output. |
|
|
|
|
|
你好QB,Pi2和3的PICTIT3需要连接VDD和GND的目标板吗?真诚地,罗伯特
以上来自于百度翻译 以下为原文 Hello qɥb, Are the PICKIT3 of Pin2 & 3 need to connect Target Board of VDD and GND? Sincerely, Robert |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
501 浏览 0 评论
5808 浏览 9 评论
2350 浏览 8 评论
2237 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3543 浏览 3 评论
1155浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1119浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
887浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
501浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-12 04:39 , Processed in 1.209891 second(s), Total 78, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
5890