Microchip
直播中

张亮

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

ICD3是否要求目标上电以从MPLAB v8.56连接?

我正在做一些遗留的东西备份和运行。我有MPLAB V856,我在十年中几乎没有使用过。在程序员/选择程序员菜单下,我有一个灰色的选项“MPLAB ICD 3”。同时,我在WI10设备管理器中插入我的旧ICD3,我看到了一个新的根级条目“Microchip工具”,它附带了“Microchip WiUSB设备”。但是,“MPLAB ICD 3”程序员选项仍然是灰色的。对于MPLAB V856启用这个程序员选项?请注意,我发现的所有文档都是关于MPLAB X.的,我确实找到了一个关于微芯片目标板的页面,并且*暗示了这种情况。但我不确定。我唯一的目标是旧的遗留硬件,有一个旧的遗留头到RJ11适配器,我必须在过去建立不同的变体。我不知道我需要哪种变型,或者是内部断裂。太多的不确定性!我的意图是从一个WiXP ValuBox VM运行,在那里我有高科技PICC-18C编译器运行。我相信会有更多的困难。感谢您的建议,谢谢,赫尔穆特

以上来自于百度翻译


      以下为原文

    I'm working on getting some legacy stuff back up and running.  I have MPLAB v8.56 that I've hardly used in a decade.
  • Under the Programmer / Select Programmer menu, I have a grayed out option "MPLAB ICD 3".
  • Meanwhile, I plug my old ICD3 in and in the Win10 Device Manager I see a new root level entry "Microchip Tools" with subordinate entry "Microchip WinUSB Device".
However, the "MPLAB ICD 3" programmer option remains gray.
QUESTIONS:
  • Is it the case that I must have a powered up target connected in order for MPLAB v8.56 to enable this programmer options?  Note that all the doc I find is about MPLAB X.  I do find a page about the little Microchip target board and that *implies* this case.  But I'm uncertain.  My only target is old legacy hardware, with an old legacy header-to-RJ11 adapter, of which I had to build different variants in the past.  I don't know which variant I need or if it's broken internally.  Too many uncertainties!
  • My intent will be to run from a WinXP VirtualBox VM, where I have HI-TECH PICC-18 C complier running.  I'm sure additional difficulties will arise.  Advance suggestions appreciated.
Thanks,
Helmut

回帖(12)

王雪

2018-11-21 15:33:13
如果我记得正确的话,ICD3可以为100mA的目标提供能量。除了这个,你还需要外部力量。在MPLAB 8中应该有一个选项来从ICD3上为设备供电。如果MPLAB 8没有找到您的ICD3,它可能是驱动程序的问题。您正在运行的机器是否安装了MPLAX?USB驱动程序根据使用的IDE不同。当您安装MPLAB XID/IPE时,它带有一个驱动器切换器,因此,如果您使用MPLAB 8或MPLAB X,则可以切换它们。确保安装了正确的驱动程序,MPLAB 8应该将其拾起。

以上来自于百度翻译


      以下为原文

    The ICD3 can power a target up to 100mA if I'm remembering correctly.  Any more than that and you will need external power.  There should be an option in MPLAB 8 to power the device from the ICD3.
 
If MPLAB 8 is not finding your ICD3, it could be a driver problem.  Does the machine you are running this on also have MPLAB X installed?  The USB drivers are different depending on the IDE being used.  When you install the MPLAB X IDE/IPE it comes with a driver switcher so they can be switched depending on if you are using MPLAB 8 or MPLAB X.  Ensure the correct driver is installed and MPLAB 8 should pick it up.
举报

吴键洪

2018-11-21 15:50:05
来自http://www. McCys.com /论坛/ M1033569.ASPX 1010912,它有一些有用的上下文信息。

以上来自于百度翻译


      以下为原文

    Comes from http://www.microchip.com/forums/m1033569.aspx#1033912
which has some useful context info.
 
举报

张丽

2018-11-21 16:03:02
回答你的前两个(重述)问题:Q1:ICD3是否需要目标功率在ICD3可以由MPLAB 8 IDE选择之前?A1:不,为什么ICD3不能从MPLAB 8 IDE.Q2中选择:可能需要什么其他的东西,这样我才能验证我的开发工具和环境是可靠的吗?A2:您可能需要安装MPLAB V892和MPLABX V4.05安装在真实硬件上的Windows 7。在A1上扩展:在安装MPLAB V853时,您可能没有选择对ICD3的支持。要修复这一点,您需要在自定义或修复模式下再次运行安装程序,并添加ICD3支持。我不记得如何点击这个点击为V853.3另一个可能出现的问题,如果你上次使用你的ICD3与MPLABX。当你做这个固件来支持MPLABX版本的USB设备驱动程序被编程到ICD3。您可能需要强制MPLAB V853重新加载所有的ICD3固件。Windows安装在ICD3上的驱动程序可能是错误的。使用设备管理器使用…中的文件更新ICD3驱动程序。MPLAIDIDICD3驱动程序文件夹。如果在WindowsVM中使用WindowsXP 64位,这些问题会变得更加复杂。并不是所有的MPLAB 8 Vrimes都有稳定的64位USB设备驱动程序。如果你还有一个PICTIT2,这可能是VM最快的工作方式。下一个选择将是一个PICTIT3,但是PICTIT3在使用MPLABX和MPLAB 8时也会有类似的问题。旧的软件和USB设备在一个新的OS和硬件环境下运行是一个挑战。

以上来自于百度翻译


      以下为原文

    The answers for your first two (restated) questions:
Q1: Does the ICD3 require the target power to be on before the ICD3 can be selected by the MPLAB 8 IDE?
A1: No. There are other reasons why the ICD3 cannot be selected from the MPLAB 8 IDE.
 
Q2: What other things may be needed so I can validate my development tools and environment are reliable?
A2: You may need a Windows 7 installation on real hardware with MPLAB v8.92 and MPLABX v4.05 installed.
 
To expand on my A1:
It is possible that when you installed MPLAB v8.53 you did not select support for the ICD3. To fix this you would need to run the installer again in custom or repair mode and add ICD3 support. I do not remember how to do this click by click for V8.53.
 
Another possible issue can occur if you last used your ICD3 with MPLABX. When you do this firmware to support the MPLABX version of USB device driver is programmed in to the ICD3. You may need to force MPLAB v8.53 to reload all of the ICD3 firmware.
 
Also the driver that Windows installed for the ICD3 may be the wrong one. Use the Device Manager to update the ICD3 driver using the files in the ... MPLAB IDEICD3Drivers folder.
 
These issues can become even more convoluted if you are using WindowsXP 64-bit in your VM. Not all of the MPLAB 8 verisons had stable 64-bit drivers for USB devices.
 
If you still have a PICkit2 that may be the fastest way to get your VM working. Next choice would be a PICkit3, but the PICkit3 can have similar problems when used with both MPLABX and MPLAB 8.
 
Getting old software and USB devices to run right on a new OS and hardware environment is always a challenge.
举报

吴键洪

2018-11-21 16:08:04
同意所有丹点。只需扩展其中两个。如果你必须使用MPLAB 8,获得版本8.92,这是“最新的和最伟大的”。同意。它不会是驱动程序的问题(因为两者都使用内置的Windows HID驱动程序),但是用MPLABX加载固件的PK3将与MPLAB8不兼容。如果MPLAB8已与MPLABX一起使用,则必须强制MPLAB8更新所有PK3固件。

以上来自于百度翻译


      以下为原文

    Agree with all Dan points.
Just expanding on a couple of them.

If you must use MPLAB 8, get version 8.92, which was the "latest and greatest".
 

Agree. It won't be a driver issue (as both use the built in Windows HID driver),
but a PK3 loaded with firmware by MPLABX will be incompatible with MPLAB8. You have to force MPLAB8 to update all the PK3 firmware if it has been used with MPLABX.
举报

更多回帖

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