Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 14th October 2005, 03:44 AM   #1
Default Problems with PIC16F84A

Hi to all, i'm using PIC16F84A for my project on robots. However, when i tried to program it with a program i wrote it shows me this.

Program Memory or EEPROM Data is protected. Reprogram
the entire part. If "Auto select memory areas and range"
on the Memory Ranges tab of the programmer settings
is enabled, it must be disabeled before proceeding.

As i m new to all the PIC and assembly language area, and my advisor is on long term vacation i have no needs of seeking help other then here. Please advice me on what i can do to solve this problem. Thanks alot.
qty is offline  
Old 14th October 2005, 07:36 AM   #2
Default

It happened because someone has configured the PIC with "code protection" option enabled. This is a config setting that lock the PIC to prevent other people trying to read out the code or data.

All you need to do first is to bulk erase the PIC. Some programming software will do that for you automatically as a selectable option but some require manual selection.

Check the pulldown menu selection or on screen command buttons for one that does "Erase" or "Erase PIC".
__________________
L.Chung
eblc1388 is offline  
Reply

Tags
pic16f84a, problems

Thread Tools
Display Modes




All times are GMT. The time now is 05:20 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker