DirtyLude
Well-Known Member
What's up with this? Latest MPLAB X with HI-TECH picc. Just trying for a blinky program and I receive a mangled error message for my config bits setup.
That's the error message I get with blanks and everything. There should be something telling me what the error actually is, but nothing. I stole this config from some other program, and I stepped through the settings against the datasheet and didn't find anything that stands out to me, but this is my first time with this.
I'll post everything if needed, but I think that's the relevant code.
EDIT: Actually that's the latest settings. I tried flipping some of the settings like LVP and BOREN with no luck. Same issue.
EDIT AGAIN: Fixed title with correct PIC.
EDIT AGAIN: Well, that only corrected the internal title, the thread heading in the forum is still wrong. Oh Well.
Code:
The requested operation cannot continue with the following configuration bit setting(s):
Please fix the setting(s) and try the operation again.
Failed to program device
That's the error message I get with blanks and everything. There should be something telling me what the error actually is, but nothing. I stole this config from some other program, and I stepped through the settings against the datasheet and didn't find anything that stands out to me, but this is my first time with this.
Code:
#define _XTAL_FREQ 32000000
#include <stdio.h>
#include <stdlib.h>
#include <htc.h>
__CONFIG(FOSC_INTOSC & WDTE_OFF & PWRTE_OFF & MCLRE_ON & CP_OFF & CPD_OFF & BOREN_OFF & CLKOUTEN_OFF & IESO_OFF & FCMEN_OFF);
__CONFIG(WRT_OFF & PLLEN_OFF & STVREN_ON & BORV_25 & LVP_OFF);
__IDLOC(0000);
I'll post everything if needed, but I think that's the relevant code.
EDIT: Actually that's the latest settings. I tried flipping some of the settings like LVP and BOREN with no luck. Same issue.
EDIT AGAIN: Fixed title with correct PIC.
EDIT AGAIN: Well, that only corrected the internal title, the thread heading in the forum is still wrong. Oh Well.
Last edited: