×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

pic16f876

pic16f876

pic16f876

(OP)
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?

RE: pic16f876

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources