打印

PIC单片机kit3在线烧写问题

[复制链接]
1068|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
file:///C:/Users/10315/AppData/Roaming/Tencent/Users/1031584922/QQ/WinTemp/RichOle/X~9LIKSP%60D%7B812JS89AOE~9.png MPLAB X IDE 4.1 搭配C8编译器;硬件芯片pic16f1787
新手操作,不知道以下图片显示内容是否烧写成功?

程序是液晶显示,液晶屏只是亮屏了而已没有任何显示,想知道是程序问题还是烧录、下载程序不成功?
请大师们求教!!!!!!!!

配置位设置如下:
#include <XC.h>
// CONFIG1
#pragma config FOSC = XT        // Oscillator Selection (XT Oscillator, Crystal/resonator connected between OSC1 and OSC2 pins)
#pragma config WDTE = OFF       // Watchdog Timer Enable (WDT enabled)
#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 = ON       // Brown-out Reset Enable (Brown-out Reset enabled)
#pragma config CLKOUTEN = OFF   // Clock Out Enable (CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin)
#pragma config IESO = ON        // Internal/External Switchover (Internal/External Switchover mode is enabled)
#pragma config FCMEN = ON       // 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 VCAPEN = OFF     // Voltage Regulator Capacitor Enable bit (Vcap functionality is disabled on RA6.)
#pragma config PLLEN = ON       // PLL Enable (4x PLL enabled)
#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 LPBOR = OFF      // Low Power Brown-Out Reset Enable Bit (Low power brown-out is disabled)
#pragma config LVP = ON   

X~9LIKSP`D{812JS89AOE~9.png (27.89 KB )

X~9LIKSP`D{812JS89AOE~9.png

111.png (27.89 KB )

111.png
沙发
Cjy_JDxy| | 2018-3-8 13:18 | 只看该作者
应该是编程成功了。如果还不放心,板子上有指示灯吗?烧一个指示灯的程序一看就知道。

使用特权

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

本版积分规则

49

主题

112

帖子

0

粉丝