Hello,
What a silly mistake... You are wright Darrel, i'm compiling always with the ICD Compile...
Thanks for your help, it's solved.
Thanks,
Nuno
Hello,
What a silly mistake... You are wright Darrel, i'm compiling always with the ICD Compile...
Thanks for your help, it's solved.
Thanks,
Nuno
I'm trying to just compile the code below:
It gives Block overflow for #ENDCONFIG.Code:' PIC18F2550 DEFINE OSC 8 ADCON1 = %00001111 CMCON = 7 OSCCON = %01110000 TRISB = %00000000 START LATB.2 = 1 PAUSE 250 LATB.2 = 0 PAUSE 250 GOTO START
MCU is 18F2550
What might be the reason?
It does not helps. Still:
[ERROR] program files (89) : Block overflow for #ENDCONFIG
Post your whole cide and PBP version.
Dave
Always wear safety glasses while programming.
Whole code is already posted, PBP is PBP3.
Place this at the top of your cade and see what happens.
#CONFIG
__CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L
__CONFIG _CONFIG1H, _FOSC_HSPLL_HS_1H & _FCMEN_OFF_1H & _IESO_OFF_1H
__CONFIG _CONFIG2L, _PWRT_OFF_2L & _BOR_ON_2L & _BORV_3_2L & _VREGEN_ON_2L
__CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
__CONFIG _CONFIG3H, _CCP2MX_ON_3H & _PBADEN_OFF_3H & _LPT1OSC_OFF_3H & _MCLRE_ON_3H
__CONFIG _CONFIG4L, _STVREN_ON_4L & _LVP_OFF_4L & _XINST_OFF_4L
#ENDCONFIG
Dave
Always wear safety glasses while programming.
Bookmarks