用的软件是MPLAB X IDE
配置位设置成内部晶振没有问题 #pragma config OSC = IRCIO7
设置成外部晶振 #pragma config OSC = HS 调试出现问题
Programming/Verify complete
The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding. The most common causes for this failure are oscillator and/or PGC/PGD settings.
大家帮忙看看是什么问题 |