PIC QUESTION

I am new to programing and was wondering if there is any way to read the code off a PIC chip without damaging it or if you plug it into a programmer will it destroy the data on the chip. Sorry if this is a stupid question any help would be most appreciated

sort by: active | newest | oldest
westfw9 years ago
(note that the code that comes out will be binary machine code. You want to find a PIC "dis-assembler" to help turn it into something more readable (and even then it can be quite a challenge to convert disassembled code into something readable.) The usual reason for reading code out of PIC is to copy it into another PIC (thus the copy protection...))
xlbloodlust (author)  westfw9 years ago
once again thank you for the help I don't want to copy code I just learn better when I have something and know what it does and then can usually figure out how things work books are much harder for me. Many thanks
westfw9 years ago
Code programmed into a PIC can be read out again unless it has been "protected" to prevent such things ("copy protection.") In either case, putting the PIC in a programmer and trying to read the program memory should not damage it. Note that you CAN overwrite the code even on a protected PIC, so it is possible to get things to a point where you don't have the code and don't have a working PIC, either.
xlbloodlust (author)  westfw9 years ago
Thank you so much for your help I just wanted to look at the code but was worried about damaging it thanks alot :]
guyfrom7up9 years ago
I dunno, I'm making a pic programmer soon. bump!