[Elecraft] PIC Stuff
Jerry Hancock
[email protected]
Fri Nov 22 21:02:02 2002
Sounds like the GIE (global interrupts) are enabled. The start of your code
should look something like this:
Org 0
Goto start
; interrupt vector is at 0x04
; unless you branch around it
; or make sure that GIE and other interrupts are
; off, you will occasionally branch to 0x04
org 16
Start: crlf porta
etc
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Timothy A. Raymer
Sent: Friday, November 22, 2002 6:26 AM
To: [email protected]
Subject: [Elecraft] PIC Stuff
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