首页 > 解决方案 > MPLAB X:无法启动编程器:无法获取硬件工具通信资源

问题描述

我正在尝试使用带有 PIC16F15325 的 pickit3 进行一些项目。我正在关注本教程。一切都已完成,所有步骤都已执行,并且在运行整个应用程序时,我收到一个错误,即我的 PICKIT 的程序员无法启动;错误:

make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/user1/MPLABXProjects/SmartApplikation.X'
make  -f nbproject/Makefile-default.mk dist/default/production/SmartApplikation.X.production.hex
make[2]: Entering directory 'C:/Users/user1/MPLABXProjects/SmartApplikation.X'
"C:\Program Files\Microchip\xc8\v2.32\bin\xc8-cc.exe"  -mcpu=16F15325 -c   -mdfp="C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/PIC16F1xxxx_DFP/1.5.133/xc8"  -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default  -msummary=-psect,-class,+mem,-hex,-file  -ginhx032 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall   -std=c99 -gdwarf-3 -mstack=compiled:auto:auto     -o build/default/production/main.p1 main.c 
"C:\Program Files\Microchip\xc8\v2.32\bin\xc8-cc.exe"  -mcpu=16F15325 -Wl,-Map=dist/default/production/SmartApplikation.X.production.map  -DXPRJ_default=default  -Wl,--defsym=__MPLAB_BUILD=1   -mdfp="C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/PIC16F1xxxx_DFP/1.5.133/xc8"  -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file  -ginhx032 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -std=c99 -gdwarf-3 -mstack=compiled:auto:auto      -Wl,--memorysummary,dist/default/production/memoryfile.xml -o dist/default/production/SmartApplikation.X.production.elf  build/default/production/mcc_generated_files/device_config.p1 build/default/production/main.p1 build/default/production/mcc_generated_files/eusart1.p1 build/default/production/mcc_generated_files/mcc.p1 build/default/production/mcc_generated_files/pin_manager.p1     
mcc_generated_files/eusart1.c:94:: warning: (520) function "_EUSART1_is_tx_ready" is never called
mcc_generated_files/eusart1.c:99:: warning: (520) function "_EUSART1_is_rx_ready" is never called
mcc_generated_files/eusart1.c:104:: warning: (520) function "_EUSART1_is_tx_done" is never called
mcc_generated_files/eusart1.c:109:: warning: (520) function "_EUSART1_get_last_status" is never called
mcc_generated_files/eusart1.c:132:: warning: (520) function "_EUSART1_Write" is never called
mcc_generated_files/pin_manager.c:110:: warning: (520) function "_PIN_MANAGER_IOC" is never called

Memory Summary:
    Program space        used   140h (   320) of  2000h words   (  3.9%)
    Data space           used     Eh (    14) of   400h bytes   (  1.4%)
    EEPROM space         None available
    Configuration bits   used     5h (     5) of     5h words   (100.0%)
    ID Location space    used     0h (     0) of     4h bytes   (  0.0%)

make[2]: Leaving directory 'C:/Users/user1/MPLABXProjects/SmartApplikation.X'
make[1]: Leaving directory 'C:/Users/user1/MPLABXProjects/SmartApplikation.X'

BUILD SUCCESSFUL (total time: 1s)
Loading code from C:/Users/user1/MPLABXProjects/SmartApplikation.X/dist/default/production/SmartApplikation.X.production.hex...
Program loaded with pack,PIC16F1xxxx_DFP,1.5.133,Microchip
Loading completed
Connecting to programmer...
The programmer could not be started: Could not acquire hardware tool communications resources: PICkit3PlatformTool SN#<sn>BUR181121091

我的 PICKIT3 上的 LED 正在闪烁,但在我开始运行程序后,除了“状态”之外的所有指示灯都在闪烁。这意味着什么?

我是否遗漏了什么,我是否需要下载任何东西才能让它工作(我的 PICKIT3)?

标签: picmicrochipmplab

解决方案


推荐阅读