Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

pic16f876

Status
Not open for further replies.

tim2001

Electrical
Joined
Sep 14, 2001
Messages
1
Location
NL
Hello, i'm using the PIC16F876 and have problems when the PIC is booting up, he can execute the program excellent but the next time he isn't executing, the program written into, it at all, what's the problem and how can i solve this?
 
Hi,

You'll have to give more information.
1. Is it that the program runs ok the first time and then never again until you re program it.

2. Or is it the program runs once and then stops until it is reset or powered down.

Other things to note are are you using a bootloader (allows you to program the chip in situ) or are you programming the chip from scratch. Also are what language/compiler are you using ?.

It is possible for the F87x series to alter the program memory durng program execution. Perhaps you have a piece of rogue code there that is reprogramming the program memory.

Another possibllity is the bootloader (if used) is corrupt.

Another possibility is that you haven't disabled or used the interrupt vector correctly.

Another possiblity is a bad chip, have you tried another ?.

Like I said more info please.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top