pic - 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)?
解决方案
推荐阅读
- javascript - 第一次迭代后while循环停止
- reactjs - 如何在反应redux中单击按钮上的复选框
- c - C用fork()编写后关闭FDT?
- php - 基于另一个表日期的表中数据的总和(成本)
- python - Python脚本无法访问存储服务器
- google-chrome - Chrome 90 在 CORS 预检中向 Angular localhost 应用添加 https
- salesforce - Salesforce B2B Commerce/Cloudcraze,如何按产品名称对产品列表搜索结果进行排名
- vercel - Vercel 旧预览部署
- php - apache php windows 优势数据库重新连接问题
- swift - 是否可以将自定义工具添加到 PKToolPicker?