在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
芯片精品文章合集(500篇!)    创芯人才网--重磅上线啦!
查看: 5807|回复: 1

[求助] 关于PICkit3在线仿真问题

[复制链接]
发表于 2012-3-19 15:11:29 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
各位高手,我的kit3能下载程序,但是不能在线调试,报错的内容:
PK3Err0040: The target device is not ready for debugging.
Please check your configuration bit settings and program
the device before proceeding.
大概内容是我的设置位错误,下面是我的设置位,请教高手我哪里设置错误,小弟感谢不尽!
#pragma config FVBUSONIO = OFF  //VBUS_ON pin is controlled by the Port Function
#pragma config FUSBIDIO = OFF   //USBID pin is controlled by the Port Function
#pragma config FETHIO = ON  // Default Ethernet IO Pins
#pragma config FMIIEN = ON  // MII enabled
#pragma config FPLLODIV = DIV_1 //PLLO Divide by 1
#pragma config UPLLEN = OFF  //USB PLL Disabled
#pragma config FPLLMUL = MUL_16 //PLL Multiply by 16
#pragma config FPLLIDIV = DIV_2 //PLLI Divide by 2  ,
#pragma config FWDTEN = OFF  //Watchdog Timer Disabled
#pragma config FCKSM = CSDCMD   //Clock Switching Disabled, Clock Monitoring Disabled
#pragma config FPBDIV = DIV_2   //PBCLK Divide by 2
#pragma config OSCIOFNC = OFF   //CLKO Disabled
#pragma config POSCMOD = HS  // HS oscillator
#pragma config IESO = OFF  //Internal External Switch Over Disabled
#pragma config FSOSCEN = OFF //Secondary oscillator Disabled
#pragma config FNOSC = PRIPLL //Primary oscillator (XT, HS, EC) w/ PLL
#pragma config CP = OFF   //Code Protect  Disabled
#pragma config BWP = OFF  //Boot Flash Write Protect  Disabled
#pragma config ICESEL = ICS_PGx1//ICE pins are shared with PGC1, PGD1
#pragma config DEBUG = OFF  //Background Debugger Disabled
发表于 2016-3-11 12:56:31 | 显示全部楼层
#pragma config DEBUG = OFF  //Background Debugger Disabled
这个选项应该打开你试试
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

关闭

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-3-29 21:54 , Processed in 0.019967 second(s), 10 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表