Hi everyone,

I gotta some problem with blinking my PIC18F452, which the version of PBP is 2.47 and with the latest MPASM.I changed the INC file a bit ( HS_OSC )and thats all.Is the problem could be the capacitor (0.1uf) that should be placed in the ICSP programmer(I use EPIC) which is near the header or some other thing.Below is the code :

(BACK TO BASIC)

Define OSC 16

TRISA = %00000000
TRISB = %00000000
TRISC = %00000000
TRISD = %00000000
TRISE = %00000000



Led_1 var PORTB.0
Led_2 var PORTB.1


low Led_1
low led_2



start:


high led_1
pause 500
low led_1


goto start


and the INC file:

;************************************************* ***************
;* 18F452.INC *
;* *
;* By : Leonard Zerman, Jeff Schmoyer *
;* Notice : Copyright (c) 2005 microEngineering Labs, Inc. *
;* All Rights Reserved *
;* Date : 12/16/05 *
;* Version : 2.47 *
;* Notes : *
;************************************************* ***************
NOLIST
ifdef PM_USED
LIST
"Error: PM does not support this device. Use MPASM."
NOLIST
else
LIST
LIST p = 18F452, r = dec, w = -311, w = -230, f = inhx32
INCLUDE "P18F452.INC" ; MPASM Header
__CONFIG _CONFIG1H, _OSCS_OFF_1H & _HS_OSC_1H
__CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_128_2H
__CONFIG _CONFIG4L, _LVP_OFF_4L
NOLIST
endif
LIST
EEPROM_START EQU 0F00000h
BLOCK_SIZE EQU 8
.................................................. .................................................. ....

So what could be the problem?.....