default config line is...
We don't see any config fuse setting here, so this would make some sense...Code:device pic16F690, intrc_osc_noclkout, wdt_on, mclr_on, protect_off
default config line is...
We don't see any config fuse setting here, so this would make some sense...Code:device pic16F690, intrc_osc_noclkout, wdt_on, mclr_on, protect_off
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
This is my config line
Code:__config _XT_OSC & _WDT_ON & _MCLRE_ON & _CP_OFF
Rob
Success!!
Okay, same setup. Same code. This time compiling was done with the melabs compiler (instead of mpasm) and downloaded with a pickit2 (instead of an ICD2). I'm going to investigate this more and post my findings.
Rob
I was setting them in the 16F690.INC file in the PicBasic Pro (PBP) folder. That's the right spot, correct?
Rob
Here's the exact include I was using with mplabs
When I switched to melabs, I modified the top one. I'm guessing that the pickit / icd2 wasn't the problem but maybe a difference in the compiler. What do you think?Code:NOLIST ifdef PM_USED LIST include 'M16F6xx.INC' ; PM header device pic16F690, intrc_osc_noclkout, wdt_on, mclr_on, protect_off XALL NOLIST else LIST LIST p = 16F690, r = dec, w = -302 INCLUDE "P16F690.INC" ; MPASM Header ;* __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_ON & _CP_OFF __config _XT_OSC & _WDT_ON & _MCLRE_ON & _CP_OFF NOLIST endif LIST
Rob
Bookmarks