The microcontroller is Microchip PIC16C· I have read its code and burnt in new microcontroller having same model and number. But when i. PIC PIC® 16C Microcontroller IC 8-Bit 20MHz 3KB (2K x 12) OTP SPDIP. PIC PIC® 16C Microcontroller IC 8-Bit 20MHz 3KB (2K x 12) OTP SOIC.

Author: Nanris Mikajinn
Country: Nicaragua
Language: English (Spanish)
Genre: Technology
Published (Last): 27 April 2009
Pages: 165
PDF File Size: 7.28 Mb
ePub File Size: 8.7 Mb
ISBN: 451-5-91503-482-5
Downloads: 11793
Price: Free* [*Free Regsitration Required]
Uploader: Shakus

Once the code protect bit is set, it’s impossible to read the program using a chip programmer. You typically set the CP FUSE when you are ready to deploy your solution, not during development or integration testing which is when you found your problem. There are companies that will take your PIC16C57, remove the plastic over the chip itself using solvents, and read out the contents of the flash EEPROM using an electron beam probe to read the charge stored in each bit cell.

how to recover code of PIC16C57

There’s no way to “break” code protection other than what I described. To me it almost looks like you are getting the correct value for the high nibble of each instruction but not the lower 8-bits.

Maybe this is caused by a code protect bit or just something configured incorrectly when the code read was performed Can oic16c57 kindly explain this to me. That method requires special expertise and equipment and is very expensive, but doable commercially.


I have a microcontroller which is installed on PCB.

Maybe this is caused by a code protect bit or just something configured incorrectly when the code read was performed. Is there any pic16f57 encryption which stops to work new microcontroller work properly.

If you are already very experienced with your programmer then you can ignore this paragraph. If this works after having followed the same steps as you used for reading the other chip then I think it would definitely point to the code protect bit being set and not usage of the programmer.

Program the chip and make pid16c57 it works as expected. Can u kindly tell me steps to recover my code.

You can’t “break” code protection that way. You can re-program the chip though with a new program. This is basically power PCB. Comments 10 Comments sorted by Date Added Votes. There might be some error in reading code.

PIC16C57 – Microcontrollers and Processors – Microcontrollers and Processors

You can also try programming a chip from this code dump piic16c57 you just read out. LINUX is just fine. I will try this and let u know. If you don’t have the source then you are out of luck. You can actually render your chip useless if you are not careful with what FUSEs you set. Then use your programmer to read out the code and see if it has the plc16c57 issues that I saw in your previous dump.


All things considered, I can live and thrive without Microsoft products. What else can go wrong. Any comments abt that.

how to recover code of PIC16C57 — Parallax Forums

There’s no “hidden code”. If you try to read protected code using a programmer, the chip doesn’t actually read the flash memory. I’ve heard the only reliable way to hack the protected code is to grind down the chip package until you get to the chip.

Then etch the chip with various chemicals and read the code with a rather good microscope. Might be my seetings of software are not correct.

One can migrate over to that if all else fails. The same guy runs www.

Pid16c57 took a look at your code dump and did notice a few things. I might be wrong but I think the 16CF7 is a 2k-word part and that would probably explain why almost every byte after address 0x is set to 0xFF. If not, you might want to try an experiment to see if you are using the programmer to read out the code correctly.

Can u give me some solution. Program a new chip with some code that you have written yourself to do something simple like blink an LED. I am having Universal Programmer poc16c57.