Hi Joe,

First I tries to get Config O.K. so have only a small program for testing config words. Wants ALL digital. Working with a project with MAXIMS iButton chips, works perfect with 16F88.

;************************************************* ***************
;* 16F886.INC *
;* *
;* By : Leonard Zerman, Jeff Schmoyer *
;* Notice : Copyright (c) 2006 microEngineering Labs, Inc. *
;* All Rights Reserved *
;* Date : 05/26/06 *
;* Version : 2.47 *
;* Notes : *
;************************************************* ***************
NOLIST
ifdef PM_USED
LIST
include 'M16F88x.INC' ; PM header
device pic16F886, xt_osc, wdt_on, mclr_on, lvp_off, protect_off
XALL
NOLIST
else
LIST
LIST p = 16F886, r = dec, w = -302
INCLUDE "P16F886.INC" ; MPASM Header
__config _CONFIG1, _XT_OSC & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF
NOLIST
endif
LIST

Think the INC file is O.K - But can not understand why it stops working????

'@ DEVICE PIC16F886, INTOSCIO, WDT_ON,MCLR_OFF,LVP_OFF,PROTECT_OFF,BOD_OFF,CPD_OF F,IESO_OFF,FCMEN_OFF,PWRT_ON

'DEFINE OSC 8

OSCCON = %01110001 ' Internal 8 mhz Osc
ANSEL = 0 ' All Digital
ANSELH = 0
'ADCON1 = $0F
'ADCON0 = 0
TRISC = 0

RUN:
PORTC.0 = 1
pause 1000
PORTC.0 = 0
PAUSE 1000
goto RUN
END

Do you recomend to use MPASM assembler? Have now tried more than 2 weeks with this problem.
PORTA is reserved for furure use - PORTA.1 = Input
PORTB %??001111 - RB6 and RB7connected to progsocket for PicKit2.
PORTC %11100100 - RC3 = SCK - RC4 = SDA 24LC256

Would be very great ful for all help and advices

Thanks in advance

Bosse