Have you set up the oscillator and other configuration options such as
> WDT correctly? he config settings and available options vary between
> models.
>
> If that doesn't help, have you looked at the assembly code it
> generates?
i've added: #pragma DATA _CONFIG, _WDT_OFF & _HS_OSC to no avail.
also, my .asm looks good:
main ; { main ; function begin BSF STATUS, RP0 CLRF gbl_ansel CLRF gbl_trisc MOVLW 0xFF BCF STATUS, RP0 MOVWF gbl_portc label268438880 GOTO label268438880 ; } main function end
i'm digging in to what other config settings there may be, and doublechecking the compiler output further