<?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>about nrf52832 write flash by jlink</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87251/about-nrf52832-write-flash-by-jlink</link><description>hi ，i want write flash by jlink，eg：write val 0xaaffffff to addr 0x76000, only write 4byte. 
 but when i write, err &amp;quot;flash not erase&amp;quot; occurred， 
 I don&amp;#39;t want to erase this flash because there are other data on this page. So I want to ask if there is a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Apr 2022 09:21:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87251/about-nrf52832-write-flash-by-jlink" /><item><title>RE: about nrf52832 write flash by jlink</title><link>https://devzone.nordicsemi.com/thread/364648?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2022 09:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c0aa16c-ad86-462f-a922-c49317b382d9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just as Vasiliy said. You need to erase the&amp;nbsp;flash area before you write to it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to keep the content of the flash page, you would need to read the content out, modify what&amp;nbsp; you want to change and then erase and write the new content back.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you only change from 1 to 0 on the bit, and don&amp;#39;t want to erase you can try using nrfjprog --memwr . This tool won&amp;#39;t require the whole flash page to be erased to write.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about nrf52832 write flash by jlink</title><link>https://devzone.nordicsemi.com/thread/364551?ContentTypeID=1</link><pubDate>Sat, 23 Apr 2022 12:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5679d78-32b4-4175-a8fe-f9c7430a5379</guid><dc:creator>qwertynoon</dc:creator><description>&lt;p&gt;You must to erase page before flashing. While flash nrf52 can set 1 to 0 and can not to set 0 to 1. thats why first you erase page (erase process set 0 to 1) and then you can flash your data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>