Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS 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
Sep 14, 2001
1
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?
 
Replies continue below

Recommended for you

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