Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4745

Bloody F886

$
0
0
I am having a devil of a time getting the config working on a F886.
PBP 2.60 & MPASM

@ __config _CONFIG1, _HS_OSC & _WDT_OFF & _MCLRE_OFF & _LVP_OFF & _CP_OFF
@ __config _CONFIG2, _WRT_OFF

That is my entire program ATM

When I Compile I get

overwriting previous address contents (2007)

If I REM out second line only, same thing
If I REM out first line only, compiles OK

So I figure there is something wrong in config1 stuff. These 2 lines were directly coppied from elsewhere in this forum and pasted.
WTF is going on here.

I'm getting too damn old for this crap.

BTW is there anywhere I can see what the individual config bits actually mean. I have seen the bottom of the .INC file, that names the words contents but not the bit positions.

Would be great to see something like
CONFIG1.0 IS WDT 1=ON 0=OFF
CONFIG1.2 IS MCLRE 1=ON 0=OFF

or whatever they are.

Time for an OUZO and COKE I think. (or 2 or 3)

Thank you in advance as always.

Viewing all articles
Browse latest Browse all 4745

Trending Articles