[Elecraft] Re: PIC Stuff

Wayne Burdick [email protected]
Fri Nov 22 11:23:00 2002


Tim, Buffalo was a "monitor" program for the HC11, which also had an
assembler/disassembler built in. I used it a lot some 10 years ago before
switching to PICs.

Your friend's problem could be caused by any number of things--including a bad
PIC. Try turning on the on-chip brownout (low voltage) detect. Make sure the
watchdog timer is disabled. Try a crystal instead of a resonator, in case the
resonator is bad. Call the programmer's manufacturer: the unit could have a bug
when programming the F-series parts.

But usually this comes down to a problem with the program. There are lots of
ways to initialize registers incorrectly. You could also have a stack
overflow/underflow happening--this is more likely if you use assembly language
to write the code, as the compilers keep track of such things. This PIC probably
has a stack-overflow internal reset option (fuse) you can set.

A fully-loaded K2 has six to 8 PICs, all talking on the auxBus with no
difficulty, so I can say with some certainty that these things work  ;)

Wayne


"Timothy A. Raymer" wrote:
> 
> I have a friend working on a project with a PIC 16F872.  He has written a
> program that for now just clears all the registers and a few other basic
> things.  Problem is, the program won't consistently run until after hitting
> the reset a bunch of times.  After it runs, the reset button will
> consistently start the program, but it is not happy from a cold
> boot.  Resonator comes up, but CPU is not happy.
> 
> Back when I was Microcontrollering with the Motorolla 68HC11, we had a
> program that was called BUFFALO, or bit user friendly aid to Logical
> operation.  BUFFALO was the base code that made things happy no matter what
> a naive college student did.  Is there something like this for the PIC
> series?  Where is a good place to look on the web for more information?
> 
> Thanks.
> 
> Tim Raymer
> Timothy A. Raymer               <[email protected]>
> Missouri Department of Health   <[email protected]>
> and Senior Services
> 
> _______________________________________________
> Elecraft mailing list: [email protected]
> You must be a list member to post to the list.
> Postings must be plain text (no HTML or attachments).
> See: http://mailman.qth.net/mailman/listinfo/elecraft
> Elecraft Web Page: http://www.elecraft.com

-- 

http://www.elecraft.com