zoukankan      html  css  js  c++  java
  • Could not acquire hardware tool communications resources: ICD3PlatformTool SN#

    问题:

    win7环境下,使用MaplabX IDE 1.70,某一天象平常一样打算用ICD 3将代码加载到开发板中进行调试,意外碰到如下错误:

    Launching
    Could not acquire hardware tool communications resources: ICD3PlatformTool SN#JIT110837830
    The debugger could not be started.  Terminating debug session.
    User program finished
    其中,JIT110837830是ICD 3的型号。
    前提,已经使用ICD 3在同样的目标板上加载程序做过调试了。

    解决办法:

    1. 通过管理器卸载ICD 3的驱动,并重新让MaplabX 1.70自己安装驱动,做完之后,问题依旧存在。

    2. 重新插拔USB连接线,确保目标板中无短路等异常现象,重试,问题依旧存在。

    3. 使用ICD3的ICD 3 test interface module检测ICD3是否出问题了,发现一切功能正常。

    4. 使用uninstall 6.2.0将MaplabX 1.70卸载,一定要卸载干净。卸载ICD3的驱动。从Microchip网站看到有MaplabX 1.80可下载,下载MaplabX 1.80。

    5. 重启PC,安装MaplabX 1.80,安装完毕打开原来工作的工程文件;插好ICD3的USB线,系统自动安装驱动;再次Debug -> Debug Project,看到问题依然存在。

    6. 无奈之下,换用手头的PicKit 3,发现可以顺利加载调试代码。

    7. 将PicKit 3换回ICD 3,再次加载调试代码,这次,出现如下提示信息:

    Connecting to MPLAB ICD 3...
    Firmware Suite Version.....01.28.57
    Firmware type..............PIC18FJ
    
    
    Downloading Firmware...
    Downloading bootloader
    Bootloader download complete
    Programming download...
    Downloading RS...
    RS download complete
    Programming download...
    Downloading AP...
    AP download complete
    Programming download...
    Firmware Suite Version.....01.28.72
    Firmware type..............PIC18FJ
    
    Target detected
    Device ID Revision = 1
    有一个重新发现和更新ICD3 firmware的过程,终于可以成功加载调试代码了。


    至此,问题解决。




  • 相关阅读:
    Qt 无边框窗体改变大小 完美实现
    深入Windows窗体原理及控件重绘技巧
    EF里Guid类型数据的自增长、时间戳和复杂类型的用法
    Entity Framework中的Identity map和Unit of Work模式
    使用SQLite数据库和Access数据库的一些经验总结
    实现Avl平衡树
    使用Ajax
    接口和类 反射的差异性
    Guacamole 介绍
    依赖注入(DI)和Ninject
  • 原文地址:https://www.cnblogs.com/java20130726/p/3218477.html
Copyright © 2011-2022 走看看