element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Write protecting your chip….is there any way back from that?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 473 subscribers
  • Views 785 views
  • Users 0 members are here
  • 32bit
  • 8_bit
  • 32_bit
  • microchip
  • 16_bit
  • embedded
  • pic
Related

Write protecting your chip….is there any way back from that?

Catwell
Catwell over 15 years ago

I have an issue. I programmed several PIC 16F788 and 10F222s and tried to use them again, but I couldn't. After several hours of frustration and trying various approaches, it occured to me I may have write protected the chips. The bit was set, after all.

 

Is there any way to come back from a write protect, or is the garbage the ultimate destiny for my chips?

 

Catwell

  • Sign in to reply
  • Cancel
Parents
  • Sunnyzhuo
    Sunnyzhuo over 15 years ago

    I want to konw which programing method you have used? if you used the ICD2 tool to ICSP your chip. you can use a H-Voltage programmer to  programming again after modified the configuration bits, this may restore it,but I can't make sure. Generally, if you set the configuration bit. you can't modify it again. but you can have a try.  you'd better read the relative details of the chip programming in the datasheet .

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • MicrochipRTCfr
    MicrochipRTCfr over 15 years ago in reply to Sunnyzhuo

    Hi,

     

    Whatever configuration bits you program in any PIC, there is always a possibility to erase the FLASH memory.

    Several points you must ensure to be able to erase the chip :

     

    1/ Some PICs ( like the PIC10F222) cannot be erased at low voltage (i.e. < 4.5V) if the code protect bits have been activated.

    A "Bulk erase" need to be performed.

    To check this, download the Programming specification of your PIC10F222.

     

    2/ All standard programmers from Microchip (Pickit3, ICD3, Real-Ice, PM3) do perform Bulk erase

     

    You can get 24/7 free online support from Microchip here : http://support.microchip.com

     

    You can also get professional training on Microchip products and technologies in many countries in the Regional Training Centers (RTC) : http://www.microchip.com/RTC

     

     

    Hope this helps

     

    Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Sunnyzhuo
    Sunnyzhuo over 15 years ago in reply to MicrochipRTCfr

    It's very kind of you to teaching us about the knowledge. it's also very helpful! thank you!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Catwell
    Catwell over 15 years ago in reply to MicrochipRTCfr

    Thank you. Very helpful.

     

    But let me take the question a step further. Let's say I wanted to read the data off of a write protected chip, is there any way to do so?

     

    Catwell

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • MicrochipRTCfr
    MicrochipRTCfr over 15 years ago in reply to Catwell

    Hi,

     

    PICs FLASH memory is protected in order to prevent anybody from reading out its content.

    As a consequence, this obvisouly applies also to the owner of the protected code.image

     

    I suggest you read the General Product Legal Information from Microchip.

     

    In particular the section related to Code Protect :

     

    Code  Protect. Microchip products  meet the specification contained in their particular Microchip Data Sheet.  Microchip believes that its family of products is one of the most secure  families of its kind on the market today, when used in the intended manner and  under normal conditions. There are dishonest and possibly illegal methods used  to breach the code protection feature. All of these methods, to our knowledge,  require using the Microchip products in a manner outside the operating  specifications contained in Microchip’s Data Sheets. Most likely, the person  doing so may be engaged in theft of intellectual property. Microchip is willing  to work with the customer who is concerned about the integrity of their code.  Neither Microchip nor any other semiconductor manufacturer can guarantee the  security of their code. Code protection does not mean that we are guaranteeing  the product as "unbreakable." Code protection is constantly evolving. We at  Microchip are committed to continuously improving the code protection features  of our product. Attempts to break Microchip’s code protection feature may be a  violation of the Digital Millennium Copyright Act. If such acts allow  unauthorized access to your software or other copyrighted work, you may have a  right to sue for relief under that Act.

     

    Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • MicrochipRTCfr
    MicrochipRTCfr over 15 years ago in reply to Catwell

    Hi,

     

    PICs FLASH memory is protected in order to prevent anybody from reading out its content.

    As a consequence, this obvisouly applies also to the owner of the protected code.image

     

    I suggest you read the General Product Legal Information from Microchip.

     

    In particular the section related to Code Protect :

     

    Code  Protect. Microchip products  meet the specification contained in their particular Microchip Data Sheet.  Microchip believes that its family of products is one of the most secure  families of its kind on the market today, when used in the intended manner and  under normal conditions. There are dishonest and possibly illegal methods used  to breach the code protection feature. All of these methods, to our knowledge,  require using the Microchip products in a manner outside the operating  specifications contained in Microchip’s Data Sheets. Most likely, the person  doing so may be engaged in theft of intellectual property. Microchip is willing  to work with the customer who is concerned about the integrity of their code.  Neither Microchip nor any other semiconductor manufacturer can guarantee the  security of their code. Code protection does not mean that we are guaranteeing  the product as "unbreakable." Code protection is constantly evolving. We at  Microchip are committed to continuously improving the code protection features  of our product. Attempts to break Microchip’s code protection feature may be a  violation of the Digital Millennium Copyright Act. If such acts allow  unauthorized access to your software or other copyrighted work, you may have a  right to sue for relief under that Act.

     

    Regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube