打印

显示目标器件未准备好调试。请在继续进行之前检查你的配置位设置然后编程器件

[复制链接]
3415|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
atchboy|  楼主 | 2018-2-11 14:21 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
目标器件未准备好调试。请在继续进行之前检查你的配置位设置然后编程器件。配置位应该没有问题啊。
#pragma config FOSC = INTOSC    // Oscillator Selection (INTOSC oscillator: I/O function on CLKIN pin)
#pragma config WDTE = OFF       // Watchdog Timer Enable (WDT disabled)
#pragma config PWRTE = OFF      // Power-up Timer Enable (PWRT disabled)
#pragma config MCLRE = ON       // MCLR Pin Function Select (MCLR/VPP pin function is MCLR)
#pragma config CP = OFF         // Flash Program Memory Code Protection (Program memory code protection is disabled)
#pragma config CPD = OFF        // Data Memory Code Protection (Data memory code protection is disabled)
#pragma config BOREN = OFF      // Brown-out Reset Enable (Brown-out Reset disabled)
#pragma config CLKOUTEN = OFF   // Clock Out Enable (CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin)
#pragma config IESO = OFF       // Internal/External Switchover (Internal/External Switchover mode is disabled)
#pragma config FCMEN = OFF       // Fail-Safe Clock Monitor Enable (Fail-Safe Clock Monitor is enabled)

// CONFIG2
#pragma config WRT = OFF        // Flash Memory Self-Write Protection (Write protection off)
#pragma config PLLEN = OFF      // PLL Enable (4x PLL disabled)
#pragma config STVREN = ON      // Stack Overflow/Underflow Reset Enable (Stack Overflow or Underflow will cause a Reset)
#pragma config BORV = LO        // Brown-out Reset Voltage Selection (Brown-out Reset Voltage (Vbor), low trip point selected.)
#pragma config LVP = OFF        // Low-Voltage Programming Enable (High-voltage on MCLR/VPP must be used for programming)

相关帖子

沙发
645106160| | 2018-7-2 23:49 | 只看该作者
楼主。你的问题找到了么?

使用特权

评论回复
板凳
cawyai23| | 2019-7-23 10:24 | 只看该作者
645106160 发表于 2018-7-2 23:49
楼主。你的问题找到了么?

层主,你问题解决了吗?

使用特权

评论回复
地板
cawyai23| | 2019-7-23 10:24 | 只看该作者
楼主你的问题怎么解决的?求指教,我也遇到了,没法单步调试

使用特权

评论回复
5
天边的紫贝壳| | 2022-2-28 14:20 | 只看该作者
楼主,以上问题你解决了吗

使用特权

评论回复
6
1564564| | 2024-2-28 15:41 | 只看该作者
同求一手

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

16

主题

55

帖子

0

粉丝