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
 
LinkBack Thread Tools Display Modes
Old 25th April 2007, 01:59 PM   (permalink)
Default Pic16f84a Cp

Hi,

Trying to read a PIC16F84A, but the data shows all 0s and CP gets checked, why is this.
imranshoukat is offline  
Old 25th April 2007, 02:00 PM   (permalink)
Default

Because it's code protected to prevent you reading it!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 25th April 2007, 04:41 PM   (permalink)
Default

yes I know that its code protected, but it was not b4, how can it suddenly become code protected.
imranshoukat is offline  
Old 25th April 2007, 04:56 PM   (permalink)
Default

Because someone wrote to the config fuses and set it?.

Try reading without the PIC plugged in, it should read all 0x3FFF's then.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 25th April 2007, 05:03 PM   (permalink)
Default

ok fine, so how should I unset the config fuses. I am using IC-prog. thanks in advance
imranshoukat is offline  
Old 25th April 2007, 05:23 PM   (permalink)
Default

Quote:
Originally Posted by imranshoukat
ok fine, so how should I unset the config fuses. I am using IC-prog. thanks in advance
You can't 'unset them', you have to erase the entire device.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 26th April 2007, 04:48 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
You can't 'unset them', you have to erase the entire device.
Yeaup, just click on the erase device icon
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Need help 3x4keypad to PIC16F84A microcontroller juan12345 Electronic Projects Design/Ideas/Reviews 2 4th August 2006 01:16 PM
how to control stepper motor using pic16f84a ???? aoamb83 Micro Controllers 8 18th March 2006 09:35 PM
Access to configuration word of PIC16f84a folarinv Micro Controllers 3 19th December 2005 08:43 PM
PIC16F84A INTERFACE WITH MSM6242BRS(PLS HELP ME) Jay Duluguin Micro Controllers 9 18th February 2004 05:20 PM
How to Demux I/O of PIC16f84A? nenayd Micro Controllers 3 22nd October 2003 10:59 PM



All times are GMT. The time now is 06:10 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker