Absolutely the same. Does it compiles for you?
Absolutely the same. Does it compiles for you?
This is what I tested.
Changed the config to internal though..
Compiles fine.
Code:#CONFIG __CONFIG _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L __CONFIG _CONFIG1H, _FOSC_INTOSC_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 DEFINE OSC 8 ADCON1 = %00001111 CMCON = 7 OSCCON = %01110000 TRISB = %00000000 START: LATB.2 = 1 PAUSE 250 LATB.2 = 0 PAUSE 250 GOTO START
Dave
Always wear safety glasses while programming.
Strange, gives the same error here, might I need to install update or something similar?
This is the best I can find that sorta refers to your problem
http://support.melabs.com/threads/54...config-length?
but I do not think it applies.
Maybe try re-installing PBP3? Maybe it became corrupt ?
Dave
Always wear safety glasses while programming.
Removed PBP, removed mplab and all associated apps, downloaded fresh copy of PBP, installed, still same error.
Tried to follow this method:
http://melabs.com/support/mplab.htm
This time I get: Whitelist: Processor 18F2550 disabled in this version of PBP.
To obtain additional device support, visit melabs.com.*
Edition is student edition and 18F2550 is definitely included.
Restarted the PC, and now compile trough MPLAB works fine, but it is not handy to do so.
Figured out. Access restriction rules were causing the problems. Disabled UAC and it now works just fine!
Bookmarks