PK3Err0040

PK3Err0040 The target device is not ready for debugging. Please check your 
configuration bit settings and program the device before proceeding.(目标器件
未准备好调试。请检查配置位设置并编程该器件,然后继续。)

在配置位正确的前提下,晶振脱焊也会出现这个问题。重新连一下就好了。

原文地址:https://www.cnblogs.com/GBRgbr/p/3583287.html