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 14th November 2003, 11:11 AM   (permalink)
Default Read code protected PIC

Is there any way to read the code from a protected pic????

TIA

EJK
KOEZE is offline  
Old 14th November 2003, 05:41 PM   (permalink)
Default

There is no documented way of doing it. And in-fact doing it would be illegal and similar to hacking someone elses computer unless its yours.
__________________
"There is no way to peace, peace is the way!"
kinjalgp is offline  
Old 14th November 2003, 06:40 PM   (permalink)
Default

I don't think it's possible, the pic just refuses to readout the program.
Exo is offline  
Old 14th November 2003, 11:00 PM   (permalink)
Default

ive been told that the only way of doing was having lots of money and lots of pics to burn also. they open the pic with high presicion instruments and with the use of microscopes they try to "rebuild" the burned fuses that keep the code protected.
could be true...
tylerdurden is offline  
Old 17th November 2003, 08:43 AM   (permalink)
Default

i think that you can do it with software. My only guess is to make software that resets the fuses but keeps the data in. But of course this can only be done with the "f" type chips, since they are flashable.
__________________
www.winpicprog.co.uk - Great PIC language tutorials.
pike is offline  
Old 17th November 2003, 12:07 PM   (permalink)
Default

Quote:
Originally Posted by pike
i think that you can do it with software. My only guess is to make software that resets the fuses but keeps the data in. But of course this can only be done with the "f" type chips, since they are flashable.
There used to be a way to break the protection on the old 16C84, which was one of the reasons it was replaced by the 16F84 - as far as I know the F series chips have been pretty secure.
Nigel Goodwin is offline  
Old 17th November 2003, 01:45 PM   (permalink)
Default

microchip is obligated to make their chips secure, otherwise companies making products wouldn't buy their microcontrollers, if they weren't secure... I'm sure that as a built-in hardware function, any time you change the fuses, you erase the program or something like that.
evandude is offline  
Old 17th November 2003, 02:10 PM   (permalink)
Default

Quote:
Originally Posted by evandude
microchip is obligated to make their chips secure, otherwise companies making products wouldn't buy their microcontrollers, if they weren't secure... I'm sure that as a built-in hardware function, any time you change the fuses, you erase the program or something like that.
If you are using an UV eraseable PIC you must not EVER! set the erase protection bit, setting it prevents the chip from ever being erased again.
Nigel Goodwin is offline  
Old 18th November 2003, 12:18 AM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
Quote:
Originally Posted by evandude
microchip is obligated to make their chips secure, otherwise companies making products wouldn't buy their microcontrollers, if they weren't secure... I'm sure that as a built-in hardware function, any time you change the fuses, you erase the program or something like that.
If you are using an UV eraseable PIC you must not EVER! set the erase protection bit, setting it prevents the chip from ever being erased again.
Talking about UV's... When you want to erase a 12C508 UV.. Be sure to first read & save the oscilator calibration value. this value is ereased along with the program and a real pain to come up with a good value again... learned that the hard way :?
Exo is offline  
Old 19th November 2003, 08:50 AM   (permalink)
Default

I figured it would be (near) impossible as it otherwize would not be very costeffective to add a protection that could be cracked. I stumbled upon a guy in another forum that stated he could read code protected pic and another guy that said that it should be possible by writing you own piece of software that could just reset the protection.

Thanks for your insights.

EJK
KOEZE is offline  
Old 19th November 2003, 12:40 PM   (permalink)
Default CP on a flash PIC

I am using IC-Prog with a JDM type programmer.

I was wondering, if you write to a 12F629 with code protection on, can you still erase the PIC and write to it again?

Thanks in advance!
Deagol_the_Dead is offline  
Old 19th November 2003, 10:17 PM   (permalink)
Default

Yes, you can still erease and overwrite it. You just can't read it.
Exo is offline  
Old 6th February 2004, 10:02 PM   (permalink)
Default

I have read a process. It could be done only on PIC16F84 and microchip has redisigned the security option for the new F84's on the market.
Besides you have 99.99% to burn the pic (you need 27V to reset the fuses)
leosedf is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 04:17 AM.


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

eXTReMe Tracker