internal oscillator 16f819 (by Olivier)
I am working with a 16f819 chip, my program works if i use an external oscillator. If i use an internal one (changed config bits for internal one) it doesnt work, i have set 8mhz speed.
Do i need to add osccon parameter or it defaults to 8mhz.
I dissasemble the hex file and don't see any osccon parameter
i did test the hex file into IDE pic simulator and it does work
(no subject) (by Olivier)
ok if i put 31.25khz speed in LDmicro it does work , but i need faster clock, i had to put 150 ms cycle time which is way too long
(no subject) (by Olivier)
hi here is the hex file from ldmicro with 8mhz (just a simple blinking light for test
)
(no subject) (by Olivier)
i finally did it, i had to dissamble hex, add this coding into asm file
BCF STATUS,RP1
MOVLW 0x70
MOVWF OSCCON
then recompile it to hex and it now works!