Perhaps this is what happened to me? My program did not run (apparently) but maybe it was running several hundred times slower than it should have and appeared "hung" (just like I said in my article). I shall test it and update, hopefully over the Easter break.Senacharim wrote:Every PIC I've ever worked with has within it an internal ~31kHz oscillator which it defaults to. This is the same one the internal Timer registers are clocked from by default. In the event of external osc failure, it also defaults to this.
You can test this--write a program which toggles the on/off of an LED every, say, 1 millisecond. Then, ground out the external oscillator (I use thru-hole, so touching the pins with one's finger does it for me...) and watch the blink speed of the LED slow way down, but not actually stop.
Mmm, maybe not then. As I said, this is for the beginner (like me). I don't understand the difference or the names - yet. I think I'll leave this out unless it is particularly pertinent to clocking the chip. But it's given me something else to look up!Perhaps one should also note the difference between Big Endian and Little Endian bit arrangements... or not. Not sure for a beginner article.
Many, many thanks for looking at the article and your feedback. I feel I have learned a lot over the last few weeks, not least from the excellent support I've received from forum members.
I've just ordered some Tap-28 development PCBs for my next project (all the way from the States, so things are progressing).