<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>On LPC 2138 boards -SECTORS ERASING PROBLEM</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/24955/on-lpc-2138-boards--sectors-erasing-problem</link><description> 
Hi 

 
I am downloading my application using LPC2000 v2.2.1 on to lpc2138
board with flash 512k.And insted of deleting entire device(flash) i
am selecting particular sectors to be deleted(for example 0-14)but it
is not allowing me to do and it is throwing</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: On LPC 2138 boards -SECTORS ERASING PROBLEM</title><link>https://community.arm.com/thread/135655?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2009 13:10:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:74991d1e-ba74-466b-a7ca-08291ba86d89</guid><dc:creator>brahma reddy</dc:creator><description>&lt;p&gt;&lt;p&gt;
ok and now code read protection is enabled by programming the
flash adress location 0x1fc(sector 0) with value 0x87654321.&lt;/p&gt;

&lt;p&gt;
Who writes this value to flash initially ?&lt;br /&gt;
How do I re program to remove this one permenantly?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On LPC 2138 boards -SECTORS ERASING PROBLEM</title><link>https://community.arm.com/thread/125205?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2009 12:11:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:cef3df3e-4c39-4690-a3b8-41ddc77e0654</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
I expect the difference is that the JTAG interface will use IAP to
erase sectors, while the serial interface uses the ISP monitor.&lt;/p&gt;

&lt;p&gt;
Remember that your application can read sectors even if you have
read protection. The protection is there to stop the ISP interface
from dumping information.&lt;/p&gt;

&lt;p&gt;
To get even higher protection levels, you must also kill the JTAG
interface.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On LPC 2138 boards -SECTORS ERASING PROBLEM</title><link>https://community.arm.com/thread/114623?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2009 11:18:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:029afd3e-c066-4798-849b-cf9647289058</guid><dc:creator>brahma reddy</dc:creator><description>&lt;p&gt;&lt;p&gt;
when i loaded jtag version application and try to delete the
individual sectors it is working fine&lt;/p&gt;

&lt;p&gt;
what might be the differences and why it is working for that not
for non-jtag version?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On LPC 2138 boards -SECTORS ERASING PROBLEM</title><link>https://community.arm.com/thread/125217?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2009 10:09:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9c12da06-518a-422d-ae59-425296304e59</guid><dc:creator>brahma reddy</dc:creator><description>&lt;p&gt;&lt;p&gt;
westermark i tried by erasing all sectors and then tried to erase
individual sectors at that time individual sector erase works
fine,but my requirement is to erase only application stored sectors
from 0-14 sectors and remaining should remain same,please suggest me
how can i acheive this&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On LPC 2138 boards -SECTORS ERASING PROBLEM</title><link>https://community.arm.com/thread/114620?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2009 10:04:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2a2e83eb-492b-4d9a-9bec-8b9469f397e1</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
I think you have to erase the full chip to clear the
read-protect.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On LPC 2138 boards -SECTORS ERASING PROBLEM</title><link>https://community.arm.com/thread/101568?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2009 09:52:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a626f582-9f7f-4cc1-bf58-e7c6a92c9e65</guid><dc:creator>brahma reddy</dc:creator><description>&lt;p&gt;&lt;p&gt;
I found out that read protection is enabled by monitoring serial
port,when it send ISp command to erase individual sector the return
value is 19(CODE_READ_PROTECTION_ENABLED),i am trying to unlock this
through ISP unlock command using docklight which is not working,is
there any option to unlock this through LPC utility instead of
sending individual command from docklight.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On LPC 2138 boards -SECTORS ERASING PROBLEM</title><link>https://community.arm.com/thread/89509?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2009 02:55:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0e447467-2d7d-4ec1-b826-96f60185c078</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Should of course be &amp;quot;read protection&amp;quot;, not &amp;quot;ready protection&amp;quot;
:)&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: On LPC 2138 boards -SECTORS ERASING PROBLEM</title><link>https://community.arm.com/thread/53331?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2009 01:59:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:637efe2f-afa2-4f82-958f-ca414e584c9f</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Do you have an ready protection enabled? I think individual sector
erases will fail in such case, since it isn&amp;#39;t allowed to read back
the state of the individual sectors.&lt;/p&gt;

&lt;p&gt;
At least, I know that FlashMagic complains about adaptive sector
erases with LPC23xx chips if they are protected.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>