Which Pic, please ...
Alain
Which Pic, please ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
RTDS is the answer...
Refer To Data Sheets
Last edited by SOMRU; - 25th February 2009 at 19:48. Reason: more
Thanks !
SOMRU
TWE/TFP/EE
Sorry, 16F819
I've been over the datasheets time and time again and cannot figure this out.
Thanks
That's a big red flag there. Are you 100% sure you're even programming it?It even runs if I set it for external oscillator
If you set config options for an external crystal or resonator, program the part,
and it's still running, you really do have a problem.
Post all your code & let us know which programmer you're using. That would really
help.
This is all I have, at this point I was just trying to get the thing to do something in this case the leds on the different ports do switch on and off.
@ Device PWRT_OFF
@ Device MCLR_OFF
@ Device INTRC_OSC
@ Device BOR = 0
@ Device Debug_Off
OSCCON = %01110000
OPTION_REG = %11111111
TRISB = %00101010
loop:
TRISB = %00101010
Pause 1
PortB = 1
TRISB = %11010101
Pause 1
PortB = 1
TRISB = %00101010
Pause 1
goto loop
End
Indeed there's a problem, the above don't set the proper config fuses.
Try
That line you hadCode:@ device pic16f819, INTRC_OSC_NOCLKOUT @ device pic16f819, WDT_OFF @ device pic16f819, PWRT_ON @ device pic16f819, MCLR_OFF @ device pic16f819, BOD_ON @ device pic16f819, LVP_OFF @ device pic16f819, DEBUG_OFF
screw everything upCode:@ Device BOR = 0![]()
Last edited by mister_e; - 25th February 2009 at 21:40.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
You might want DEFINE OSC 8 in there too if you're running at 8MHz VS the default 4MHz.
Well Steve, that seems to have done it Thank You!!! I'm not sure I quite understand it all but I can work it out I'm sure.
Thanks again.
Bookmarks