<?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>nrfjprog flash write placement when using --reset option</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86859/nrfjprog-flash-write-placement-when-using---reset-option</link><description>Hi All, 
 
 I was trying to upload the latest revision of some code i wish to verify before pushing to production and was using the command line to generate the bootloader settings and mergehex files. For some reason, when i tried to flash the final image</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Aug 2022 12:15:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86859/nrfjprog-flash-write-placement-when-using---reset-option" /><item><title>RE: nrfjprog flash write placement when using --reset option</title><link>https://devzone.nordicsemi.com/thread/384134?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 12:15:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:903db1db-6b83-414a-8d41-5286ac9eef03</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Do you use some kind of dynamic flash storage?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog flash write placement when using --reset option</title><link>https://devzone.nordicsemi.com/thread/368608?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 12:24:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f1401d0-0c7f-4fd8-bf6c-9aaa0aaba650</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have made additional tests and got the same result as you when using Programmer application for memory visualization.&lt;br /&gt;I have reported the issue internally.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog flash write placement when using --reset option</title><link>https://devzone.nordicsemi.com/thread/368557?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 09:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b8fefe2-b8d3-4b25-be98-3026444c9b26</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You might be right as application data is usually added just below the bootloader.&lt;br /&gt;&lt;br /&gt;Regarding the issue, I have tested it myself.&amp;nbsp;&lt;br /&gt;First, I wrote hex file using Programmer application. Afterwards, I used nrfjrog to program the board using the same command that you provided (with --reset option).&lt;br /&gt;I have not seen the problem that you described.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog flash write placement when using --reset option</title><link>https://devzone.nordicsemi.com/thread/368373?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 13:09:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c387db74-fde8-4158-82f3-d54e0d075317</guid><dc:creator>patjshan</dc:creator><description>&lt;p&gt;I&amp;#39;m confused about how exactly this is effecting my issue. To be clear I only used the nrf connect programmer tool to read and capture the screenshots. Writing to the chip was done from the command line using nrfjprog.&lt;/p&gt;
&lt;p&gt;can you explain more in depth how the flash page tags are being affected by the &amp;quot;--reset&amp;quot; option from the command line? when I leave this option out the hex file seems to load just fine but with it my application hangs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog flash write placement when using --reset option</title><link>https://devzone.nordicsemi.com/thread/368088?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 14:32:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca07224c-87d2-4ccf-a89d-109958e01a14</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;In nRF5 SDK, there are&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_fds_format.html&amp;amp;cp=8_1_3_16_2_1&amp;amp;anchor=lib_fds_format_page"&gt;flash page tags&lt;/a&gt; used with Flash Data Storage. Page tags are written when FDS is first initialized and additional data is written on the first boot.&amp;nbsp;&lt;br /&gt;It is recommended to have &amp;quot;Auto reset&amp;quot; ON when using Programmer application, as this prevents CPU from halting.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog flash write placement when using --reset option</title><link>https://devzone.nordicsemi.com/thread/367884?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 15:11:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4751a6d4-f1bc-4deb-b44c-77a94f2ffa0a</guid><dc:creator>patjshan</dc:creator><description>&lt;p&gt;sorry for the delay, for some reason I do not get notification/emails when my post has been responded to. The lower picture (name: nrfjprog-flash-error.png if you open in a new tab) is a screenshot of the flash layout after programming with nrfjprog using the --reset option to reset the chip automatically after programming. As you can see the application data has been offset from its intended position by quite a bit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Alternatively the picture first picture (name: nrfjprog-flash-correct.png) shows the same board but after erasing the flash on the chip and using nrfjprog&amp;nbsp;&lt;strong&gt;without&lt;/strong&gt; the --reset option and you can see the application data is in the correct place just above the softdevice&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog flash write placement when using --reset option</title><link>https://devzone.nordicsemi.com/thread/362966?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 08:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f6b6946-f22a-49ea-98fc-fc299be3e79d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you please provide more information about the pictures - what each one of them represent, which of them are correct and which not?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>