<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Why I can not erasing the flash ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18390/why-i-can-not-erasing-the-flash</link><description>6.1.4 Erasing a page in code region 1
When erase is enabled, the NVM can be erased page by page using the ERASEPAGE register or the ERASEPCR1
register. After erasing a NVM page all bits in the page are set to &amp;#39;1&amp;#39;. The time it takes to erase a page is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Dec 2016 03:58:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18390/why-i-can-not-erasing-the-flash" /><item><title>RE: Why I can not erasing the flash ?</title><link>https://devzone.nordicsemi.com/thread/70997?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 03:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5ad700b-5973-48e4-8159-6446c5c8c134</guid><dc:creator>ligang</dc:creator><description>&lt;p&gt;Suggestion: I think that NORDIC need give one or two example in nRF51_RM_v3.0.1.pdf.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why I can not erasing the flash ?</title><link>https://devzone.nordicsemi.com/thread/70996?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 01:24:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a018c1ce-ae80-462d-9aeb-a1d056e2d790</guid><dc:creator>ligang</dc:creator><description>&lt;p&gt;The answer is :ERASEPAGE  for example page 10 ,it will be 10*1024=10240, NOT 10.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why I can not erasing the flash ?</title><link>https://devzone.nordicsemi.com/thread/70995?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 01:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:724f7205-1a10-4b8a-a24c-280aa2db2003</guid><dc:creator>ligang</dc:creator><description>&lt;p&gt;Now, I want to erase the other flash , for example no. 254 pages. It is almost at 0x3F800UL.
I can write data at this point, and reset ,or re power on the device , I can read the data at the point flash.
but, I can not erasing the flash at the point, now I must use the nRFgo Studio  to erase all.
and we can write some data to the point in flash (0x3F800UL)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why I can not erasing the flash ?</title><link>https://devzone.nordicsemi.com/thread/70994?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 08:32:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37d3e34c-c8aa-4454-b62b-d4a14e693596</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ficr.html?cp=2_2_0_12#concept_xb5_mpx_vr"&gt;FICR&lt;/a&gt; registers are pre-programmed in factory and cannot be erased by the user. These registers contain chip-specific information and configuration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why I can not erasing the flash ?</title><link>https://devzone.nordicsemi.com/thread/70992?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 07:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80ca7b20-ac7a-47ad-a1a2-02592912514b</guid><dc:creator>ligang</dc:creator><description>&lt;p&gt;So, I think that whether nordic not provide the whole register to the developer.
That&amp;#39;s true reason I can not erasing the flash page.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why I can not erasing the flash ?</title><link>https://devzone.nordicsemi.com/thread/70993?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2016 07:15:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82aaf8bb-2dfb-434a-b1fb-d2da21d37620</guid><dc:creator>ligang</dc:creator><description>&lt;p&gt;7.4 Register Details
Table 14: CODEPAGESIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Id A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Id RW Field Value Id Value Description
A R CODEPAGESIZE Code memory page size
Table 15: CODESIZE
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Id A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Id RW Field Value Id Value Description
A R CODESIZE Code memory size in number of pages
Total code space is: CODEPAGESIZE * CODESIZE
Table 16:
I read the FICR ,and know that
CODEPAGESIZE is 1024
CODESIZE is 256&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>