![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi, I'm about to experiment the code protect option in programming PIC16F84A. Anybody willing to tell me what this means? | |
| |
| | (permalink) | |
| Quote:
But, be VERY AWARE not to do this on UV eraseable PIC's, once code protected they CANNOT BE ERASED. If you don't require code protection of your chip, I would advise not to bother doing it!. | ||
| |
| | (permalink) |
| Hey, I've heard that some chinese programmer can crack the code protected. I'm doubt on it, but what do you think if someone can crack the code? May you explain us the principals of making code protect?
__________________ Falleaf mail@falleaf.net English forums at PIC Vietnam - Vietnamese Electronics forums R&P Trading and Forwarding Co. Ltd. Distributor of Microchip in Vietnam | |
| |
| | (permalink) |
| I would think you would need to cut the core open, with very precise cutting tools, find the CP fuse and rebuild it manually. Why bother, just write your own code...you lazy knob (jk)
__________________ www.winpicprog.co.uk - Great PIC language tutorials. | |
| |
| | (permalink) | ||
| Quote:
As you can imagine, the costs of this are extremely high, and it's likely you would need a number of chips to work on (as the chances of destroying them are high). Quote:
Generally most commercial pre-programmed PIC's would be code protected - a good example would be the PICAxe series, I've never used one, but I presume they are code protected?. I've never heard of anyone having the code to duplicate them - although their extremely low cost would make it pretty pointless anyway. | |||
| |
| | (permalink) |
| ... and code protection affects only for Flash memory, if I am not totally mistaken. PIC's EEPROM memory is not protected. - just a thought. | |
| |
| | (permalink) |
| Hello Nigel, It's been a long time since my last post. I asked this question because, with your help( also with other guys), I'm now beginning to accept orders from my friends about projects using PICs. Some say its better to code protect my programs to prevent others from duplicating it. Anyway, if I get it right, it's ok for PIC16F84A to be code protected, and it can still be reprogrammed. Thank you.... | |
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) |
| Ok, what if you are going to sell the product, and want to protect it. But latter you might want to upgrade the program. Can you password protect??? Kent | |
| |
| | (permalink) | |
| Quote:
Obviously, if the chip could be password protected, it would make it much less secure - passwords can be broken!. | ||
| |
| | (permalink) |
| Yeah, I think we should share the code, except it's a commercial project. However, as you say, nigel, they can hack the chip, thus, they can copy all the source code (hex file) or they only know what it does inside the chip and they have to reprogram? If measuring voltages inside, I think they have to reprogram as identically as what they see inside. But I was told that they can copy the code. So can they do that? May we crack the protection of the chip, even open the chip, but we only crack the protection, not doing as you say that measure all the voltages.
__________________ Falleaf mail@falleaf.net English forums at PIC Vietnam - Vietnamese Electronics forums R&P Trading and Forwarding Co. Ltd. Distributor of Microchip in Vietnam | |
| |
| | (permalink) |
| so, can the chip be protected so others cant read it and be able to reprogram with updated code latter. I've built a device for farmers, and don't want someone to be able to read the chip and make there own. I share code, but when I sell a product...... thanks | |
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) |
| So, like on a 16F872 I will be able to lock the code, then latter rewrite the whole program? The data sheets make it sound like when it is protected you wont be able to reprogram. thanks | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |