Hey Skimask,
I am using MicroCode Studio Compiler and WinPIC PIC Programmer.
I have just changed that statement to <code>@ DEVICE PIC12f629, INTRC_OSC_NOCLKOUT</code> which is what i wanted but it still does not work.
Thanks,
Jeremy
Hey Skimask,
I am using MicroCode Studio Compiler and WinPIC PIC Programmer.
I have just changed that statement to <code>@ DEVICE PIC12f629, INTRC_OSC_NOCLKOUT</code> which is what i wanted but it still does not work.
Thanks,
Jeremy
Last edited by jhorsburgh; - 3rd September 2008 at 01:02.
The program makes it to thr HIT: label and turns on the LED? correct?
Are you using hyperterminal at the PC? And it is not receiving anything or is it receiving junk.
If junk, it may be the internal OSC is not good enough.
Dave
Always wear safety glasses while programming.
Hi Dave,
The program makes it to the HIT routine and turns the LED on, it even sends a pulse out GPIO.2 but Hyperterminal doesn't receive anything. I'll try an external oscillator to see if that helps.
Thanks Guys,
Jeremy
Hi Guys,
The external oscillator has fixed the problem! Thanks a bunch guys.
Jeremy
Just a thought for you...
Since you know it works with an external oscillator and NOT with the internal one which likely needs to be calibrated...Now might be the time to learn how to calibrate it to work correctly for future uses in this arena...since you've got a working example that is...
And I don't know about the WINPIC programmer, but the PICKIT2 from Microchip has an option to get the CAL value back on these types of PICs...something else to think about...
Here is the link to an00250 from microchip, regarding how to recover the missing number:
http://ww1.microchip.com/downloads/e...tes/00250a.pdf
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Thanks guys, i didn't realise you could calibrate the internal oscillator, ill definitely have a look into it.
Jeremy
Bookmarks