<?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>Can&amp;#39;t earse ROM when used sd_flash_page_erase</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80609/can-t-earse-rom-when-used-sd_flash_page_erase</link><description>Hi ALL: 
 - SDK version: nRFSDK 15.3 
 - HW: nRF52832 
 
 I am tried to earse the flash by sg_flash_page_erase(uint32_t page_number), but still failed. My code snippet as follows: 
 
 Then the red led is blink. I get some logs using nrfjprog tools as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Oct 2021 13:05:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80609/can-t-earse-rom-when-used-sd_flash_page_erase" /><item><title>RE: Can't earse ROM when used sd_flash_page_erase</title><link>https://devzone.nordicsemi.com/thread/334172?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 13:05:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a65810f-c6ee-4303-b2f3-44802d28d2d8</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you use the debugger and set a breakpoint at line 20 and confirm that it&amp;#39;s able to reach the breakpoint? I&amp;#39;m not entirely confident that it is based on your observation on the LED blinking.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't earse ROM when used sd_flash_page_erase</title><link>https://devzone.nordicsemi.com/thread/334025?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 03:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4b141c7-fb19-4711-9af4-ac370fc00b9a</guid><dc:creator>hu yang</dc:creator><description>&lt;p&gt;Yes, you are rigth. But&amp;nbsp; the brief of&amp;nbsp;&lt;span&gt;sd_flash_page_erase() said that it returns with erasing success while the sofedevice was disable, i do this at first.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't earse ROM when used sd_flash_page_erase</title><link>https://devzone.nordicsemi.com/thread/333903?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 11:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1468e9b-79f2-421b-bec7-46c37de2bbb4</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;sd_flash_page_erase() is asynchronous, which means that you have to wait for&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___n_r_f___s_o_c___e_n_u_m_s.html#gga2a3d2f55035ee3173aff0c05465fb648a566ef9d8a97914dd30cd152bdfcd50e6"&gt;NRF_EVT_FLASH_OPERATION_SUCCESS&lt;/a&gt;&amp;nbsp;event to be generated for the operation to be completed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't earse ROM when used sd_flash_page_erase</title><link>https://devzone.nordicsemi.com/thread/333837?ContentTypeID=1</link><pubDate>Wed, 13 Oct 2021 07:36:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e71a486a-65f4-4f6a-87eb-61b5ba4ecd24</guid><dc:creator>hu yang</dc:creator><description>&lt;p&gt;I using &lt;em&gt;fds&lt;/em&gt;&amp;nbsp; in my code. And run this code &lt;em&gt;&lt;span&gt;snippet when fds init failed.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>