Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: frankzyb on August 25, 2006, 07:10:10 PM

Title: Additional secuirity bits can not be cleared
Post by: frankzyb on August 25, 2006, 07:10:10 PM
Hi Andy,
     I tested the writing and reading"Additional secuirity bits"on an LPC935 device by MCB900,which configed with an ICP kit(work with FLASHMAGIS).I find the CWP bit can be set to 1,but can not be clear to 0!Why can do this?
     Thanks!

Title: Re: Additional secuirity bits can not be cleared
Post by: Andy Ayre on August 28, 2006, 07:55:55 AM
To clear the CWP bit:

Go to ISP -> Device Configuration
Click on "Clear Config Protection"

This will only work if you have NOT set the DCCP bit. If you have set the DCCP bit then to clear the CWP bit:

Connect to the device using IAP or a parallel programmer
Send the clear configuration protection IAP command (not sure if this is supported by the ISP to ICP bridge)

See the LPC935 user manual for details.

Title: Re: Additional secuirity bits can not be cleared
Post by: frankzyb on August 28, 2006, 06:21:48 PM
Hi Andy,
    Thanks for your response.Using your solution
Go to ISP -> Device Configuration Click on "Clear Config Protection",I can clear all of the Additional secuirity bits--AWP,CWP and DCCP successfully.
    Thanks!